#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/ITankGroup.cs $
*
* 2 07-02-16 9:59 roger.månsson
* FxCop changes
*
* 1 07-01-05 15:13 roger.månsson
* Created
*/
#endregion
using System.Runtime.InteropServices;
namespace Wayne.ForecourtControl.Com
{
///
/// The Tank group interface is used to block and unblock fuellings with nozzles connected to any of
/// the tanks in the tank group.
///
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface ITankGroup
{
#region Properties
///
/// Tank group Id
///
int Id { get;}
///
/// The collection of physical tanks that is associated with this tank group.
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
ITank[] Tanks { get;}
///
/// Indicates if all nozzles connected to tanks in this tank group are blocked.
///
bool Blocked { get;}
#endregion
#region Methods
///
/// Disable fuelling for all pump nozzles linked to this tank group.
///
///
void BlockAsync(object userToken);
///
/// Enable fuelling for all pump nozzles linked to this tank group.
///
///
void UnblockAsync(object userToken);
///
/// Register a manual fuel delivery from the application.
///
/// The parameters for the manual delivery.
///
void RegisterManualDeliveryAsync(IManualFuelDeliveryParameters manualDeliveryParameters, object userToken);
#endregion
}
}