using Edge.Core.Parser.BinaryParser.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FuRen_Sinopec_IcCardReader { /// /// PC 机读取加油机信息命令 /// public class PcAskReadPumpAccumulatorResponse : KaJiLianDongV11MessageTemplateBase { /// /// 油枪数n /// [Format(1, EncodingType.BIN, 1)] public byte GUN_N_油枪数 { get; set; } [EnumerableFormat("GUN_N_油枪数", 2, EncodingType = EncodingType.BIN)] public List MZN_单个油枪 { get; set; } public class NozzleAndAccumulator { /// /// 枪号 /// [Format(1, EncodingType.BIN, 1)] public byte NZN_枪号 { get; set; } /// /// 升累计,单位:0.01 升 /// [Format(4, EncodingType.BIN, 2)] public int V_TOT_升累计 { get; set; } } } }