#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/ManualFuelDeliveryParameters.cs $
*
* 3 07-03-09 15:37 roger.månsson
* Made COM Visible.
*
* 2 07-01-09 9:28 roger.månsson
* Documentation fixes
*
* 1 07-01-05 15:12 roger.månsson
* Created
*/
#endregion
using System;
using System.Runtime.InteropServices;
namespace Wayne.ForecourtControl
{
///
/// Manual tank delivery data that is used when registering a manual delivery.
///
[ComVisible(true)]
public class ManualFuelDeliveryParameters : IManualFuelDeliveryParameters
{
#region Fields
DateTime startDateTime;
DateTime endDateTime;
decimal quantity;
decimal plannedQuantity;
decimal truckFuelTemperature;
string sourcePlantInfo;
string referenceNote;
#endregion
#region IManualFuelDeliveryParameters Members
///
/// Start date and time for the delivery.
///
public DateTime StartDateTime
{
get
{
return startDateTime;
}
set
{
this.startDateTime = value;
}
}
///
/// End date and time for the delivery.
///
public DateTime EndDateTime
{
get
{
return endDateTime;
}
set
{
this.endDateTime = value;
}
}
///
/// The delivered quantity
///
public decimal Quantity
{
get
{
return quantity;
}
set
{
this.quantity = value;
}
}
///
/// Optional. The quantity that was planned to deliver.
///
public decimal PlannedQuantity
{
get
{
return plannedQuantity;
}
set
{
this.plannedQuantity = value;
}
}
///
/// Optional. Temperature of the fuel in the truck.
///
public decimal TruckFuelTemperature
{
get
{
return truckFuelTemperature;
}
set
{
this.truckFuelTemperature = value;
}
}
///
/// Optional. Plant where the truck came from. Free format string.
///
public string SourcePlantInfo
{
get
{
return sourcePlantInfo;
}
set
{
this.sourcePlantInfo = value;
}
}
///
/// Optional. Note reference number entered by the truck driver.
///
public string ReferenceNote
{
get
{
return referenceNote;
}
set
{
this.referenceNote=value;
}
}
#endregion
}
}