CommonEnum.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OpenSEMI.ClientBase
  7. {
  8. public enum WaferStatus
  9. {
  10. Empty = 0,
  11. Normal = 1,
  12. Crossed = 2,
  13. Double = 3,
  14. Unknown = 4,
  15. Dummy = 5
  16. }
  17. [Flags]
  18. public enum DialogButton
  19. {
  20. Yes = 1,
  21. OK = 2,
  22. Continue = 4,
  23. Transfer = 8,
  24. Restart = 16,
  25. No = 32,
  26. Cancel = 64
  27. }
  28. public enum DialogType
  29. {
  30. INFO,
  31. WARNING,
  32. ERROR,
  33. CONFIRM
  34. }
  35. public enum ServiceState
  36. {
  37. Normal,
  38. Shutdown,
  39. Fault,
  40. Disconnect
  41. }
  42. public enum UserMode
  43. {
  44. None,
  45. Normal,
  46. Lock,
  47. Logoff,
  48. Exit,
  49. Shutdown,
  50. Breakdown
  51. }
  52. public enum PageID
  53. {
  54. PAGE1,
  55. PAGE2,
  56. PAGE3,
  57. MAX_PAGE
  58. }
  59. public enum AuthorizeResult
  60. {
  61. None = -1,
  62. WrongPwd = 1,
  63. HasLogin = 2,
  64. NoMatchRole = 3,
  65. NoSession = 4,
  66. NoMatchUser = 5
  67. }
  68. public enum MenuPermissionEnum
  69. {
  70. MP_NONE = 1,
  71. MP_READ = 2,
  72. MP_READ_WRITE = 3
  73. }
  74. /// <summary>
  75. /// Process control mode
  76. /// </summary>
  77. public enum CtrlMode
  78. {
  79. VIEW,
  80. EDIT
  81. }
  82. public enum ModuleID
  83. {
  84. LP1 = 0,
  85. LP2,
  86. LP3,
  87. LP4,
  88. PM1,
  89. PM2,
  90. PM3,
  91. PM4,
  92. Buffer1,
  93. Buffer2,
  94. Buffer3,
  95. Buffer4
  96. }
  97. }