Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

DevicePositionStatus.cs 3.4KB

7 miesięcy temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace GpsCardGatewayPosition.Model.Cache
  7. {
  8. public class DevicePositionStatus
  9. {
  10. /// <summary>
  11. /// 最后下发实时定位命令的时间
  12. /// </summary>
  13. public DateTime? SendGetLocationTime { get; set; }
  14. /// <summary>
  15. /// 最后推送定位下载命令的时间
  16. /// </summary>
  17. public DateTime? SendLocationDownloadTime { get; set; }
  18. /// <summary>
  19. /// 最后一次成功定位的数据缓存
  20. /// </summary>
  21. public PositionCache LastPosition { get; set; }
  22. public class PositionCache
  23. {
  24. /// <summary>
  25. /// 缓存的上一个可信点的高德经度
  26. /// </summary>
  27. public decimal GaodeLon { get; set; }
  28. /// <summary>
  29. /// 缓存的上一个可信点的高德纬度
  30. /// </summary>
  31. public decimal GaodeLat { get; set; }
  32. /// <summary>
  33. /// 百度经度
  34. /// </summary>
  35. public decimal BaiduLon { get; set; }
  36. /// <summary>
  37. /// 百度纬度
  38. /// </summary>
  39. public decimal BaiduLat { get; set; }
  40. /// <summary>
  41. /// 原始经度
  42. /// </summary>
  43. public decimal OriginalLon { get; set; }
  44. /// <summary>
  45. /// 原始纬度
  46. /// </summary>
  47. public decimal OriginalLat { get; set; }
  48. /// <summary>
  49. /// 地址
  50. /// </summary>
  51. public string Address { get; set; }
  52. /// <summary>
  53. /// 处理步数信息
  54. /// </summary>
  55. public int? Steps { get; set; }
  56. /// <summary>
  57. /// 更新时间
  58. /// </summary>
  59. public DateTime UpdateTime { get; set; }
  60. /// <summary>
  61. /// 原始有效定位时间
  62. /// 该字段用于填写覆盖LBS定位数据的有效定位数据的定位时间
  63. /// </summary>
  64. public DateTime? OriginalTime { get; set; }
  65. /// <summary>
  66. /// 过期时间
  67. /// </summary>
  68. public DateTime ExpiredTime { get; set; }
  69. /// <summary>
  70. /// 定位类型
  71. /// </summary>
  72. public int LocationType { get; set; }
  73. /// <summary>
  74. /// 城市行政编码
  75. /// </summary>
  76. public string CityCode { get; set; }
  77. /// <summary>
  78. /// 定位半径
  79. /// </summary>
  80. public int Radius { get; set; }
  81. /// <summary>
  82. /// 设备上报消息IOT的时间戳
  83. /// </summary>
  84. public long SentTicks { get; set; } = 0;
  85. /// <summary>
  86. /// 省名
  87. /// </summary>
  88. public string Province { get; set; }
  89. /// <summary>
  90. /// 市名
  91. /// </summary>
  92. public string City { get; set; }
  93. /// <summary>
  94. /// 区县名
  95. /// </summary>
  96. public string District { get; set; }
  97. }
  98. /// <summary>
  99. /// 最后一次成功定位的请求参数
  100. /// </summary>
  101. public object RequestPosition { get; set; }
  102. public string Remarks { get; set; } = "_GW_";
  103. }
  104. }