| 266 | } |
| 267 | |
| 268 | boost::optional<double> Lights_Impl::powerPerPerson() const { |
| 269 | OptionalDouble temp = lightsDefinition().wattsperPerson(); |
| 270 | if (temp) { |
| 271 | return temp.get() * multiplier(); |
| 272 | } |
| 273 | return temp; |
| 274 | } |
| 275 | |
| 276 | double Lights_Impl::getLightingPower(double floorArea, double numPeople) const { |
| 277 | return lightsDefinition().getLightingPower(floorArea, numPeople) * multiplier(); |
no test coverage detected