LockOrUnlockPumpAck.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using Dfs.WayneChina.HengshanPayTerminal.MessageEntity.Outgoing;
  2. using Dfs.WayneChina.HengshanPayTerminal.Support;
  3. using Edge.Core.Parser.BinaryParser.Attributes;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Text;
  7. namespace Dfs.WayneChina.HengshanPayTerminal.MessageEntity.Incoming
  8. {
  9. /// <summary>
  10. /// Result of the lock/unlock operation.
  11. /// 加油机回复锁定/解锁操作。
  12. /// </summary>
  13. public class LockOrUnlockPumpAck : CardMessageBase
  14. {
  15. #region Constructor
  16. /// <summary>
  17. /// Constructor
  18. /// </summary>
  19. public LockOrUnlockPumpAck() : base(Command.LockOrUnlockPumpAck)
  20. {
  21. }
  22. #endregion
  23. #region Properties
  24. /// <summary>
  25. /// Id of the payment terminal.
  26. /// 终端号。
  27. /// </summary>
  28. [Format(4, EncodingType.BcdString, -90)]
  29. public string TerminalId { get; set; }
  30. /// <summary>
  31. /// Fueling point.
  32. /// 加油点。
  33. /// </summary>
  34. [Format(2, EncodingType.HexString, -89)]
  35. public string FPCode { get; set; }
  36. /// <summary>
  37. /// Dispenser state.
  38. /// 加油机状态。
  39. /// </summary>
  40. [Format(1, EncodingType.BIN, -88)]
  41. public DispenserState DispenserState { get; set; }
  42. /// <summary>
  43. /// Lock or unlock pump operation.
  44. /// 锁定/解锁操作。
  45. /// </summary>
  46. [Format(1, EncodingType.BIN, -87)]
  47. public LockUnlockOperation OperationType { get; set; }
  48. #endregion
  49. }
  50. }