当前位置: 首页>>代码示例>>C++>>正文


C++ ThermalZone::handle方法代码示例

本文整理汇总了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;
 }
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:9,代码来源:ZoneMixing.cpp

示例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());
}
开发者ID:CUEBoxer,项目名称:OpenStudio,代码行数:7,代码来源:ZoneHVACEquipmentList.cpp

示例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);
}
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:14,代码来源:ZoneMixing.cpp

示例4: setControlledZone

 bool ZoneControlContaminantController_Impl::setControlledZone(ThermalZone& zone) {
   return setPointer(OS_ZoneControl_ContaminantControllerFields::ControlledZoneName,zone.handle());
 }
开发者ID:Anto-F,项目名称:OpenStudio,代码行数:3,代码来源:ZoneControlContaminantController.cpp

示例5: setControlZone

  void SetpointManagerSingleZoneReheat_Impl::setControlZone(ThermalZone & thermalZone)
  {
    SetpointManagerSingleZoneReheat thisModelObject = this->getObject<SetpointManagerSingleZoneReheat>();

    thisModelObject.setPointer(OS_SetpointManager_SingleZone_ReheatFields::ControlZoneName,thermalZone.handle());
  }
开发者ID:ChengXinDL,项目名称:OpenStudio,代码行数:6,代码来源:SetpointManagerSingleZoneReheat.cpp

示例6: setThermalZone

 bool ElectricLoadCenterInverterSimple_Impl::setThermalZone(const ThermalZone& thermalZone) {
   return setPointer(OS_ElectricLoadCenter_Inverter_SimpleFields::ZoneName, thermalZone.handle());
 }
开发者ID:NREL,项目名称:OpenStudio,代码行数:3,代码来源:ElectricLoadCenterInverterSimple.cpp

示例7: setControlZone

 bool SetpointManagerSingleZoneHumidityMaximum_Impl::setControlZone(const ThermalZone& thermalZone) {
   bool result = setPointer(OS_SetpointManager_SingleZone_Humidity_MaximumFields::ControlZoneName, thermalZone.handle());
   return result;
 }
开发者ID:NREL,项目名称:OpenStudio,代码行数:4,代码来源:SetpointManagerSingleZoneHumidityMaximum.cpp

示例8: setThermalZone

 bool RefrigerationWalkInZoneBoundary_Impl::setThermalZone(const ThermalZone& thermalZone) {
   bool result = setPointer(OS_Refrigeration_WalkIn_ZoneBoundaryFields::ZoneName, thermalZone.handle());
   return result;
 }
开发者ID:Anto-F,项目名称:OpenStudio,代码行数:4,代码来源:RefrigerationWalkInZoneBoundary.cpp


注:本文中的ThermalZone::handle方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。