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

62 行
1.2KB

  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.Enum
  7. {
  8. ///// <summary>
  9. ///// 报警类型
  10. ///// </summary>
  11. //public enum AlarmType
  12. //{
  13. // Online = 0,
  14. // Offline = 9,
  15. // SOS = 1,//求救
  16. // LowBattery = 2,//电量
  17. // Entry = 3, //进围栏
  18. // Exit = 4, //出围栏
  19. // PowerOff = 5//关机报警
  20. //}
  21. /// <summary>
  22. /// 报警类型
  23. /// </summary>
  24. public enum AlarmType
  25. {
  26. /// <summary>
  27. /// 设备上线
  28. /// </summary>
  29. Online = 0,
  30. /// <summary>
  31. /// 设备离线
  32. /// </summary>
  33. Offline = 9,
  34. /// <summary>
  35. /// 求救
  36. /// </summary>
  37. SosAlarm = 1,
  38. /// <summary>
  39. /// 设备低电量
  40. /// </summary>
  41. LowBatteryAlarm = 2,
  42. /// <summary>
  43. /// 进入围栏
  44. /// </summary>
  45. EnterFenceAlarm = 3,
  46. /// <summary>
  47. /// 离开围栏
  48. /// </summary>
  49. LeaveFenceAlarm = 4,
  50. /// <summary>
  51. /// 设备关机
  52. /// </summary>
  53. PoweroffAlarm = 5,
  54. }
  55. }