转向执行机构控制命令.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 = "5f5";
  11. public string GetId
  12. {
  13. get { return OperationCode; }
  14. }
  15. public 转向执行机构控制命令()
  16. {
  17. }
  18. /// <summary>
  19. /// 方向盘转矩控制请求
  20. /// </summary>
  21. [Data(BitStart = 2, BitLength = 14, DataType = "binary", Description = "", Sequence = 1)]
  22. public string 方向盘转矩控制请求 { get; set; }
  23. /// <summary>
  24. /// 方向盘转速控制请求
  25. /// </summary>
  26. [Data(BitStart = 21, BitLength = 19, DataType = "binary", Description = "", Sequence = 2)]
  27. public string 方向盘转速控制请求 { get; set; }
  28. /// <summary>
  29. /// 方向盘控制模式请求
  30. /// </summary>
  31. [Data(BitStart = 40, BitLength = 2, DataType = "binary", Description = "", Sequence = 3)]
  32. public string 方向盘控制模式请求 { get; set; }
  33. /// <summary>
  34. /// 方向盘转角控制请求
  35. /// </summary>
  36. [Data(BitStart = 45, BitLength = 19, DataType = "binary", Description = "", Sequence = 4)]
  37. public string 方向盘转角控制请求 { get; set; }
  38. }
  39. }