ControlInstruction.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace NEIntelligentControl2.Models.Windturbine
  7. {
  8. /// <summary>
  9. /// 控制指令
  10. /// </summary>
  11. public class ControlInstruction
  12. {
  13. /// <summary>
  14. /// 风机编号
  15. /// </summary>
  16. public string WindturbineId { get; set; }
  17. /// <summary>
  18. /// 场站编号
  19. /// </summary>
  20. public string StationId { get; set; }
  21. /// <summary>
  22. /// 项目编号
  23. /// </summary>
  24. public string ProjectId { get; set; }
  25. /// <summary>
  26. /// 风机型号
  27. /// </summary>
  28. public string ModelId { get; set; }
  29. /// <summary>
  30. /// 操作
  31. /// </summary>
  32. public OperateStyle ControlType { get; set; }
  33. /// <summary>
  34. /// 挂牌类型
  35. /// </summary>
  36. public HungType LockType { get; set; }
  37. /// <summary>
  38. /// 自定义挂牌内容
  39. /// </summary>
  40. public string LockValue { get; set; }
  41. /// <summary>
  42. /// 操作是否成功
  43. /// </summary>
  44. public bool IsSuccess { get; set; }
  45. /// <summary>
  46. /// 错误码
  47. /// </summary>
  48. public string ErrorCode { get; set; }
  49. }
  50. }