71 WaterReductionInput(
const int operatingHours,
const double waterCost,
const int measurementMethod,
75 : operatingHours(operatingHours), waterCost(waterCost), measurementMethod(measurementMethod),
76 meteredFlowMethodData(meteredFlowMethodData), volumeMeterMethodData(volumeMeterMethodData),
77 bucketMethodData(bucketMethodData), otherMethodData(otherMethodData) {}
79 int getOperatingHours()
const {
return operatingHours; }
81 double getWaterCost()
const {
return waterCost; }
83 int getMeasurementMethod()
const {
return measurementMethod; }
104 int measurementMethod;
115 Output(
double waterUse,
double waterCost,
double annualWaterSavings,
double costSavings)
116 : waterUse(waterUse), waterCost(waterCost), annualWaterSavings(annualWaterSavings),
117 costSavings(costSavings) {}
121 double waterUse = 0, waterCost = 0, annualWaterSavings = 0, costSavings = 0;
124 WaterReduction(std::vector<WaterReductionInput> waterReductionInputVec)
125 : waterReductionInputVec(waterReductionInputVec) {}
129 std::vector<WaterReductionInput>
const& getWaterReductionInputVec()
const {
return waterReductionInputVec; }
131 void setWaterReductionInputVec(std::vector<WaterReductionInput>& waterReductionInputVec);
134 std::vector<WaterReductionInput> waterReductionInputVec;