IPumpAccumulatorReading.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IPumpAccumulatorReading.cs $
  4. *
  5. * 2 07-07-31 15:26 roger.månsson
  6. *
  7. * 1 07-01-05 15:13 roger.månsson
  8. * Created
  9. */
  10. #endregion
  11. using System.Runtime.InteropServices;
  12. namespace Wayne.ForecourtControl.Com
  13. {
  14. /// <summary>
  15. /// Data structure for one pump accumulator reading.
  16. /// </summary>
  17. [ComVisible(true)]
  18. [InterfaceType( ComInterfaceType.InterfaceIsDual)]
  19. public interface IPumpAccumulatorReading
  20. {
  21. /// <summary>
  22. /// Pump that made the reading.
  23. /// </summary>
  24. IPump Pump { get;}
  25. /// <summary>
  26. /// The nozzle that the reading was done for.
  27. /// </summary>
  28. INozzle Nozzle { get;}
  29. /// <summary>
  30. /// Fuel period that the reading was made in.
  31. /// </summary>
  32. int FuelPeriodId { get;}
  33. /// <summary>
  34. /// Type of accumulator reading.
  35. /// </summary>
  36. PumpAccumulatorReadingType Type { get;}
  37. /// <summary>
  38. /// Read quantity
  39. /// </summary>
  40. decimal Quantity { [return: MarshalAs(UnmanagedType.Currency)] get;}
  41. /// <summary>
  42. /// Read amount
  43. /// </summary>
  44. decimal Amount { [return: MarshalAs(UnmanagedType.Currency)] get;}
  45. }
  46. }