Fueling.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using Edge.Core.Processor;using Edge.Core.IndustryStandardInterface.Pump;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Dfs.WayneChina.HengshanPos
  6. {
  7. /// <summary>
  8. /// Holds the fueling data and various state
  9. /// </summary>
  10. public class Fueling
  11. {
  12. /// <summary>
  13. /// The FDC transaction
  14. /// </summary>
  15. public FdcTransaction FdcTransaction { get; set; }
  16. /// <summary>
  17. /// Indicates if the transaction is authorized by IC card.
  18. /// </summary>
  19. public bool AuthorizedByCard { get; set; }
  20. /// <summary>
  21. /// The active nozzle of the transaction on the fueling point.
  22. /// </summary>
  23. public byte ActiveNozzle { get; set; }
  24. /// <summary>
  25. /// The pump id (fueling point id).
  26. /// </summary>
  27. public int PumpId { get; set; }
  28. /// <summary>
  29. /// Indicates the state of current fueling transaction.
  30. /// </summary>
  31. public FuelingState FuelingState { get; set; }
  32. /// <summary>
  33. /// Authorized amount for the fueling transaction.
  34. /// </summary>
  35. public int AuthAmount { get; set; }
  36. /// <summary>
  37. /// Preset volume in litres for the fueling transaction.
  38. /// Used gallon as a result of transitioning from Global FC.
  39. /// </summary>
  40. public int Gallon { get; set; }
  41. /// <summary>
  42. /// The FPOS fueling sequence number.
  43. /// </summary>
  44. public ushort FuelingSqNo { get; set; }
  45. /// <summary>
  46. /// Time stamp of nozzle returned.
  47. /// </summary>
  48. public DateTime? NozzleReturnedTime { get; set; }
  49. }
  50. }