#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
{
///
/// Data structure for one pump accumulator reading.
///
[ComVisible(true)]
[InterfaceType( ComInterfaceType.InterfaceIsDual)]
public interface IPumpAccumulatorReading
{
///
/// Pump that made the reading.
///
IPump Pump { get;}
///
/// The nozzle that the reading was done for.
///
INozzle Nozzle { get;}
///
/// Fuel period that the reading was made in.
///
int FuelPeriodId { get;}
///
/// Type of accumulator reading.
///
PumpAccumulatorReadingType Type { get;}
///
/// Read quantity
///
decimal Quantity { [return: MarshalAs(UnmanagedType.Currency)] get;}
///
/// Read amount
///
decimal Amount { [return: MarshalAs(UnmanagedType.Currency)] get;}
}
}