File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/buildingsync/model_articulation
spec/tests/model_articulation_test Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def read_and_create_initial_systems
212212 systems_xml = xget_or_create ( 'Systems' )
213213
214214 init_hvac_systems ( systems_xml . elements [ "#{ @ns } :HVACSystems" ] )
215- init_lighting_systems ( systems_xml . elements [ "#{ @ns } :LightingSystem " ] )
215+ init_lighting_systems ( systems_xml . elements [ "#{ @ns } :LightingSystems " ] )
216216 init_load_systems ( systems_xml . elements [ "#{ @ns } :PlugLoads" ] ) # PlugLoad, not ProcessLoad
217217
218218 end
@@ -242,7 +242,7 @@ def init_lighting_systems(lighting_system_xmls)
242242 else
243243 @lighting_systems = [ ]
244244 lighting_system_xmls . elements . each do |lighting_system_xml |
245- @lighting_systems << BuildingSync ::LightingSystem . new ( lighting_system_xml , @ns )
245+ @lighting_systems << BuildingSync ::LightingSystemType . new ( lighting_system_xml , @ns )
246246 end
247247 end
248248 end
Original file line number Diff line number Diff line change 172172 @ns = 'auc'
173173 g = BuildingSync ::Generator . new
174174 doc = g . create_minimum_snippet ( 'Retail' )
175- doc_no_systems = g . create_minimum_snippet ( 'Retail) ' )
175+ doc_no_systems = g . create_minimum_snippet ( 'Retail' )
176176 @facility_no_systems_xml = g . get_first_facility_element ( doc_no_systems )
177177
178178 g . add_hvac_system_to_first_facility ( doc , 'HVACSystem-1' , 'VAV with Hot Water Reheat' )
You can’t perform that action at this time.
0 commit comments