1234567891011121314151617181920212223242526272829 |
- using Edge.Core.Parser.BinaryParser.Attributes;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Dfs.WayneChina.GilbarcoDispenserPayTerminal.MessageEntities.Incoming
- {
- public class VolumeTotalizer : CardMessageBase
- {
- public VolumeTotalizer() : base(HandleType.ReadVolumeTotalizer)
- {
- }
- [Format(1, EncodingType.BIN, -94)]
- public byte NozzleCount { get; set; }
- [EnumerableFormat("NozzleCount", 2, EncodingType = EncodingType.BIN)]
- public List<VolumeTotalInfo> VolumeTotalInfoList { get; set; }
- }
- public class VolumeTotalInfo
- {
- [Format(1, EncodingType.BIN, 1)]
- public byte NozzleNo { get; set; }
- [Format(4, EncodingType.BIN, 2)]
- public int VolumeTotal { get; set; }
- }
- }
|