using System;
using MongoDB.Bson.Serialization.Attributes;
namespace GpsModels
{
[BsonIgnoreExtraElements]
public class GpsRealTimeModel
{
///
///
///
public long VehicleId { get; set; }
///
///
///
public string VehicleCode { get; set; }
///
///
///
public string VehiclePlate { get; set; }
///
///
///
public long VehicleDriver { get; set; }
///
///
///
public string DriverPhone { get; set; }
///
///
///
public int Status { get; set; }
///
///
///
public int GpsState { get; set; }
///
///
///
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
public DateTime GpsTime { get; set; }
///
///
///
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
public DateTime RecTime { get; set; }
///
///
///
public decimal Longitude { get; set; }
///
///
///
public decimal Latitude { get; set; }
///
///
///
public int Direct { get; set; }
///
///
///
public int Speed { get; set; }
///
///
///
public string DurationTime { get; set; }
///
///
///
public int Acc { get; set; }
///
///
///
public string AccDurationTime { get; set; }
///
///
///
public int Work { get; set; }
///
///
///
public string WorkDurationTime { get; set; }
///
///
///
public string Address { get; set; }
///
///
///
public string SimNo { get; set; }
///
///
///
public long CompanyId { get; set; }
///
///
///
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
public DateTime ModifiedTime { get; set; }
///
///
///
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
public DateTime CreatedTime { get; set; }
///
/// Gps信号模式 1 GPS,2 基站
///
public int GpsMode { get; set; }
///
/// 欠压
///
public int GpsAlert { get; set; }
///
/// 掉电
///
public int Useing { get; set; }
}
}