| 57 | } |
| 58 | |
| 59 | boost::optional<OutputVariable> EnergyManagementSystemSensor_Impl::outputVariable() const { |
| 60 | boost::optional<OutputVariable> value = optionalOutputVariable(); |
| 61 | if (!value.is_initialized()) { |
| 62 | LOG(Info, " does not have an Output Variable attached."); |
| 63 | return value; |
| 64 | } |
| 65 | return value.get(); |
| 66 | } |
| 67 | |
| 68 | boost::optional<OutputMeter> EnergyManagementSystemSensor_Impl::outputMeter() const { |
| 69 | boost::optional<OutputMeter> value = optionalOutputMeter(); |