ManualFuelDeliveryParameters.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/ManualFuelDeliveryParameters.cs $
  4. *
  5. * 3 07-03-09 15:37 roger.månsson
  6. * Made COM Visible.
  7. *
  8. * 2 07-01-09 9:28 roger.månsson
  9. * Documentation fixes
  10. *
  11. * 1 07-01-05 15:12 roger.månsson
  12. * Created
  13. */
  14. #endregion
  15. using System;
  16. using System.Runtime.InteropServices;
  17. namespace Wayne.ForecourtControl
  18. {
  19. /// <summary>
  20. /// Manual tank delivery data that is used when registering a manual delivery.
  21. /// </summary>
  22. [ComVisible(true)]
  23. public class ManualFuelDeliveryParameters : IManualFuelDeliveryParameters
  24. {
  25. #region Fields
  26. DateTime startDateTime;
  27. DateTime endDateTime;
  28. decimal quantity;
  29. decimal plannedQuantity;
  30. decimal truckFuelTemperature;
  31. string sourcePlantInfo;
  32. string referenceNote;
  33. #endregion
  34. #region IManualFuelDeliveryParameters Members
  35. /// <summary>
  36. /// Start date and time for the delivery.
  37. /// </summary>
  38. public DateTime StartDateTime
  39. {
  40. get
  41. {
  42. return startDateTime;
  43. }
  44. set
  45. {
  46. this.startDateTime = value;
  47. }
  48. }
  49. /// <summary>
  50. /// End date and time for the delivery.
  51. /// </summary>
  52. public DateTime EndDateTime
  53. {
  54. get
  55. {
  56. return endDateTime;
  57. }
  58. set
  59. {
  60. this.endDateTime = value;
  61. }
  62. }
  63. /// <summary>
  64. /// The delivered quantity
  65. /// </summary>
  66. public decimal Quantity
  67. {
  68. get
  69. {
  70. return quantity;
  71. }
  72. set
  73. {
  74. this.quantity = value;
  75. }
  76. }
  77. /// <summary>
  78. /// Optional. The quantity that was planned to deliver.
  79. /// </summary>
  80. public decimal PlannedQuantity
  81. {
  82. get
  83. {
  84. return plannedQuantity;
  85. }
  86. set
  87. {
  88. this.plannedQuantity = value;
  89. }
  90. }
  91. /// <summary>
  92. /// Optional. Temperature of the fuel in the truck.
  93. /// </summary>
  94. public decimal TruckFuelTemperature
  95. {
  96. get
  97. {
  98. return truckFuelTemperature;
  99. }
  100. set
  101. {
  102. this.truckFuelTemperature = value;
  103. }
  104. }
  105. /// <summary>
  106. /// Optional. Plant where the truck came from. Free format string.
  107. /// </summary>
  108. public string SourcePlantInfo
  109. {
  110. get
  111. {
  112. return sourcePlantInfo;
  113. }
  114. set
  115. {
  116. this.sourcePlantInfo = value;
  117. }
  118. }
  119. /// <summary>
  120. /// Optional. Note reference number entered by the truck driver.
  121. /// </summary>
  122. public string ReferenceNote
  123. {
  124. get
  125. {
  126. return referenceNote;
  127. }
  128. set
  129. {
  130. this.referenceNote=value;
  131. }
  132. }
  133. #endregion
  134. }
  135. }