src/model/SurfacePropertyConvectionCoefficientsMultipleSurface.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #include "SurfacePropertyConvectionCoefficientsMultipleSurface.hpp" | ||
| 7 | #include "SurfacePropertyConvectionCoefficientsMultipleSurface_Impl.hpp" | ||
| 8 | |||
| 9 | #include "Schedule.hpp" | ||
| 10 | #include "Schedule_Impl.hpp" | ||
| 11 | |||
| 12 | #include <utilities/idd/IddFactory.hxx> | ||
| 13 | #include <utilities/idd/IddEnums.hxx> | ||
| 14 | #include <utilities/idd/OS_SurfaceProperty_ConvectionCoefficients_MultipleSurface_FieldEnums.hxx> | ||
| 15 | |||
| 16 | #include "../utilities/units/Unit.hpp" | ||
| 17 | |||
| 18 | #include "../utilities/core/Assert.hpp" | ||
| 19 | |||
| 20 | namespace openstudio { | ||
| 21 | namespace model { | ||
| 22 | |||
| 23 | namespace detail { | ||
| 24 | |||
| 25 | 1 | SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl(const IdfObject& idfObject, | |
| 26 | Model_Impl* model, | ||
| 27 | 1 | bool keepHandle) | |
| 28 | 1 | : ModelObject_Impl(idfObject, model, keepHandle) { | |
| 29 |
4/6✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✗ Branch 10 not taken.
✓ Branch 11 taken 1 time.
✗ Branch 13 not taken.
|
1 | OS_ASSERT(idfObject.iddObject().type() == SurfacePropertyConvectionCoefficientsMultipleSurface::iddObjectType()); |
| 30 | 1 | } | |
| 31 | |||
| 32 | ✗ | SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl( | |
| 33 | ✗ | const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 34 | ✗ | : ModelObject_Impl(other, model, keepHandle) { | |
| 35 | ✗ | OS_ASSERT(other.iddObject().type() == SurfacePropertyConvectionCoefficientsMultipleSurface::iddObjectType()); | |
| 36 | ✗ | } | |
| 37 | |||
| 38 | ✗ | SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl( | |
| 39 | ✗ | const SurfacePropertyConvectionCoefficientsMultipleSurface_Impl& other, Model_Impl* model, bool keepHandle) | |
| 40 | ✗ | : ModelObject_Impl(other, model, keepHandle) {} | |
| 41 | |||
| 42 | ✗ | const std::vector<std::string>& SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::outputVariableNames() const { | |
| 43 | ✗ | static const std::vector<std::string> result; | |
| 44 | ✗ | return result; | |
| 45 | } | ||
| 46 | |||
| 47 | ✗ | IddObjectType SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::iddObjectType() const { | |
| 48 | ✗ | return SurfacePropertyConvectionCoefficientsMultipleSurface::iddObjectType(); | |
| 49 | } | ||
| 50 | |||
| 51 | ✗ | std::vector<ScheduleTypeKey> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 52 | // TODO: Check schedule display names. | ||
| 53 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 54 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 55 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 56 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 57 | ✗ | if (std::find(b, e, OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1ScheduleName) != e) { | |
| 58 | ✗ | result.push_back(ScheduleTypeKey("SurfacePropertyConvectionCoefficientsMultipleSurface", "Convection Coefficient 1")); | |
| 59 | } | ||
| 60 | ✗ | if (std::find(b, e, OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2ScheduleName) != e) { | |
| 61 | ✗ | result.push_back(ScheduleTypeKey("SurfacePropertyConvectionCoefficientsMultipleSurface", "Convection Coefficient 2")); | |
| 62 | } | ||
| 63 | ✗ | return result; | |
| 64 | ✗ | } | |
| 65 | |||
| 66 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::surfaceType() const { | |
| 67 | ✗ | return getString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::SurfaceType, true); | |
| 68 | } | ||
| 69 | |||
| 70 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient1Location() const { | |
| 71 | ✗ | return getString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Location, true); | |
| 72 | } | ||
| 73 | |||
| 74 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient1Type() const { | |
| 75 | ✗ | return getString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Type, true); | |
| 76 | } | ||
| 77 | |||
| 78 | ✗ | boost::optional<double> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient1() const { | |
| 79 | ✗ | return getDouble(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1, true); | |
| 80 | } | ||
| 81 | |||
| 82 | ✗ | boost::optional<Schedule> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient1Schedule() const { | |
| 83 | ✗ | return getObject<ModelObject>().getModelObjectTarget<Schedule>( | |
| 84 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1ScheduleName); | |
| 85 | } | ||
| 86 | |||
| 87 | //boost::optional<UserConvectionModels> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient1UserCurve() const { | ||
| 88 | // return getObject<ModelObject>().getModelObjectTarget<UserConvectionModels>(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1UserCurveName); | ||
| 89 | //} | ||
| 90 | |||
| 91 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient2Location() const { | |
| 92 | ✗ | return getString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Location, true); | |
| 93 | } | ||
| 94 | |||
| 95 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient2Type() const { | |
| 96 | ✗ | return getString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Type, true); | |
| 97 | } | ||
| 98 | |||
| 99 | ✗ | boost::optional<double> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient2() const { | |
| 100 | ✗ | return getDouble(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2, true); | |
| 101 | } | ||
| 102 | |||
| 103 | ✗ | boost::optional<Schedule> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient2Schedule() const { | |
| 104 | ✗ | return getObject<ModelObject>().getModelObjectTarget<Schedule>( | |
| 105 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2ScheduleName); | |
| 106 | } | ||
| 107 | |||
| 108 | //boost::optional<UserConvectionModels> SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::convectionCoefficient2UserCurve() const { | ||
| 109 | // return getObject<ModelObject>().getModelObjectTarget<UserConvectionModels>(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2UserCurveName); | ||
| 110 | //} | ||
| 111 | |||
| 112 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setSurfaceType(const std::string& surfaceType) { | |
| 113 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::SurfaceType, surfaceType); | |
| 114 | ✗ | return result; | |
| 115 | } | ||
| 116 | |||
| 117 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetSurfaceType() { | |
| 118 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::SurfaceType, ""); | |
| 119 | ✗ | OS_ASSERT(result); | |
| 120 | ✗ | } | |
| 121 | |||
| 122 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient1Location( | |
| 123 | const std::string& convectionCoefficient1Location) { | ||
| 124 | bool result = | ||
| 125 | ✗ | setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Location, convectionCoefficient1Location); | |
| 126 | ✗ | return result; | |
| 127 | } | ||
| 128 | |||
| 129 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient1Location() { | |
| 130 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Location, ""); | |
| 131 | ✗ | OS_ASSERT(result); | |
| 132 | ✗ | } | |
| 133 | |||
| 134 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient1Type(const std::string& convectionCoefficient1Type) { | |
| 135 | bool result = | ||
| 136 | ✗ | setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Type, convectionCoefficient1Type); | |
| 137 | ✗ | return result; | |
| 138 | } | ||
| 139 | |||
| 140 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient1Type() { | |
| 141 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Type, ""); | |
| 142 | ✗ | OS_ASSERT(result); | |
| 143 | ✗ | } | |
| 144 | |||
| 145 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient1(double convectionCoefficient1) { | |
| 146 | ✗ | return setDouble(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1, convectionCoefficient1); | |
| 147 | } | ||
| 148 | |||
| 149 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient1() { | |
| 150 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1, ""); | |
| 151 | ✗ | OS_ASSERT(result); | |
| 152 | ✗ | } | |
| 153 | |||
| 154 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient1Schedule(Schedule& schedule) { | |
| 155 | ✗ | bool result = setSchedule(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1ScheduleName, | |
| 156 | "SurfacePropertyConvectionCoefficientsMultipleSurface", "Convection Coefficient 1", schedule); | ||
| 157 | ✗ | return result; | |
| 158 | } | ||
| 159 | |||
| 160 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient1Schedule() { | |
| 161 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1ScheduleName, ""); | |
| 162 | ✗ | OS_ASSERT(result); | |
| 163 | ✗ | } | |
| 164 | |||
| 165 | //bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient1UserCurve(const boost::optional<UserConvectionModels>& userConvectionModels) { | ||
| 166 | // bool result(false); | ||
| 167 | // if (userConvectionModels) { | ||
| 168 | // result = setPointer(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1UserCurveName, userConvectionModels.get().handle()); | ||
| 169 | // } | ||
| 170 | // else { | ||
| 171 | // resetConvectionCoefficient1UserCurve(); | ||
| 172 | // result = true; | ||
| 173 | // } | ||
| 174 | // return result; | ||
| 175 | //} | ||
| 176 | |||
| 177 | //void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient1UserCurve() { | ||
| 178 | // bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1UserCurveName, ""); | ||
| 179 | // OS_ASSERT(result); | ||
| 180 | //} | ||
| 181 | |||
| 182 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient2Location( | |
| 183 | const std::string& convectionCoefficient2Location) { | ||
| 184 | ✗ | return setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Location, | |
| 185 | ✗ | convectionCoefficient2Location); | |
| 186 | } | ||
| 187 | |||
| 188 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient2Location() { | |
| 189 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Location, ""); | |
| 190 | ✗ | OS_ASSERT(result); | |
| 191 | ✗ | } | |
| 192 | |||
| 193 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient2Type(const std::string& convectionCoefficient2Type) { | |
| 194 | ✗ | return setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Type, convectionCoefficient2Type); | |
| 195 | } | ||
| 196 | |||
| 197 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient2Type() { | |
| 198 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Type, ""); | |
| 199 | ✗ | OS_ASSERT(result); | |
| 200 | ✗ | } | |
| 201 | |||
| 202 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient2(double convectionCoefficient2) { | |
| 203 | ✗ | return setDouble(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2, convectionCoefficient2); | |
| 204 | } | ||
| 205 | |||
| 206 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient2() { | |
| 207 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2, ""); | |
| 208 | ✗ | OS_ASSERT(result); | |
| 209 | ✗ | } | |
| 210 | |||
| 211 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient2Schedule(Schedule& schedule) { | |
| 212 | ✗ | bool result = setSchedule(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2ScheduleName, | |
| 213 | "SurfacePropertyConvectionCoefficientsMultipleSurface", "Convection Coefficient 2", schedule); | ||
| 214 | ✗ | return result; | |
| 215 | } | ||
| 216 | |||
| 217 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient2Schedule() { | |
| 218 | ✗ | bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2ScheduleName, ""); | |
| 219 | ✗ | OS_ASSERT(result); | |
| 220 | ✗ | } | |
| 221 | |||
| 222 | //bool SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::setConvectionCoefficient2UserCurve(const boost::optional<UserConvectionModels>& userConvectionModels) { | ||
| 223 | // bool result(false); | ||
| 224 | // if (userConvectionModels) { | ||
| 225 | // result = setPointer(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2UserCurveName, userConvectionModels.get().handle()); | ||
| 226 | // } | ||
| 227 | // else { | ||
| 228 | // resetConvectionCoefficient2UserCurve(); | ||
| 229 | // result = true; | ||
| 230 | // } | ||
| 231 | // return result; | ||
| 232 | //} | ||
| 233 | |||
| 234 | //void SurfacePropertyConvectionCoefficientsMultipleSurface_Impl::resetConvectionCoefficient2UserCurve() { | ||
| 235 | // bool result = setString(OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2UserCurveName, ""); | ||
| 236 | // OS_ASSERT(result); | ||
| 237 | //} | ||
| 238 | |||
| 239 | } // namespace detail | ||
| 240 | |||
| 241 | 1 | SurfacePropertyConvectionCoefficientsMultipleSurface::SurfacePropertyConvectionCoefficientsMultipleSurface(const Model& model) | |
| 242 | 1 | : ModelObject(SurfacePropertyConvectionCoefficientsMultipleSurface::iddObjectType(), model) { | |
| 243 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 1 time.
✗ Branch 5 not taken.
|
1 | OS_ASSERT(getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()); |
| 244 | 1 | } | |
| 245 | |||
| 246 | 7600 | IddObjectType SurfacePropertyConvectionCoefficientsMultipleSurface::iddObjectType() { | |
| 247 |
1/1✓ Branch 1 taken 7600 times.
|
7600 | return {IddObjectType::OS_SurfaceProperty_ConvectionCoefficients_MultipleSurface}; |
| 248 | } | ||
| 249 | |||
| 250 | ✗ | std::vector<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::surfaceTypeValues() { | |
| 251 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 252 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::SurfaceType); | |
| 253 | } | ||
| 254 | |||
| 255 | ✗ | std::vector<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1LocationValues() { | |
| 256 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 257 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Location); | |
| 258 | } | ||
| 259 | |||
| 260 | ✗ | std::vector<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1TypeValues() { | |
| 261 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 262 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient1Type); | |
| 263 | } | ||
| 264 | |||
| 265 | ✗ | std::vector<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2LocationValues() { | |
| 266 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 267 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Location); | |
| 268 | } | ||
| 269 | |||
| 270 | ✗ | std::vector<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2TypeValues() { | |
| 271 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 272 | ✗ | OS_SurfaceProperty_ConvectionCoefficients_MultipleSurfaceFields::ConvectionCoefficient2Type); | |
| 273 | } | ||
| 274 | |||
| 275 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::surfaceType() const { | |
| 276 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->surfaceType(); | |
| 277 | } | ||
| 278 | |||
| 279 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1Location() const { | |
| 280 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient1Location(); | |
| 281 | } | ||
| 282 | |||
| 283 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1Type() const { | |
| 284 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient1Type(); | |
| 285 | } | ||
| 286 | |||
| 287 | ✗ | boost::optional<double> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1() const { | |
| 288 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient1(); | |
| 289 | } | ||
| 290 | |||
| 291 | ✗ | boost::optional<Schedule> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1Schedule() const { | |
| 292 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient1Schedule(); | |
| 293 | } | ||
| 294 | |||
| 295 | //boost::optional<UserConvectionModels> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient1UserCurve() const { | ||
| 296 | // return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient1UserCurve(); | ||
| 297 | //} | ||
| 298 | |||
| 299 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2Location() const { | |
| 300 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient2Location(); | |
| 301 | } | ||
| 302 | |||
| 303 | ✗ | boost::optional<std::string> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2Type() const { | |
| 304 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient2Type(); | |
| 305 | } | ||
| 306 | |||
| 307 | ✗ | boost::optional<double> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2() const { | |
| 308 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient2(); | |
| 309 | } | ||
| 310 | |||
| 311 | ✗ | boost::optional<Schedule> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2Schedule() const { | |
| 312 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient2Schedule(); | |
| 313 | } | ||
| 314 | |||
| 315 | //boost::optional<UserConvectionModels> SurfacePropertyConvectionCoefficientsMultipleSurface::convectionCoefficient2UserCurve() const { | ||
| 316 | // return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->convectionCoefficient2UserCurve(); | ||
| 317 | //} | ||
| 318 | |||
| 319 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setSurfaceType(const std::string& surfaceType) { | |
| 320 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setSurfaceType(surfaceType); | |
| 321 | } | ||
| 322 | |||
| 323 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetSurfaceType() { | |
| 324 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetSurfaceType(); | |
| 325 | ✗ | } | |
| 326 | |||
| 327 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient1Location(const std::string& convectionCoefficient1Location) { | |
| 328 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient1Location( | |
| 329 | ✗ | convectionCoefficient1Location); | |
| 330 | } | ||
| 331 | |||
| 332 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient1Location() { | |
| 333 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient1Location(); | |
| 334 | ✗ | } | |
| 335 | |||
| 336 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient1Type(const std::string& convectionCoefficient1Type) { | |
| 337 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient1Type(convectionCoefficient1Type); | |
| 338 | } | ||
| 339 | |||
| 340 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient1Type() { | |
| 341 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient1Type(); | |
| 342 | ✗ | } | |
| 343 | |||
| 344 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient1(double convectionCoefficient1) { | |
| 345 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient1(convectionCoefficient1); | |
| 346 | } | ||
| 347 | |||
| 348 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient1() { | |
| 349 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient1(); | |
| 350 | ✗ | } | |
| 351 | |||
| 352 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient1Schedule(Schedule& schedule) { | |
| 353 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient1Schedule(schedule); | |
| 354 | } | ||
| 355 | |||
| 356 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient1Schedule() { | |
| 357 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient1Schedule(); | |
| 358 | ✗ | } | |
| 359 | |||
| 360 | //bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient1UserCurve(const UserConvectionModels& userConvectionModels) { | ||
| 361 | // return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient1UserCurve(userConvectionModels); | ||
| 362 | //} | ||
| 363 | |||
| 364 | //void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient1UserCurve() { | ||
| 365 | // getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient1UserCurve(); | ||
| 366 | //} | ||
| 367 | |||
| 368 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient2Location(const std::string& convectionCoefficient2Location) { | |
| 369 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient2Location( | |
| 370 | ✗ | convectionCoefficient2Location); | |
| 371 | } | ||
| 372 | |||
| 373 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient2Location() { | |
| 374 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient2Location(); | |
| 375 | ✗ | } | |
| 376 | |||
| 377 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient2Type(const std::string& convectionCoefficient2Type) { | |
| 378 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient2Type(convectionCoefficient2Type); | |
| 379 | } | ||
| 380 | |||
| 381 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient2Type() { | |
| 382 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient2Type(); | |
| 383 | ✗ | } | |
| 384 | |||
| 385 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient2(double convectionCoefficient2) { | |
| 386 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient2(convectionCoefficient2); | |
| 387 | } | ||
| 388 | |||
| 389 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient2() { | |
| 390 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient2(); | |
| 391 | ✗ | } | |
| 392 | |||
| 393 | ✗ | bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient2Schedule(Schedule& schedule) { | |
| 394 | ✗ | return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient2Schedule(schedule); | |
| 395 | } | ||
| 396 | |||
| 397 | ✗ | void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient2Schedule() { | |
| 398 | ✗ | getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient2Schedule(); | |
| 399 | ✗ | } | |
| 400 | |||
| 401 | //bool SurfacePropertyConvectionCoefficientsMultipleSurface::setConvectionCoefficient2UserCurve(const UserConvectionModels& userConvectionModels) { | ||
| 402 | // return getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->setConvectionCoefficient2UserCurve(userConvectionModels); | ||
| 403 | //} | ||
| 404 | |||
| 405 | //void SurfacePropertyConvectionCoefficientsMultipleSurface::resetConvectionCoefficient2UserCurve() { | ||
| 406 | // getImpl<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl>()->resetConvectionCoefficient2UserCurve(); | ||
| 407 | //} | ||
| 408 | |||
| 409 | /// @cond | ||
| 410 | ✗ | SurfacePropertyConvectionCoefficientsMultipleSurface::SurfacePropertyConvectionCoefficientsMultipleSurface( | |
| 411 | ✗ | std::shared_ptr<detail::SurfacePropertyConvectionCoefficientsMultipleSurface_Impl> impl) | |
| 412 | ✗ | : ModelObject(std::move(impl)) {} | |
| 413 | /// @endcond | ||
| 414 | |||
| 415 | } // namespace model | ||
| 416 | } // namespace openstudio | ||
| 417 |