| 12345678910111213141516171819202122232425262728293031323334 |
- using Parser.BinaryParser.Attributes;
- namespace HengShan_Pump_NonIC.MessageEntity
- {
- /// <summary>
- /// 0BAH----- 取版本号
- /// 0FFH+0EH+0BAH+版本号4+背光状态0开1关+单价(2)+密度(2)+精度(2)+提前量1+校验
- /// </summary>
- public class GetVersionResponse : NonICMessageTemplateBase
- {
- public GetVersionResponse()
- {
- //CMD = 0xBA;
- }
- [Format(4, EncodingType.BIN, 2)]
- public int versionNumber { get; set; }
- [Format(1, EncodingType.BIN, 6)]
- public int backLightStatus { get; set; }
- [Format(2, EncodingType.BIN, 7)]
- public int price { get; set; }
- [Format(2, EncodingType.BIN, 9)]
- public int 密度 { get; set; }
- [Format(2,EncodingType.BIN, 11)]
- public int 精度 { get; set; }
- [Format(1, EncodingType.BIN, 12)]
- public int 提前量 { get; set; }
- }
- }
|