123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- #region --------------- Copyright Dresser Wayne Pignone -------------
- #endregion
- namespace Wayne.ForecourtControl
- {
-
-
-
- public class PumpAccumulatorReading : Com.IPumpAccumulatorReading
- {
- #region Fields
- IPump pump;
- INozzle nozzle;
- int fuelPeriodId;
- PumpAccumulatorReadingType type;
- decimal quantity;
- decimal amount;
- Com.IPump comPump;
- Com.INozzle comNozzle;
- #endregion
- #region Construction
-
-
-
-
-
-
-
- private PumpAccumulatorReading(int fuelPeriodId, PumpAccumulatorReadingType type,
- decimal quantity, decimal amount)
- {
- this.fuelPeriodId = fuelPeriodId;
- this.type = type;
- this.quantity = quantity;
- this.amount = amount;
- }
-
-
-
-
-
-
-
-
-
- public PumpAccumulatorReading(IPump pump, INozzle nozzle, int fuelPeriodId,
- PumpAccumulatorReadingType type, decimal quantity, decimal amount)
- : this(fuelPeriodId, type, quantity, amount)
- {
- this.pump = pump;
- this.nozzle = nozzle;
- }
-
-
-
-
-
-
-
-
-
- public PumpAccumulatorReading(Com.IPump pump, Com.INozzle nozzle, int fuelPeriodId,
- PumpAccumulatorReadingType type, decimal quantity, decimal amount)
- : this(fuelPeriodId, type, quantity, amount)
- {
- this.comPump = pump;
- this.comNozzle = nozzle;
- }
- #endregion
- #region Properties
-
-
-
- public IPump Pump
- {
- get { return pump; }
- }
-
-
-
- public INozzle Nozzle
- {
- get { return nozzle; }
- }
-
-
-
- public int FuelPeriodId
- {
- get { return fuelPeriodId; }
- }
-
-
-
- public PumpAccumulatorReadingType Type
- {
- get { return type; }
- }
-
-
-
- public decimal Quantity
- {
- get { return quantity; }
- }
-
-
-
- public decimal Amount
- {
- get { return amount; }
- }
- #endregion
- #region IPumpAccumulatorReading Members
- Wayne.ForecourtControl.Com.IPump Wayne.ForecourtControl.Com.IPumpAccumulatorReading.Pump
- {
- get { return comPump; }
- }
- Wayne.ForecourtControl.Com.INozzle Wayne.ForecourtControl.Com.IPumpAccumulatorReading.Nozzle
- {
- get { return comNozzle; }
- }
- #endregion
- }
- }
|