dynamic_building_simulation/helpers/library_codes.py
2020-05-18 13:56:54 -04:00

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]