CarPlateStatusInfo.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace ShellChina_EPS_Project_CarPlatePay_EpsClient_App
  5. {
  6. public class CarPlateStatusInfo
  7. {
  8. public enum PaymentStatus
  9. {
  10. 车牌付待加油,
  11. 车牌付加油中,
  12. 车牌付待支付,
  13. 车牌付已支付,
  14. 交易异常
  15. }
  16. public string PlateLicense { get; set; }
  17. /// <summary>
  18. /// The Time indictated when the car plate was cathched, it may be used to remove the plate for some Time
  19. /// </summary>
  20. public DateTime Time { get; set; }
  21. /// <summary>
  22. /// Indicate the car plate is belonging to a member or not, 0 means non member, non zero is the menber ID
  23. /// </summary>
  24. public string MemberShipId { get; set; }
  25. /// <summary>
  26. /// 交易流水号,从EPS返回
  27. /// </summary>
  28. public string TransactionNumber { get; set; }
  29. /// <summary>
  30. /// This will be set when the plate is binding with a nozzle
  31. /// </summary>
  32. public BindingInfo BindingInfo { get; set; }
  33. /// <summary>
  34. /// Indicate the plate which binds to the nozzle is paid or not
  35. /// </summary>
  36. public PaymentStatus PaymentState { get; set; }
  37. }
  38. public class BindingInfo
  39. {
  40. //the binding info format should be "Pump1_Nozzle2"
  41. public string BindedNozzle { get; set; }
  42. public DateTime BingTime { get; set; }
  43. public int PumpId { get; set; }
  44. public int NozzleId { get; set; }
  45. }
  46. }