| 696 | } |
| 697 | |
| 698 | Mixer PlantLoop_Impl::supplyMixer() const { |
| 699 | auto result = getObject<ModelObject>().getModelObjectTarget<Mixer>(OS_PlantLoopFields::SupplyMixerName); |
| 700 | if (result) { |
| 701 | return result.get(); |
| 702 | } |
| 703 | return supplyComponents(IddObjectType::OS_Connector_Mixer).front().cast<Mixer>(); |
| 704 | } |
| 705 | |
| 706 | bool PlantLoop_Impl::setSupplyMixer(Mixer const& mixer) { |
| 707 | auto result = setPointer(OS_PlantLoopFields::SupplyMixerName, mixer.handle()); |