#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IFuelDeliveryEventArgs.cs $
*
* 3 07-03-09 15:33 roger.månsson
* Use MarshalAs (Currency) on decimal properties that should be exposed
* COM.
*
* 2 07-02-16 9:59 roger.månsson
* FxCop changes
*
* 1 07-01-05 15:13 roger.månsson
* Created
*/
#endregion
using System;
using System.Runtime.InteropServices;
namespace Wayne.ForecourtControl.Com
{
///
/// Interface to Data structure that contains data for a manual fuel delivery registration.
///
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
public interface IFuelDeliveryEventArgs
{
///
/// Defines how the delivery was registered. I.e detected from a tank probe or
/// a manual registration.
///
FuelDeliveryType Type { get;}
///
/// Id of the tank group that the delivery was made to.
///
int TankGroupId { get; }
///
/// Start date and time for the delivery.
///
DateTime StartDateTime { get;}
///
/// End date and time for the delivery.
///
DateTime EndDateTime { get;}
///
/// The delivered volume.
///
decimal Quantity { [return: MarshalAs(UnmanagedType.Currency)]get;}
///
/// Optional. The volume that was planned to deliver.
///
decimal PlannedQuantity { [return: MarshalAs(UnmanagedType.Currency)]get;}
///
/// Optional. Temperature of the fuel in the truck.
///
decimal TruckFuelTemperature { [return: MarshalAs(UnmanagedType.Currency)]get;}
///
/// Optional. Plant where the truck came from. Free format string.
///
string SourcePlantInfo { get;}
///
/// Optional. Note reference number entered by the truck driver.
///
string ReferenceNote { get;}
}
}