70 WaterReductionInput(
const int operatingHours,
const double waterCost,
const int measurementMethod,
74 : operatingHours(operatingHours), waterCost(waterCost), measurementMethod(measurementMethod),
75 meteredFlowMethodData(meteredFlowMethodData), volumeMeterMethodData(volumeMeterMethodData),
76 bucketMethodData(bucketMethodData), otherMethodData(otherMethodData) {}
78 int getOperatingHours()
const {
return operatingHours; }
80 double getWaterCost()
const {
return waterCost; }
82 int getMeasurementMethod()
const {
return measurementMethod; }
103 int measurementMethod;
114 Output(
double waterUse,
double waterCost,
double annualWaterSavings,
double costSavings)
115 : waterUse(waterUse), waterCost(waterCost), annualWaterSavings(annualWaterSavings),
116 costSavings(costSavings) {}
120 double waterUse = 0, waterCost = 0, annualWaterSavings = 0, costSavings = 0;
123 WaterReduction(std::vector<WaterReductionInput> waterReductionInputVec)
124 : waterReductionInputVec(waterReductionInputVec) {}
128 std::vector<WaterReductionInput>
const& getWaterReductionInputVec()
const {
return waterReductionInputVec; }
130 void setWaterReductionInputVec(std::vector<WaterReductionInput>& waterReductionInputVec);
133 std::vector<WaterReductionInput> waterReductionInputVec;