#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/INozzle.cs $
*
* 3 07-07-31 14:36 roger.månsson
* Made Com visible.
*
* 2 07-01-05 15:14 roger.månsson
* Added ReadPumpAccumulatorAsync method
*
* 1 07-01-05 9:00 roger.månsson
* Created
*/
#endregion
using System.Runtime.InteropServices;
namespace Wayne.ForecourtControl.Com
{
///
/// Represents a nozzle
///
[ComVisible(true)]
public interface INozzle
{
#region Properties
///
/// Nozzle Id.
///
int Id { get;}
///
/// State of the Nozzle.
///
NozzleState State { get;}
///
/// The primary tank group.
///
int PrimaryTankGroupId { get;}
///
/// Blend percentage drawn from the Primary TankGroup. The rest will be drawn from the secondary TankGroup. (100 % for non blending pumps.)
///
int PrimaryTankGroupPercentage { get;}
///
/// Pointer to the secondary tank group. Blend percentage is 100 % - PrimaryTankPercentage.
///
int SecondaryTankGroupId { get;}
///
/// Indicates the fuel grade that is connected to this nozzle.
///
int FuelGrade { get;}
#endregion
#region Methods
///
/// Requests a momentary reading of the physical accumulators for the nozzle.
///
///
void ReadPumpAccumulatorAsync(object userToken);
#endregion
}
}