CommonEnum.cs 986 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Ropin.Inspection.Common
  8. {
  9. public class TsysLicenseType
  10. {
  11. public const string OPERATION_BASE = "OPERATION_BASE";
  12. public const string OWNER_BASE = "OWNER_BASE";
  13. public const string REGULATOR_BASE = "REGULATOR_BASE";
  14. public const string SYSTEM = "SYSTEM";
  15. }
  16. public enum DevStatusEnum :int
  17. {
  18. [Description("禁用")]
  19. Delete = 0,
  20. [Description("分配、业主已购买")]
  21. Share = 1,
  22. [Description("启运(在线)")]
  23. Start =2,
  24. [Description("停运(离线)")]
  25. Stop = 3,
  26. [Description("报警")]
  27. Alarm =4,
  28. [Description("报废")]
  29. Discard = 5,
  30. }
  31. public class Dict
  32. {
  33. public Dictionary<string, string> devMessageType = new Dictionary<string, string>();
  34. }
  35. }