2020-05-18 13:25:08 -04:00
|
|
|
class UsFunctionToUsage:
|
|
|
|
building_usage = {
|
|
|
|
'full service restaurant': 'restaurant',
|
|
|
|
'highrise apartment': 'residential',
|
|
|
|
'hospital': 'health care',
|
|
|
|
'large hotel': 'hotel',
|
|
|
|
'large office': 'office and administration',
|
|
|
|
'medium office': 'office and administration',
|
|
|
|
'midrise apartment': 'residential',
|
|
|
|
'outpatient healthcare': 'health care',
|
|
|
|
'primary school': 'education',
|
|
|
|
'quick service restaurant': 'restaurant',
|
|
|
|
'secondary school': 'education',
|
|
|
|
'small hotel': 'hotel',
|
|
|
|
'small office': 'office and administration',
|
|
|
|
'stand alone retail': 'retail',
|
|
|
|
'strip mall': 'hall',
|
|
|
|
'supermarket': 'retail',
|
|
|
|
'warehouse': 'industry'
|
|
|
|
}
|
|
|
|
|
|
|
|
@staticmethod
|
2020-05-19 12:18:15 -04:00
|
|
|
def usage(building_function):
|
2020-05-18 13:25:08 -04:00
|
|
|
return UsFunctionToUsage.building_usage[building_function]
|
|
|
|
|
2020-05-19 12:18:15 -04:00
|
|
|
|