mirror of
https://rs-loy-gitlab.concordia.ca/PMAU/DynamicBuildingSimulation.git
synced 2024-11-14 23:10:28 -05:00
14 lines
321 B
Python
14 lines
321 B
Python
class LibraryCodes(object):
|
|
construction_code = {
|
|
'Wall': '1',
|
|
'Ground': '2',
|
|
'Roof': '3',
|
|
'interior wall': '5',
|
|
'ground wall': '6',
|
|
'attic floor': '7',
|
|
'interior slab': '8'
|
|
}
|
|
|
|
def construction_types_to_code(self, construction_type):
|
|
return self.construction_code[construction_type]
|