#region  --------------- Copyright Dresser Wayne Pignone -------------
/*
 * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/IManualFuelDeliveryParameters.cs $
 * 
 * 3     07-03-09 15:32 roger.månsson
 * Use MarshalAs (Currency) on decimal properties that should be exposed
 * COM
 * 
 * 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>
    /// Data structure that contains data for a manual fuel delivery registration.
    /// </summary>
    [ComVisible(true)]
    public interface IManualFuelDeliveryParameters
    {

        /// <summary>
        /// Start date and time for the delivery.
        /// </summary>
        DateTime StartDateTime { get;set;}

        /// <summary>
        /// End date and time for the delivery.
        /// </summary>
        DateTime EndDateTime { get;set;}

        /// <summary>
        /// The delivered quantity
        /// </summary>
        decimal Quantity 
        { 
            [return:MarshalAs( UnmanagedType.Currency)]
            get;
            [param: MarshalAs(UnmanagedType.Currency)]
            set;
        }

        /// <summary>
        /// Optional. The quantity that was planned to deliver.
        /// </summary>
        decimal PlannedQuantity
        {
            [return: MarshalAs(UnmanagedType.Currency)]
            get;
            [param: MarshalAs(UnmanagedType.Currency)]
            set;
        }


        /// <summary>
        /// Optional. Temperature of the fuel in the truck.
        /// </summary>
        decimal TruckFuelTemperature
        {
            [return: MarshalAs(UnmanagedType.Currency)]
            get;
            [param: MarshalAs(UnmanagedType.Currency)]
            set;
        }


        /// <summary>
        /// Optional. Plant where the truck came from. Free format string.
        /// </summary>
        string SourcePlantInfo { get;set;}

        /// <summary>
        /// Optional. Note reference number entered by the truck driver.
        /// </summary>
        string ReferenceNote { get;set;}
    }
}