LockOrUnlockPumpRequest.cs 785 B

12345678910111213141516171819202122232425262728293031323334
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using HengshanPaymentTerminal.Support;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace HengshanPaymentTerminal.MessageEntity.Outgoing
  7. {
  8. /// <summary>
  9. /// Lock or Unlock the pump.
  10. /// 锁机或解锁油机。
  11. /// </summary>
  12. public class LockOrUnlockPumpRequest : CardMessageBase
  13. {
  14. #region Constructor
  15. public LockOrUnlockPumpRequest() : base(Command.LockOrUnlockPump)
  16. {
  17. }
  18. #endregion
  19. #region Properties
  20. [Format(2, EncodingType.HexString, -90)]
  21. public string FPCode { get; set; }
  22. [Format(1, EncodingType.BIN, -89)]
  23. public LockUnlockOperation OperationType { get; set; }
  24. #endregion
  25. }
  26. }