• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ IddObjectType函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中IddObjectType函数的典型用法代码示例。如果您正苦于以下问题:C++ IddObjectType函数的具体用法?C++ IddObjectType怎么用?C++ IddObjectType使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了IddObjectType函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: IddObjectType

IddObjectType Duct::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Duct);
}
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:3,代码来源:Duct.cpp


示例2: IddObjectType

IddObjectType CoilHeatingLowTempRadiantConstFlow::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Coil_Heating_LowTemperatureRadiant_ConstantFlow);
}
开发者ID:ChengXinDL,项目名称:OpenStudio,代码行数:3,代码来源:CoilHeatingLowTempRadiantConstFlow.cpp


示例3: IddObjectType

IddObjectType SolarCollectorPerformanceFlatPlate::iddObjectType() {
  return IddObjectType(IddObjectType::OS_SolarCollectorPerformance_FlatPlate);
}
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:3,代码来源:SolarCollectorPerformanceFlatPlate.cpp


示例4: IddObjectType

IddObjectType SetpointManagerMultiZoneHumidityMaximum::iddObjectType() {
  return IddObjectType(IddObjectType::OS_SetpointManager_MultiZone_Humidity_Maximum);
}
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:3,代码来源:SetpointManagerMultiZoneHumidityMaximum.cpp


示例5: IddObjectType

IddObjectType CoilHeatingDesuperheater::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Coil_Heating_Desuperheater);
}
开发者ID:CUEBoxer,项目名称:OpenStudio,代码行数:3,代码来源:CoilHeatingDesuperheater.cpp


示例6: IddObjectType

IddObjectType InfraredTransparentMaterial::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Material_InfraredTransparent);
}
开发者ID:ORNL-BTRIC,项目名称:OpenStudio,代码行数:3,代码来源:InfraredTransparentMaterial.cpp


示例7: IddObjectType

IddObjectType HeatBalanceAlgorithm::iddObjectType() {
  return IddObjectType(IddObjectType::OS_HeatBalanceAlgorithm);
}
开发者ID:Anto-F,项目名称:OpenStudio,代码行数:3,代码来源:HeatBalanceAlgorithm.cpp


示例8: IddObjectType

IddObjectType CoilHeatingWaterBaseboard::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Coil_Heating_Water_Baseboard);
}
开发者ID:ORNL-BTRIC,项目名称:OpenStudio,代码行数:3,代码来源:CoilHeatingWaterBaseboard.cpp


示例9: IddObjectType

IddObjectType AirTerminalSingleDuctInletSideMixer::iddObjectType() {
  return IddObjectType(IddObjectType::OS_AirTerminal_SingleDuct_InletSideMixer);
}
开发者ID:CheyenneBerlin,项目名称:OpenStudio,代码行数:3,代码来源:AirTerminalSingleDuctInletSideMixer.cpp


示例10: IddObjectType

IddObjectType AvailabilityManagerDifferentialThermostat::iddObjectType() {
  return IddObjectType(IddObjectType::OS_AvailabilityManager_DifferentialThermostat);
}
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:3,代码来源:AvailabilityManagerDifferentialThermostat.cpp


示例11: IddObjectType

IddObjectType RefractionExtinctionGlazing::iddObjectType() {
  return IddObjectType(IddObjectType::OS_WindowMaterial_Glazing_RefractionExtinctionMethod);
}
开发者ID:Anto-F,项目名称:OpenStudio,代码行数:3,代码来源:RefractionExtinctionGlazing.cpp


示例12: IddObjectType

IddObjectType HeaderedPumpsVariableSpeed::iddObjectType() {
  return IddObjectType(IddObjectType::OS_HeaderedPumps_VariableSpeed);
}
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:3,代码来源:HeaderedPumpsVariableSpeed.cpp


示例13: IddObjectType

IddObjectType DaylightRedirectionDevice::iddObjectType() {
  return IddObjectType(IddObjectType::OS_WindowMaterial_DaylightRedirectionDevice);
}
开发者ID:Anto-F,项目名称:OpenStudio,代码行数:3,代码来源:DaylightRedirectionDevice.cpp


示例14: IddObjectType

IddObjectType CoilCoolingDXTwoStageWithHumidityControlMode::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Coil_Cooling_DX_TwoStageWithHumidityControlMode);
}
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:3,代码来源:CoilCoolingDXTwoStageWithHumidityControlMode.cpp


示例15: IddObjectType

IddObjectType SetpointManagerOutdoorAirReset::iddObjectType() {
  return IddObjectType(IddObjectType::OS_SetpointManager_OutdoorAirReset);
}
开发者ID:ChengXinDL,项目名称:OpenStudio,代码行数:3,代码来源:SetpointManagerOutdoorAirReset.cpp


示例16: LOG

