| 68 | } |
| 69 | |
| 70 | boost::optional<double> LightsDefinition_Impl::wattsperPerson() const { |
| 71 | boost::optional<double> result; |
| 72 | if (istringEqual("Watts/Person", this->designLevelCalculationMethod())) { |
| 73 | result = getDouble(OS_Lights_DefinitionFields::WattsperPerson, true); |
| 74 | //OS_ASSERT(result); |
| 75 | } |
| 76 | return result; |
| 77 | } |
| 78 | |
| 79 | double LightsDefinition_Impl::fractionRadiant() const { |
| 80 | boost::optional<double> value = getDouble(OS_Lights_DefinitionFields::FractionRadiant, true); |