WorkModeEnum.cs 1.5 KB

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