OptionalModelObject ReverseTranslator::translateZoneHVACEquipmentList( const WorkspaceObject & workspaceObject )
{
  if(workspaceObject.iddObject().type() != IddObjectType::ZoneHVAC_EquipmentList){
    LOG(Error, "WorkspaceObject is not IddObjectType: ZoneHVAC:EquipmentList");
     return boost::none;
  }

  boost::optional<openstudio::model::ThermalZone> thermalZone;

  std::vector<WorkspaceObject> zoneHVACEquipmentConnections = workspaceObject.getSources(IddObjectType::ZoneHVAC_EquipmentConnections);
  if (zoneHVACEquipmentConnections.size() == 0){
    LOG(Error,"No ZoneHVAC:EquipmentConnections object associated with a zone. Check that IDF file is correct.");
    return boost::none;
  }else if (zoneHVACEquipmentConnections.size() > 1){
    LOG(Error,"More than 1 ZoneHVAC:EquipmentConnections objects associated with a zone. Check that IDF file is correct.");
    return boost::none;
  }

  for( const auto & zoneHVACEquipmentConnection : zoneHVACEquipmentConnections )
  {
    if( boost::optional<std::string> name = zoneHVACEquipmentConnection.getString(ZoneHVAC_EquipmentConnectionsFields::ZoneName) )
    {
      boost::optional<model::Space> space = m_model.getModelObjectByName<model::Space>(name.get());

      if( space )
      {
        thermalZone = space->thermalZone();
      }
    }
  }

  // get extensible groups for zone HVAC equipment list
  std::vector<IdfExtensibleGroup> extensibleGroups = workspaceObject.extensibleGroups();

  // loop over extensible groups
  unsigned n = extensibleGroups.size();
  for (unsigned i = 0; i < n; ++i){
    // define variables
    boost::optional<openstudio::model::ZoneHVACComponent> zoneHVACComponent;
    // get zone equipment object type and zone equipment object name from extensible group
    boost::optional<std::string> zoneEquipmentObjectType = extensibleGroups[i].getString(ZoneHVAC_EquipmentListExtensibleFields::ZoneEquipmentObjectType);
    boost::optional<std::string> zoneEquipmentName = extensibleGroups[i].getString(ZoneHVAC_EquipmentListExtensibleFields::ZoneEquipmentName);
    // get zone equipment workspace object by type and name
    if (zoneEquipmentObjectType && zoneEquipmentName){
      OptionalWorkspaceObject zoneEquipmentWorkspaceObject = workspaceObject.workspace().getObjectByTypeAndName(IddObjectType(*zoneEquipmentObjectType),*zoneEquipmentName);
      // translate zone equipment workspace object
      if (zoneEquipmentWorkspaceObject){
        OptionalModelObject zoneEquipmentModelObject = translateAndMapWorkspaceObject(*zoneEquipmentWorkspaceObject);
        // cast zone equipment model object to zone HVAC component
        if (zoneEquipmentModelObject){
          zoneHVACComponent = zoneEquipmentModelObject->optionalCast<ZoneHVACComponent>();
        }
      }
    }
    // add to thermal zone
    if (zoneHVACComponent && thermalZone){
      zoneHVACComponent->addToThermalZone(*thermalZone);
    }
  }

  return boost::none;
}
开发者ID:ChengXinDL,项目名称:OpenStudio,代码行数:62,代码来源:ReverseTranslateZoneHVACEquipmentList.cpp


示例17: IddObjectType

IddObjectType PlantEquipmentOperationOutdoorDewpoint::iddObjectType() {
  return IddObjectType(IddObjectType::OS_PlantEquipmentOperation_OutdoorDewpoint);
}
开发者ID:NREL,项目名称:OpenStudio,代码行数:3,代码来源:PlantEquipmentOperationOutdoorDewpoint.cpp


示例18: IddObjectType

IddObjectType CoilHeatingDXMultiSpeed::iddObjectType() {
  return IddObjectType(IddObjectType::OS_Coil_Heating_DX_MultiSpeed);
}
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:3,代码来源:CoilHeatingDXMultiSpeed.cpp


示例19: IddObjectType

IddObjectType SetpointManagerScheduledDualSetpoint::iddObjectType() {
  return IddObjectType(IddObjectType::OS_SetpointManager_Scheduled_DualSetpoint);
}
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:3,代码来源:SetpointManagerScheduledDualSetpoint.cpp


示例20: IddObjectType

IddObjectType ThermalStorageIceDetailed::iddObjectType() {
  return IddObjectType(IddObjectType::OS_ThermalStorage_Ice_Detailed);
}
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:3,代码来源:ThermalStorageIceDetailed.cpp



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ Identify函数代码示例发布时间:2022-05-30
下一篇:
C++ Id函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap