您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

125 行
3.4KB

  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. }