WorkModeEnum.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Diagnostics;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace HengshanPaymentTerminal
  9. {
  10. /// <summary>
  11. /// The work mode of pumps.
  12. /// 加油机/后台工作模式。
  13. /// </summary>
  14. public enum WorkMode
  15. {
  16. /// <summary>
  17. /// The pump is not enabled.
  18. /// 未启用。
  19. /// </summary>
  20. Disabled = 0x00,
  21. /// <summary>
  22. /// Terminal is in self-service mode, pump is automatically authorized from system.
  23. /// 支付终端自助模式,后台自动授权模式。
  24. /// </summary>
  25. SelfServiceAutoAuth = 0x01,
  26. /// <summary>
  27. /// Terminal is not is self-service mode, pump is automatically authorized from system.
  28. /// 支付终端非自助模式,后台自动授权模式。
  29. /// </summary>
  30. ServiceAutoAuth = 0x02,
  31. /// <summary>
  32. /// Terminal is not in self-service mode, pump is manually authorized from system.
  33. /// 支付终端非自助模式,后台手动授权模式。
  34. /// </summary>
  35. ServiceManualAuth = 0x03,
  36. /// <summary>
  37. /// Terminal is not in self-service mode, system pre-authorizes the pump.
  38. /// 支付终端非自助模式,后台主动授权模式。
  39. /// </summary>
  40. ServicePreAuth = 0x04,
  41. /// <summary>
  42. /// The pump is in offline mode, transactions are manually recorded.
  43. /// 脱机模式。
  44. /// </summary>
  45. Offline = 0x05
  46. }
  47. }