StopPumpRequest.cs 657 B

1234567891011121314151617181920212223
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace ZhongSheng_NonIC_Pump
  7. {
  8. /// <summary>
  9. /// PC 发送关机命令给油机(在油机“授权加油模式”时使用,表示停止授权,如果加油过程中,则停止加油)
  10. /// </summary>
  11. public class StopPumpRequest : MessageTemplateBase
  12. {
  13. [Format(1, EncodingType.BIN, 1)]
  14. public byte 枪号 { get; set; }
  15. public StopPumpRequest(byte nozzleNumber)
  16. {
  17. base.CommandCode = 0x36;
  18. this.枪号 = nozzleNumber;
  19. }
  20. }
  21. }