123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- #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
- {
- /// <summary>
- /// Manual tank delivery data that is used when registering a manual delivery.
- /// </summary>
- [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
- /// <summary>
- /// Start date and time for the delivery.
- /// </summary>
- public DateTime StartDateTime
- {
- get
- {
- return startDateTime;
- }
- set
- {
- this.startDateTime = value;
- }
- }
- /// <summary>
- /// End date and time for the delivery.
- /// </summary>
- public DateTime EndDateTime
- {
- get
- {
- return endDateTime;
- }
- set
- {
- this.endDateTime = value;
- }
- }
- /// <summary>
- /// The delivered quantity
- /// </summary>
- public decimal Quantity
- {
- get
- {
- return quantity;
- }
- set
- {
- this.quantity = value;
- }
- }
- /// <summary>
- /// Optional. The quantity that was planned to deliver.
- /// </summary>
- public decimal PlannedQuantity
- {
- get
- {
- return plannedQuantity;
- }
- set
- {
- this.plannedQuantity = value;
- }
- }
- /// <summary>
- /// Optional. Temperature of the fuel in the truck.
- /// </summary>
- public decimal TruckFuelTemperature
- {
- get
- {
- return truckFuelTemperature;
- }
- set
- {
- this.truckFuelTemperature = value;
- }
- }
- /// <summary>
- /// Optional. Plant where the truck came from. Free format string.
- /// </summary>
- public string SourcePlantInfo
- {
- get
- {
- return sourcePlantInfo;
- }
- set
- {
- this.sourcePlantInfo = value;
- }
- }
- /// <summary>
- /// Optional. Note reference number entered by the truck driver.
- /// </summary>
- public string ReferenceNote
- {
- get
- {
- return referenceNote;
- }
- set
- {
- this.referenceNote=value;
- }
- }
- #endregion
- }
- }
|