You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
3.1 KiB
131 lines
3.1 KiB
2 years ago
|
using System;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
namespace GpsModels
|
||
|
{
|
||
|
[BsonIgnoreExtraElements]
|
||
|
public class GpsRealTimeModel
|
||
|
{
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public long VehicleId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string VehicleCode { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string VehiclePlate { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public long VehicleDriver { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string DriverPhone { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public int Status { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public int GpsState { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime GpsTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime RecTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public decimal Longitude { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public decimal Latitude { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public int Direct { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public int Speed { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string DurationTime { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public int Acc { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string AccDurationTime { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public int Work { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string WorkDurationTime { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string Address { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public string SimNo { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public long CompanyId { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime ModifiedTime { get; set; }
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime CreatedTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gps信号模式 1 GPS,2 基站
|
||
|
/// </summary>
|
||
|
public int GpsMode { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 欠压
|
||
|
/// </summary>
|
||
|
public int GpsAlert { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 掉电
|
||
|
/// </summary>
|
||
|
public int Useing { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|