设备管理.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SIASUN.Autopilot.Device.Message
  7. {
  8. public class 设备管理
  9. {
  10. public const string OperationCode = "5f9";
  11. public 设备管理()
  12. {
  13. }
  14. /// <summary>
  15. /// 故障清除
  16. /// </summary>
  17. [Data(BitStart = 8, BitLength = 1, DataType = "binary", Description = "", Sequence = 1)]
  18. public string 故障清除 { get; set; }
  19. /// <summary>
  20. /// 档位Y电机初始化
  21. /// </summary>
  22. [Data(BitStart = 16, BitLength = 1, DataType = "binary", Description = "", Sequence = 2)]
  23. public string 档位Y电机初始化 { get; set; }
  24. /// <summary>
  25. /// 档位X电机初始化
  26. /// </summary>
  27. [Data(BitStart = 24, BitLength = 1, DataType = "binary", Description = "", Sequence = 3)]
  28. public string 档位X电机初始化 { get; set; }
  29. /// <summary>
  30. /// 转向电机初始化
  31. /// </summary>
  32. [Data(BitStart = 32, BitLength = 1, DataType = "binary", Description = "", Sequence = 4)]
  33. public string 转向电机初始化 { get; set; }
  34. /// <summary>
  35. /// 离合电机初始化
  36. /// </summary>
  37. [Data(BitStart = 40, BitLength = 1, DataType = "binary", Description = "", Sequence = 5)]
  38. public string 离合电机初始化 { get; set; }
  39. /// <summary>
  40. /// 制动电机初始化
  41. /// </summary>
  42. [Data(BitStart = 48, BitLength = 1, DataType = "binary", Description = "", Sequence = 6)]
  43. public string 制动电机初始化 { get; set; }
  44. /// <summary>
  45. /// 油门电机初始化
  46. /// </summary>
  47. [Data(BitStart = 56, BitLength = 1, DataType = "binary", Description = "", Sequence = 7)]
  48. public string 油门电机初始化 { get; set; }
  49. }
  50. }