学习模式请求确认.cs 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 = "5f3";
  11. public 学习模式请求确认()
  12. {
  13. }
  14. public string GetId
  15. {
  16. get { return OperationCode; }
  17. }
  18. /// <summary>
  19. /// 档位自动学习完成确认
  20. /// </summary>
  21. [Data(BitStart = 16, BitLength = 1, DataType = "binary", Description = "", Sequence = 1)]
  22. public string 档位自动学习完成确认 { get; set; }
  23. /// <summary>
  24. /// 清空挡位学习表
  25. /// </summary>
  26. [Data(BitStart = 24, BitLength = 1, DataType = "binary", Description = "", Sequence = 2)]
  27. public string 清空挡位学习表 { get; set; }
  28. /// <summary>
  29. /// 终止自动学习
  30. /// </summary>
  31. [Data(BitStart = 26, BitLength = 1, DataType = "binary", Description = "", Sequence = 3)]
  32. public string 终止自动学习 { get; set; }
  33. /// <summary>
  34. /// 清空油门学习表
  35. /// </summary>
  36. [Data(BitStart = 32, BitLength = 1, DataType = "binary", Description = "0=无效请求;1=清空", Sequence = 4)]
  37. public string 清空油门学习表 { get; set; }
  38. /// <summary>
  39. /// 清空制动学习表
  40. /// </summary>
  41. [Data(BitStart = 34, BitLength = 1, DataType = "binary", Description = "", Sequence = 5)]
  42. public string 清空制动学习表 { get; set; }
  43. /// <summary>
  44. /// 清空离合学习表
  45. /// </summary>
  46. [Data(BitStart = 36, BitLength = 1, DataType = "binary", Description = "", Sequence = 6)]
  47. public string 清空离合学习表 { get; set; }
  48. /// <summary>
  49. /// 清空转向学习表
  50. /// </summary>
  51. [Data(BitStart = 38, BitLength = 1, DataType = "binary", Description = "", Sequence = 7)]
  52. public string 清空转向学习表 { get; set; }
  53. /// <summary>
  54. /// 挡位位置学习请求确认
  55. /// </summary>
  56. [Data(BitStart = 40,
  57. BitLength = 5,
  58. DataType = "binary",
  59. Description = "0=Between Range;1=Park Range;2=Reverse Range;3=Neutral Range;4=Forward Range 1;5=ForWard Range 2;"
  60. + "6=Forward Range 3;7=Forward Range 4;8=Forward Range 5;9=Forward Range 6;10=Forward Range 7;"
  61. + "11=Forward Range 8;12=Drive Range;13=+;14=-;15=Lever Position Unkown;16=Sport Range",
  62. Sequence = 8)]
  63. public string 挡位位置学习请求确认 { get; set; }
  64. /// <summary>
  65. /// 位置学习请求确认
  66. /// </summary>
  67. [Data(BitStart =48, BitLength = 3, DataType = "binary", Description = "0=无效请求;1=零位学习;2=最大值学习;3=左极限学习;4=右极限学习",Sequence =9)]
  68. public string 位置学习请求确认 { get; set; }
  69. /// <summary>
  70. /// 系统学习请求
  71. /// </summary>
  72. [Data(BitStart = 56, BitLength = 3, DataType = "binary", Description = "0=无效请求;1=油门学习;2=制动踏板学习;3=离合踏板学习;4=转向学习;5=自动挡学习;6=手动挡学习", Sequence = 10)]
  73. public string 系统学习请求 { get; set; }
  74. }
  75. }