using Parser.BinaryParser.Attributes; namespace HengShan_Pump_NonIC.MessageEntity { /// /// 定量公升 /// 接收命令: 0FFH+05H+0A7H+数量3+校验 /// public class AuthPumpWithGallonRequest : NonICMessageTemplateBase { public AuthPumpWithGallonRequest() { base.CMD = 0xA7; } [Format(3, EncodingType.BCD, 1)] public int Gallon { get; set; } } }