IPricePoleSegment.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/IPricePoleSegment.cs $
  4. *
  5. * 1 07-03-08 13:09 roger.månsson
  6. * Created
  7. */
  8. #endregion
  9. namespace Wayne.ForecourtControl
  10. {
  11. /// <summary>
  12. /// A display segment will display the configured unit price,
  13. ///FuelPrice [ PricePoleSegment..FuelGrade, PricePoleSegment..FuelGrade PriceGroup ].
  14. ///The price cannot be set directly by the application, since there are law’s
  15. ///and regulations about when Price pole and pump price can be updated, dependent
  16. ///on price increase or price decrease.
  17. ///Physical update of the PricePoleDisplay Segments, and pumps, are made automatically
  18. /// by the Forecourt server. when ActivateFuelPrices method in the Forecourt control
  19. /// object is called.
  20. /// </summary>
  21. public interface IPricePoleSegment
  22. {
  23. #region Properties
  24. /// <summary>
  25. /// The id of the price pole segment.
  26. /// </summary>
  27. int Id { get;}
  28. /// <summary>
  29. /// The Fuel grade price that should be displayed
  30. /// </summary>
  31. int FuelGrade { get;}
  32. /// <summary>
  33. /// The Price group price that should be displayed
  34. /// </summary>
  35. int PriceGroup { get;}
  36. #endregion
  37. }
  38. }