车辆状态1.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 车辆状态1
  9. {
  10. public const string OperationCode = "6f1";
  11. public 车辆状态1()
  12. {
  13. }
  14. /// <summary>
  15. /// 车辆手刹状态
  16. /// </summary>
  17. [Data(BitStart = 0, BitLength = 1, DataType = "binary", Description = "", Sequence = 1)]
  18. public string 车辆手刹状态 { get; set; }
  19. /// <summary>
  20. /// 实际车辆启动状态
  21. /// </summary>
  22. [Data(BitStart = 3, BitLength = 2, DataType = "binary", Description = "", Sequence = 2)]
  23. public string 实际车辆启动状态 { get; set; }
  24. /// <summary>
  25. /// 实际挡位
  26. /// </summary>
  27. [Data(BitStart = 8, BitLength = 5, DataType = "binary", Description = "", Sequence = 3)]
  28. public string 实际挡位 { get; set; }
  29. /// <summary>
  30. /// 挡位模式
  31. /// </summary>
  32. [Data(BitStart = 14, BitLength = 2, DataType = "binary", Description = "", Sequence = 4)]
  33. public string 挡位模式 { get; set; }
  34. /// <summary>
  35. /// 手动挡目标挡位
  36. /// </summary>
  37. [Data(BitStart = 16, BitLength = 4, DataType = "binary", Description = "", Sequence = 5)]
  38. public string 手动挡目标挡位 { get; set; }
  39. /// <summary>
  40. /// 实际离合器踏板行程
  41. /// </summary>
  42. [Data(BitStart = 22, BitLength = 10, DataType = "binary", Description = "", Sequence = 6)]
  43. public string 实际离合器踏板行程 { get; set; }
  44. /// <summary>
  45. /// 实际制动踏板行程
  46. /// </summary>
  47. [Data(BitStart = 38, BitLength = 10, DataType = "binary", Description = "", Sequence = 7)]
  48. public string 实际制动踏板行程 { get; set; }
  49. /// <summary>
  50. /// 实际油门踏板行程
  51. /// </summary>
  52. [Data(BitStart = 54, BitLength = 10, DataType = "binary", Description = "", Sequence = 8)]
  53. public string 实际油门踏板行程 { get; set; }
  54. }
  55. }