RegisterRequest.cs 863 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace HengshanPaymentTerminal.MessageEntity.Incoming
  6. {
  7. /// <summary>
  8. /// A register request from pump to system.
  9. /// 加油机对后台发起注册请求。
  10. /// </summary>
  11. public class RegisterRequest : CardMessageBase
  12. {
  13. #region Constructor
  14. /// <summary>
  15. /// Constructor
  16. /// </summary>
  17. public RegisterRequest() : base(Command.RegisterRequest)
  18. {
  19. }
  20. #endregion
  21. #region Properties
  22. /// <summary>
  23. /// ID of the payment terminal.
  24. /// 已注册或初始注册的终端号。
  25. /// </summary>
  26. [Format(4, EncodingType.BcdString, -90)]
  27. public string TerminalId { get; set; }
  28. #endregion
  29. }
  30. }