电子围栏推送服务
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.

74 line
2.1KB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace TelpoPush.Fence.Worker.Models.CacheTemplates
  7. {
  8. public class DeviceFenceModel
  9. {
  10. public string imei { get; set; }
  11. public string deviceId { get; set; }
  12. public int count { get; set; }
  13. public List<DeviceFenceList> fenceList { get; set; }
  14. }
  15. public class DeviceFenceList
  16. {
  17. public string geofenceId { get; set; }
  18. public string geofenceName { get; set; }
  19. public List<string> WifiInfo { get; set; }
  20. public int fenceType { get; set; }
  21. public int alarmType { get; set; }
  22. public string address { get; set; }
  23. public List<pointList> pointList { get; set; }
  24. public bool isActive { get; set; }
  25. public int appType { get; set; }
  26. }
  27. public class DeviceFenceModels
  28. {
  29. public string imei { get; set; }
  30. public string deviceId { get; set; }
  31. public string geofenceId { get; set; }
  32. public string geofenceName { get; set; }
  33. public int fenceType { get; set; }
  34. public int alarmType { get; set; }
  35. public int radius { get; set; }
  36. public decimal latitude { get; set; }
  37. public decimal longitude { get; set; }
  38. public string address { get; set; }
  39. public bool isActive { get; set; }
  40. public int appType { get; set; }
  41. }
  42. public class pointList
  43. {
  44. public int index { get; set; }
  45. public int radius { get; set; }
  46. public decimal latitude { get; set; }
  47. public decimal longitude { get; set; }
  48. }
  49. public class DeviceTime
  50. {
  51. public string imei { get; set; }
  52. public DateTime dt { get; set; }
  53. }
  54. public class LastStatusInfo
  55. {
  56. public string imei { get; set; }
  57. public string fenceId { get; set; }
  58. public string fenceInfo { get; set; }
  59. public int typeId { get; set; }
  60. public bool isInside { get; set; }
  61. public string typeInfo { get; set; }
  62. public string address { get; set; }
  63. public string dt { get; set; }
  64. }
  65. }