Class: BTAP::EQuest::LayerManager::Layer
- Inherits:
-
Object
- Object
- BTAP::EQuest::LayerManager::Layer
- Defined in:
- lib/openstudio-standards/btap/equest.rb
Instance Attribute Summary collapse
-
#air_space ⇒ Object
Returns the value of attribute air_space.
-
#conductivity ⇒ Object
Returns the value of attribute conductivity.
-
#density ⇒ Object
Returns the value of attribute density.
-
#name ⇒ Object
Returns the value of attribute name.
-
#resistance ⇒ Object
Returns the value of attribute resistance.
-
#specific_heat ⇒ Object
Returns the value of attribute specific_heat.
-
#thickness ⇒ Object
Returns the value of attribute thickness.
Instance Method Summary collapse
-
#initialize ⇒ Layer
constructor
A new instance of Layer.
- #output ⇒ Object
- #set(thickness, conductivity, density, specific_heat) ⇒ Object
- #set_air_space(thickness, resistance) ⇒ Object
Constructor Details
#initialize ⇒ Layer
Returns a new instance of Layer.
2397 2398 2399 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2397 def initialize @air_space = false end |
Instance Attribute Details
#air_space ⇒ Object
Returns the value of attribute air_space.
2395 2396 2397 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2395 def air_space @air_space end |
#conductivity ⇒ Object
Returns the value of attribute conductivity.
2392 2393 2394 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2392 def conductivity @conductivity end |
#density ⇒ Object
Returns the value of attribute density.
2393 2394 2395 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2393 def density @density end |
#name ⇒ Object
Returns the value of attribute name.
2390 2391 2392 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2390 def name @name end |
#resistance ⇒ Object
Returns the value of attribute resistance.
2396 2397 2398 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2396 def resistance @resistance end |
#specific_heat ⇒ Object
Returns the value of attribute specific_heat.
2394 2395 2396 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2394 def specific_heat @specific_heat end |
#thickness ⇒ Object
Returns the value of attribute thickness.
2391 2392 2393 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2391 def thickness @thickness end |
Instance Method Details
#output ⇒ Object
2411 2412 2413 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2411 def output string = "Airspace = #{@air_space}\nThickness = #{@thickness}\nConductivity = #{@conductivity}\nResistance = #{@resistance}\nDensity = #{@density}\nSpecificHeat = #{@specific_heat}\n" end |
#set(thickness, conductivity, density, specific_heat) ⇒ Object
2401 2402 2403 2404 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2401 def set( thickness, conductivity, density, specific_heat) @thickness, @conductivity, @density, @specific_heat = thickness, conductivity, density, specific_heat @airspace = false end |
#set_air_space(thickness, resistance) ⇒ Object
2406 2407 2408 2409 |
# File 'lib/openstudio-standards/btap/equest.rb', line 2406 def set_air_space(thickness, resistance) @thickness, @resistance = thickness, resistance @air_space = true end |