踏板执行机构控制命令.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 = "5f4";
  11. public 踏板执行机构控制命令()
  12. {
  13. }
  14. public string GetId
  15. {
  16. get { return OperationCode; }
  17. }
  18. /// <summary>
  19. /// 制动踏板力控制请求
  20. /// </summary>
  21. [Data(BitStart = 7, BitLength = 10, DataType = "binary", Description = "", Sequence = 1)]
  22. public string 制动踏板力控制请求 { get; set; }
  23. /// <summary>
  24. /// 制动踏板速度控制请求
  25. /// </summary>
  26. [Data(BitStart = 16, BitLength = 8, DataType = "binary", Description = "", Sequence = 2)]
  27. public string 制动踏板速度控制请求 { get; set; }
  28. /// <summary>
  29. /// 制动踏板控制模式请求
  30. /// </summary>
  31. [Data(BitStart = 24, BitLength = 2, DataType = "binary", Description = "", Sequence = 3)]
  32. public string 制动踏板控制模式请求 { get; set; }
  33. /// <summary>
  34. /// 制动踏板位置控制请求
  35. /// </summary>
  36. [Data(BitStart = 30, BitLength = 10, DataType = "binary", Description = "", Sequence = 4)]
  37. public string 制动踏板位置控制请求 { get; set; }
  38. /// <summary>
  39. /// 油门踏板速度控制请求
  40. /// </summary>
  41. [Data(BitStart = 40, BitLength = 8, DataType = "binary", Description = "", Sequence = 5)]
  42. public string 油门踏板速度控制请求 { get; set; }
  43. /// <summary>
  44. /// 油门踏板位置控制请求
  45. /// </summary>
  46. [Data(BitStart = 54, BitLength = 10, DataType = "binary", Description = "", Sequence = 6)]
  47. public string 油门踏板位置控制请求 { get; set; }
  48. }
  49. }