using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GpsCardGatewayPosition.Model.Cache { public class DevicePositionStatus { /// /// 最后下发实时定位命令的时间 /// public DateTime? SendGetLocationTime { get; set; } /// /// 最后推送定位下载命令的时间 /// public DateTime? SendLocationDownloadTime { get; set; } /// /// 最后一次成功定位的数据缓存 /// public PositionCache LastPosition { get; set; } public class PositionCache { /// /// 缓存的上一个可信点的高德经度 /// public decimal GaodeLon { get; set; } /// /// 缓存的上一个可信点的高德纬度 /// public decimal GaodeLat { get; set; } /// /// 百度经度 /// public decimal BaiduLon { get; set; } /// /// 百度纬度 /// public decimal BaiduLat { get; set; } /// /// 原始经度 /// public decimal OriginalLon { get; set; } /// /// 原始纬度 /// public decimal OriginalLat { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 处理步数信息 /// public int? Steps { get; set; } /// /// 更新时间 /// public DateTime UpdateTime { get; set; } /// /// 原始有效定位时间 /// 该字段用于填写覆盖LBS定位数据的有效定位数据的定位时间 /// public DateTime? OriginalTime { get; set; } /// /// 过期时间 /// public DateTime ExpiredTime { get; set; } /// /// 定位类型 /// public int LocationType { get; set; } /// /// 城市行政编码 /// public string CityCode { get; set; } /// /// 定位半径 /// public int Radius { get; set; } /// /// 设备上报消息IOT的时间戳 /// public long SentTicks { get; set; } = 0; /// /// 省名 /// public string Province { get; set; } /// /// 市名 /// public string City { get; set; } /// /// 区县名 /// public string District { get; set; } } /// /// 最后一次成功定位的请求参数 /// public object RequestPosition { get; set; } public string Remarks { get; set; } = "_GW_"; } }