| 501 | } |
| 502 | |
| 503 | bool UtilityBill_Impl::setTimestepsInPeakDemandWindow(unsigned timestepsInPeakDemandWindow) { |
| 504 | if (this->fuelType() == FuelType::Electricity) { |
| 505 | return setUnsigned(OS_UtilityBillFields::TimestepsinPeakDemandWindow, timestepsInPeakDemandWindow); |
| 506 | } |
| 507 | return false; |
| 508 | } |
| 509 | |
| 510 | void UtilityBill_Impl::resetTimestepsInPeakDemandWindow() { |
| 511 | bool test = setString(OS_UtilityBillFields::TimestepsinPeakDemandWindow, ""); |