IPricePole.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/IPricePole.cs $
  4. *
  5. * 1 07-03-08 13:09 roger.månsson
  6. * Created
  7. */
  8. #endregion
  9. using System;
  10. using Wayne.Lib;
  11. namespace Wayne.ForecourtControl
  12. {
  13. /// <summary>
  14. /// Represents a price display on the forecourt. The price display is constructed of a series of
  15. /// price display segments, that each display the price for one fuel grade in one price group.
  16. /// </summary>
  17. public interface IPricePole
  18. {
  19. #region Properties
  20. /// <summary>
  21. /// Price pole number
  22. /// </summary>
  23. int Id { get;}
  24. /// <summary>
  25. /// The connection state of the price pole.
  26. /// </summary>
  27. DeviceConnectionState ConnectionState { get;}
  28. /// <summary>
  29. /// An array of the display segments in the price pole.
  30. /// </summary>
  31. System.Collections.ObjectModel.ReadOnlyCollection<IPricePoleSegment> DisplaySegments{get;}
  32. #endregion
  33. #region Events
  34. /// <summary>
  35. /// Event fired when the connection state of the pricepole changes.
  36. /// </summary>
  37. event EventHandler<ConnectionChangedEventArgs> OnConnectionStateChanged;
  38. #endregion
  39. }
  40. }