123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #region --------------- Copyright Dresser Wayne Pignone -------------
- /*
- * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IPumpAccumulatorReading.cs $
- *
- * 2 07-07-31 15:26 roger.månsson
- *
- * 1 07-01-05 15:13 roger.månsson
- * Created
- */
- #endregion
- using System.Runtime.InteropServices;
- namespace Wayne.ForecourtControl.Com
- {
- /// <summary>
- /// Data structure for one pump accumulator reading.
- /// </summary>
- [ComVisible(true)]
- [InterfaceType( ComInterfaceType.InterfaceIsDual)]
- public interface IPumpAccumulatorReading
- {
- /// <summary>
- /// Pump that made the reading.
- /// </summary>
- IPump Pump { get;}
- /// <summary>
- /// The nozzle that the reading was done for.
- /// </summary>
- INozzle Nozzle { get;}
- /// <summary>
- /// Fuel period that the reading was made in.
- /// </summary>
- int FuelPeriodId { get;}
- /// <summary>
- /// Type of accumulator reading.
- /// </summary>
- PumpAccumulatorReadingType Type { get;}
- /// <summary>
- /// Read quantity
- /// </summary>
- decimal Quantity { [return: MarshalAs(UnmanagedType.Currency)] get;}
- /// <summary>
- /// Read amount
- /// </summary>
- decimal Amount { [return: MarshalAs(UnmanagedType.Currency)] get;}
- }
- }
|