#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/INozzle.cs $
*
* 4 07-02-16 9:59 roger.månsson
* FxCop changes
*
* 3 07-01-05 15:12 roger.månsson
* Added ReadPumpAccumulatorAsync method
*
* 2 07-01-05 8:59 roger.månsson
* Renamed NozzleState->State
*/
#endregion
using System;
using Wayne.Lib;
namespace Wayne.ForecourtControl
{
///
/// Represents a nozzle
///
public interface INozzle : Wayne.Lib.IIdentifiableEntity
{
#region Properties
///
/// 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.
///
///
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
void ReadPumpAccumulatorAsync(EventHandler> accumulatorsRead, object userToken);
#endregion
}
}