IManualFuelDeliveryParameters.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/IManualFuelDeliveryParameters.cs $
  4. *
  5. * 3 07-03-09 15:32 roger.månsson
  6. * Use MarshalAs (Currency) on decimal properties that should be exposed
  7. * COM
  8. *
  9. * 2 07-01-09 9:28 roger.månsson
  10. * Documentation fixes
  11. *
  12. * 1 07-01-05 15:12 roger.månsson
  13. * Created
  14. */
  15. #endregion
  16. using System;
  17. using System.Runtime.InteropServices;
  18. namespace Wayne.ForecourtControl
  19. {
  20. /// <summary>
  21. /// Data structure that contains data for a manual fuel delivery registration.
  22. /// </summary>
  23. [ComVisible(true)]
  24. public interface IManualFuelDeliveryParameters
  25. {
  26. /// <summary>
  27. /// Start date and time for the delivery.
  28. /// </summary>
  29. DateTime StartDateTime { get;set;}
  30. /// <summary>
  31. /// End date and time for the delivery.
  32. /// </summary>
  33. DateTime EndDateTime { get;set;}
  34. /// <summary>
  35. /// The delivered quantity
  36. /// </summary>
  37. decimal Quantity
  38. {
  39. [return:MarshalAs( UnmanagedType.Currency)]
  40. get;
  41. [param: MarshalAs(UnmanagedType.Currency)]
  42. set;
  43. }
  44. /// <summary>
  45. /// Optional. The quantity that was planned to deliver.
  46. /// </summary>
  47. decimal PlannedQuantity
  48. {
  49. [return: MarshalAs(UnmanagedType.Currency)]
  50. get;
  51. [param: MarshalAs(UnmanagedType.Currency)]
  52. set;
  53. }
  54. /// <summary>
  55. /// Optional. Temperature of the fuel in the truck.
  56. /// </summary>
  57. decimal TruckFuelTemperature
  58. {
  59. [return: MarshalAs(UnmanagedType.Currency)]
  60. get;
  61. [param: MarshalAs(UnmanagedType.Currency)]
  62. set;
  63. }
  64. /// <summary>
  65. /// Optional. Plant where the truck came from. Free format string.
  66. /// </summary>
  67. string SourcePlantInfo { get;set;}
  68. /// <summary>
  69. /// Optional. Note reference number entered by the truck driver.
  70. /// </summary>
  71. string ReferenceNote { get;set;}
  72. }
  73. }