| 724 | } |
| 725 | |
| 726 | Mixer PlantLoop_Impl::demandMixer() const { |
| 727 | auto result = getObject<ModelObject>().getModelObjectTarget<Mixer>(OS_PlantLoopFields::DemandMixerName); |
| 728 | if (result) { |
| 729 | return result.get(); |
| 730 | } |
| 731 | return demandComponents(IddObjectType::OS_Connector_Mixer).front().cast<Mixer>(); |
| 732 | } |
| 733 | |
| 734 | bool PlantLoop_Impl::setDemandMixer(Mixer const& mixer) { |
| 735 | auto result = setPointer(OS_PlantLoopFields::DemandMixerName, mixer.handle()); |
no test coverage detected