61 lines
1.7 KiB
61 lines
1.7 KiB
using System;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Toogps.Mongo.Repository
|
|
{
|
|
[BsonIgnoreExtraElements]
|
|
public class CompanyCarGps
|
|
{
|
|
|
|
/// <summary>
|
|
/// 车辆ID(来自派工易系统生成)
|
|
/// </summary>
|
|
public int VehicleId { get; set; }
|
|
/// <summary>
|
|
/// 公司ID(来至派工易系统生成)
|
|
/// </summary>
|
|
public int CompanyId { get; set; }
|
|
/// <summary>
|
|
/// SIM卡号
|
|
/// </summary>
|
|
public string SimNumber { get; set; }
|
|
/// <summary>
|
|
/// 车牌号
|
|
/// </summary>
|
|
public string VehiclePlate { get; set; }
|
|
/// <summary>
|
|
/// 车辆编号
|
|
/// </summary>
|
|
public string VehicleCode { get; set; }
|
|
/// <summary>
|
|
/// 经度
|
|
/// </summary>
|
|
public decimal Longitude { get; set; }
|
|
/// <summary>
|
|
/// 纬度
|
|
/// </summary>
|
|
public decimal Latitude { get; set; }
|
|
/// <summary>
|
|
/// 速度
|
|
/// </summary>
|
|
public int speed { get; set; }
|
|
/// <summary>
|
|
/// 方向
|
|
/// </summary>
|
|
public int Direct { get; set; }
|
|
/// <summary>
|
|
/// Acc状态(1开,0关)
|
|
/// </summary>
|
|
public int GPSstate { get; set; }
|
|
/// <summary>
|
|
/// Gps数据产生时间
|
|
/// </summary>
|
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
|
public DateTime GpsTime { get; set; }
|
|
/// <summary>
|
|
/// Gps服务器接收时间
|
|
/// </summary>
|
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
|
public DateTime RecTime { get; set; }
|
|
}
|
|
}
|
|
|