LockOrUnlockPumpRequest.cs 872 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Dfs.WayneChina.HengshanPayTerminal.MessageEntity.Incoming;
  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.Outgoing
  8. {
  9. /// <summary>
  10. /// Lock or Unlock the pump.
  11. /// 锁机或解锁油机。
  12. /// </summary>
  13. public class LockOrUnlockPumpRequest : CardMessageBase
  14. {
  15. #region Constructor
  16. public LockOrUnlockPumpRequest() : base(Command.LockOrUnlockPump)
  17. {
  18. }
  19. #endregion
  20. #region Properties
  21. [Format(2, EncodingType.HexString, -90)]
  22. public string FPCode { get; set; }
  23. [Format(1, EncodingType.BIN, -89)]
  24. public LockUnlockOperation OperationType { get; set; }
  25. #endregion
  26. }
  27. }