AuthPumpWithGallonRequest.cs 455 B

12345678910111213141516171819
  1. using Parser.BinaryParser.Attributes;
  2. namespace HengShan_Pump_NonIC.MessageEntity
  3. {
  4. /// <summary>
  5. /// 定量公升
  6. /// 接收命令: 0FFH+05H+0A7H+数量3+校验
  7. /// </summary>
  8. public class AuthPumpWithGallonRequest : NonICMessageTemplateBase
  9. {
  10. public AuthPumpWithGallonRequest()
  11. {
  12. base.CMD = 0xA7;
  13. }
  14. [Format(3, EncodingType.BCD, 1)]
  15. public int Gallon { get; set; }
  16. }
  17. }