using Edge.Core.Parser.BinaryParser.Attributes; using HengshanPaymentTerminal.Support; using System; using System.Collections.Generic; using System.Text; namespace HengshanPaymentTerminal.MessageEntity.Incoming { /// /// Result of the lock/unlock operation. /// 加油机回复锁定/解锁操作。 /// public class LockOrUnlockPumpAck : CardMessageBase { #region Constructor /// /// Constructor /// public LockOrUnlockPumpAck() : base(Command.LockOrUnlockPumpAck) { } #endregion #region Properties /// /// Id of the payment terminal. /// 终端号。 /// [Format(4, EncodingType.BcdString, -90)] public string TerminalId { get; set; } /// /// Fueling point. /// 加油点。 /// [Format(2, EncodingType.HexString, -89)] public string FPCode { get; set; } /// /// Dispenser state. /// 加油机状态。 /// [Format(1, EncodingType.BIN, -88)] public DispenserState DispenserState { get; set; } /// /// Lock or unlock pump operation. /// 锁定/解锁操作。 /// [Format(1, EncodingType.BIN, -87)] public LockUnlockOperation OperationType { get; set; } #endregion } }