#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IFuellingEvents.cs $
*
* 2 07-01-05 9:01 roger.månsson
* Documentation changes
*/
#endregion
using System.Runtime.InteropServices;
namespace Wayne.ForecourtControl.Com
{
///
/// Event interface for a IFuelling object.
///
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface IFuellingEvents
{
#region Request completed events
///
/// Event raised on completion of Reserve request.
///
/// Fuelling object that raised the event
/// True if the request succeeded.
/// User token specified when invoking the asynchronous request.
void OnReserveCompleted(IFuelling sender, bool success, object userToken);
///
/// Event raised on completion of Unreserve request.
///
/// Fuelling object that raised the event
/// True if the request succeeded.
/// User token specified when invoking the asynchronous request.
void OnUnreserveCompleted(IFuelling sender, bool success, object userToken);
///
/// Event raised on completion of Transfer request.
///
/// Fuelling object that raised the event
/// True if the request succeeded.
/// User token specified when invoking the asynchronous request.
void OnTransferCompleted(IFuelling sender, bool success, object userToken);
///
/// Event raised on completion of UndoTransfer request.
///
/// Fuelling object that raised the event
/// True if the request succeeded.
/// User token specified when invoking the asynchronous request.
void OnUndoTransferCompleted(IFuelling sender, bool success, object userToken);
///
/// Event raised on completion of SetAsPaid request.
///
/// Fuelling object that raised the event
/// True if the request succeeded.
/// User token specified when invoking the asynchronous request.
void OnSetAsPaidCompleted(IFuelling sender, bool success, object userToken);
#endregion
}
}