挡位控制状态反馈.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 = "6ea";
  11. public 挡位控制状态反馈()
  12. {
  13. }
  14. /// <summary>
  15. /// 换挡完成类型
  16. /// </summary>
  17. [Data(BitStart = 0 , BitLength = 2, DataType = "binary", Description = "", Sequence = 1)]
  18. public string 换挡完成类型 { get; set; }
  19. /// <summary>
  20. /// 机器人控制的挡位位置
  21. /// </summary>
  22. [Data(BitStart = 4 , BitLength = 5 ,DataType = "binary", Description = "", Sequence = 2)]
  23. public string 机器人控制的挡位位置 { get; set; }
  24. /// <summary>
  25. /// 实际换挡臂Y电机转速
  26. /// </summary>
  27. [Data(BitStart = 10, BitLength =11, DataType = "binary", Description = "", Sequence = 3)]
  28. public string 实际换挡臂Y电机转速 { get; set; }
  29. /// <summary>
  30. /// 实际换挡臂X电机转速
  31. /// </summary>
  32. [Data(BitStart = 22, BitLength =11, DataType = "binary", Description = "", Sequence = 4)]
  33. public string 实际换挡臂X电机转速 { get; set; }
  34. /// <summary>
  35. /// 计算换挡臂Y电机转矩
  36. /// </summary>
  37. [Data(BitStart = 35, BitLength =5 , DataType = "binary", Description = "", Sequence = 5)]
  38. public string 计算换挡臂Y电机转矩 { get; set; }
  39. /// <summary>
  40. /// 计算换挡臂X电机转矩
  41. /// </summary>
  42. [Data(BitStart = 48, BitLength = 5, DataType = "binary", Description = "", Sequence = 6)]
  43. public string 计算换挡臂X电机转矩 { get; set; }
  44. /// <summary>
  45. /// 实际换挡臂Y电机转角
  46. /// </summary>
  47. [Data(BitStart = 54, BitLength = 9, DataType = "binary", Description = "", Sequence = 7)]
  48. public string 实际换挡臂Y电机转角 { get; set; }
  49. /// <summary>
  50. /// 实际换挡臂X电机转角
  51. /// </summary>
  52. [Data(BitStart = 55, BitLength = 9, DataType = "binary", Description = "", Sequence = 8)]
  53. public string 实际换挡臂X电机转角 { get; set; }
  54. }
  55. }