using Edge.Core.Parser.BinaryParser.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ZhongSheng_NonIC_Pump { /// /// PC 发送关机命令给油机(在油机“授权加油模式”时使用,表示停止授权,如果加油过程中,则停止加油) /// public class StopPumpRequest : MessageTemplateBase { [Format(1, EncodingType.BIN, 1)] public byte 枪号 { get; set; } public StopPumpRequest(byte nozzleNumber) { base.CommandCode = 0x36; this.枪号 = nozzleNumber; } } }