MyEnum.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.Serialization;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace GDNXFD.Data.Model
  8. {
  9. [DataContract]
  10. public enum HungType
  11. {
  12. /// <summary>
  13. /// 正常(未挂牌)
  14. /// </summary>
  15. [EnumMember]
  16. UnLock = 0,
  17. /// <summary>
  18. /// 场内受累检修
  19. /// </summary>
  20. [EnumMember]
  21. StationCheckLock = 2,
  22. /// <summary>
  23. /// 场内受累故障
  24. /// </summary>
  25. [EnumMember]
  26. StationFaulLock = 3,
  27. /// <summary>
  28. /// 场外受累电网
  29. /// </summary>
  30. [EnumMember]
  31. StationPowerLineLock = 4,
  32. /// <summary>
  33. /// 场外受累天气
  34. /// </summary>
  35. [EnumMember]
  36. StationWeatherLock = 5,
  37. /// <summary>
  38. /// 故障检修
  39. /// </summary>
  40. [EnumMember]
  41. FaultLock = 7,
  42. /// <summary>
  43. /// 检修
  44. /// </summary>
  45. [EnumMember]
  46. CheckLock = 8,
  47. /// <summary>
  48. /// 未知
  49. /// </summary>
  50. [EnumMember]
  51. UnKnow = 9
  52. }
  53. /// <summary>
  54. /// 风机状态 //0-停机、 1-上电、2-待机、3-启动、4-并网、5-故障、6-维护、 7-离线
  55. /// </summary>
  56. [DataContract]
  57. public enum WStatus
  58. {
  59. /// <summary>
  60. /// 停机
  61. /// </summary>
  62. [EnumMember]
  63. Stop = 0,
  64. /// <summary>
  65. /// 上电
  66. /// </summary>
  67. [EnumMember]
  68. OnPower = 1,
  69. /// <summary>
  70. /// 待机
  71. /// </summary>
  72. [EnumMember]
  73. Standby = 2,
  74. /// <summary>
  75. /// 启动
  76. /// </summary>
  77. [EnumMember]
  78. Start = 3,
  79. /// <summary>
  80. /// 并网
  81. /// </summary>
  82. [EnumMember]
  83. Online = 4,
  84. /// <summary>
  85. /// 故障
  86. /// </summary>
  87. [EnumMember]
  88. Fault = 5,
  89. /// <summary>
  90. /// 维护
  91. /// </summary>
  92. [EnumMember]
  93. Maintain = 6,
  94. /// <summary>
  95. /// 离线
  96. /// </summary>
  97. [EnumMember]
  98. Offline = 7,
  99. /// <summary>
  100. /// 未知
  101. /// </summary>
  102. [EnumMember]
  103. UnKnow = 8
  104. }
  105. [DataContract]
  106. public enum OperateStyle
  107. {
  108. [EnumMember]
  109. Nothing =0,
  110. /// <summary>
  111. /// 启动
  112. /// </summary>
  113. [EnumMember]
  114. Start = 1,
  115. /// <summary>
  116. /// 停机
  117. /// </summary>
  118. [EnumMember]
  119. Stop = 2,
  120. /// <summary>
  121. /// 限转速
  122. /// </summary>
  123. [EnumMember]
  124. LimitSpeed = 3,
  125. /// <summary>
  126. /// 限功率
  127. /// </summary>
  128. [EnumMember]
  129. LimitPower = 4,
  130. /// <summary>
  131. /// 复位
  132. /// </summary>
  133. [EnumMember]
  134. Reset = 5,
  135. /// <summary>
  136. /// 维护
  137. /// </summary>
  138. [EnumMember]
  139. Maintain = 6,
  140. /// <summary>
  141. /// 恢复满发
  142. /// </summary>
  143. [EnumMember]
  144. ResetMax = 7,
  145. /// <summary>
  146. /// 取消维护
  147. /// </summary>
  148. [EnumMember]
  149. UnMaintain = 8,
  150. /// <summary>
  151. /// 挂牌
  152. /// </summary>
  153. [EnumMember]
  154. Lock = 9,
  155. /// <summary>
  156. /// 取消挂牌
  157. /// </summary>
  158. [EnumMember]
  159. UnLock = 10,
  160. /// <summary>
  161. /// 未知
  162. /// </summary>
  163. [EnumMember]
  164. Unknow = 11
  165. }
  166. /// <summary>
  167. /// 计算来源
  168. /// </summary>
  169. [DataContract]
  170. public enum CalculationOriginType
  171. {
  172. [EnumMember]
  173. Unknow = 0,
  174. /// <summary>
  175. /// 实时状态计算
  176. /// </summary>
  177. [EnumMember]
  178. RealTimeStatus = 1,
  179. /// <summary>
  180. /// 报警
  181. /// </summary>
  182. [EnumMember]
  183. Alarm = 2,
  184. /// <summary>
  185. /// 风功率预测
  186. /// </summary>
  187. [EnumMember]
  188. PowerForecast =3,
  189. /// <summary>
  190. /// 健康管理
  191. /// </summary>
  192. [EnumMember]
  193. HealthyManage = 4,
  194. }
  195. }