本文整理汇总了C++中ThermalZone::handle方法的典型用法代码示例。如果您正苦于以下问题:C++ ThermalZone::handle方法的具体用法?C++ ThermalZone::handle怎么用?C++ ThermalZone::handle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ThermalZone
的用法示例。
在下文中一共展示了ThermalZone::handle方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: setSourceZone
bool ZoneMixing_Impl::setSourceZone(const ThermalZone& zone) {
bool result(false);
// source zone cannot be the same as this zone
if (zone.handle() != this->zone().handle()){
result = setPointer(OS_ZoneMixingFields::SourceZoneName, zone.handle());
}
return result;
}
示例2: ModelObject
ZoneHVACEquipmentList::ZoneHVACEquipmentList(const ThermalZone & thermalZone)
: ModelObject(ZoneHVACEquipmentList::iddObjectType(),thermalZone.model())
{
OS_ASSERT(getImpl<detail::ZoneHVACEquipmentList_Impl>());
setPointer(OS_ZoneHVAC_EquipmentListFields::ThermalZone,thermalZone.handle());
}
示例3: ModelObject
ZoneMixing::ZoneMixing(const ThermalZone& zone)
: ModelObject(ZoneMixing::iddObjectType(), zone.model())
{
OS_ASSERT(getImpl<detail::ZoneMixing_Impl>());
bool ok = setPointer(OS_ZoneMixingFields::ZoneName, zone.handle());
OS_ASSERT(ok);
ok = setPointer(OS_ZoneMixingFields::ScheduleName, zone.model().alwaysOnContinuousSchedule().handle());
OS_ASSERT(ok);
ok = setDesignFlowRate(0.0);
OS_ASSERT(ok);
}
示例4: setControlledZone
bool ZoneControlContaminantController_Impl::setControlledZone(ThermalZone& zone) {
return setPointer(OS_ZoneControl_ContaminantControllerFields::ControlledZoneName,zone.handle());
}
示例5: setControlZone
void SetpointManagerSingleZoneReheat_Impl::setControlZone(ThermalZone & thermalZone)
{
SetpointManagerSingleZoneReheat thisModelObject = this->getObject<SetpointManagerSingleZoneReheat>();
thisModelObject.setPointer(OS_SetpointManager_SingleZone_ReheatFields::ControlZoneName,thermalZone.handle());
}
示例6: setThermalZone
bool ElectricLoadCenterInverterSimple_Impl::setThermalZone(const ThermalZone& thermalZone) {
return setPointer(OS_ElectricLoadCenter_Inverter_SimpleFields::ZoneName, thermalZone.handle());
}
示例7: setControlZone
bool SetpointManagerSingleZoneHumidityMaximum_Impl::setControlZone(const ThermalZone& thermalZone) {
bool result = setPointer(OS_SetpointManager_SingleZone_Humidity_MaximumFields::ControlZoneName, thermalZone.handle());
return result;
}
示例8: setThermalZone
bool RefrigerationWalkInZoneBoundary_Impl::setThermalZone(const ThermalZone& thermalZone) {
bool result = setPointer(OS_Refrigeration_WalkIn_ZoneBoundaryFields::ZoneName, thermalZone.handle());
return result;
}