挡位执行机构控制命令.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 = "5f6";
  11. public string GetId
  12. {
  13. get { return OperationCode; }
  14. }
  15. public 挡位执行机构控制命令()
  16. {
  17. }
  18. /// <summary>
  19. /// 离合踏板速度控制请求
  20. /// </summary>
  21. [Data(BitStart = 24, BitLength = 8, DataType = "binary", Description = "", Sequence = 1)]
  22. public string 离合踏板速度控制请求 { get; set; }
  23. /// <summary>
  24. /// 离合踏板位置控制请求
  25. /// </summary>
  26. [Data(BitStart = 38, BitLength = 10, DataType = "binary", Description = "", Sequence = 2)]
  27. public string 离合踏板位置控制请求 { get; set; }
  28. /// <summary>
  29. /// 换挡模式请求
  30. /// </summary>
  31. [Data(BitStart = 48, BitLength = 2, DataType = "binary", Description = "", Sequence = 3)]
  32. public string 换挡模式请求 { get; set; }
  33. /// <summary>
  34. /// 挡位控制请求
  35. /// </summary>
  36. [Data(BitStart = 56, BitLength = 5, DataType = "binary", Description = "", Sequence = 4)]
  37. public string 挡位控制请求 { get; set; }
  38. }
  39. }