Nozzle.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Dfs.WayneChina.IMisPlus.Models
  5. {
  6. /// <summary>
  7. /// Basic settings and parameters of a nozzle on legacy iFuel system.
  8. /// </summary>
  9. public class Nozzle
  10. {
  11. /// <summary>
  12. /// Id of the nozzle.
  13. /// Sps Field: `LogicID`, type: byte, unique.
  14. /// </summary>
  15. public byte Id { get; set; }
  16. /// <summary>
  17. /// Physical id of this nozzle.
  18. /// Sps Field: `PhysID`, type: byte, for pumps 1-8.
  19. /// </summary>
  20. public byte PhysicalId { get; set; }
  21. /// <summary>
  22. /// Dispenser number of this nozzle.
  23. /// Sps Field: `DspNo`, type: char(6)
  24. /// </summary>
  25. public string DispNo { get; set; }
  26. /// <summary>
  27. /// Customer designated number of the nozzle, uniqueu on site.
  28. /// Sps Field: `PumpNode`, type: byte
  29. /// </summary>
  30. public ushort SiteNozzleNo { get; set; }
  31. /// <summary>
  32. /// Id of the tank from which the fuel flows through the nozzle.
  33. /// Sps Field: `TankID`
  34. /// </summary>
  35. public byte TankId { get; set; }
  36. /// <summary>
  37. /// The fuel product code which the nozzle is bound.
  38. /// Sps Field: `OilTypeID`, type: char(10)
  39. /// </summary>
  40. public string ProductCode { get; set; }
  41. /// <summary>
  42. /// State of the nozzle, operative or inoperative.
  43. /// Sps Field: `State`, type: char(6)
  44. /// </summary>
  45. public string State { get; set; }
  46. /// <summary>
  47. /// Address of the vehicle id reader.
  48. /// Sps Field: `CarIdenAddr`, type: char(10)
  49. /// </summary>
  50. public string VehicleIdReaderAddress { get; set; }
  51. }
  52. }