IPricePoleSegment.cs 1.4 KB

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