forked from s_ranjbar/city_retrofit
47 lines
1.0 KiB
Python
47 lines
1.0 KiB
Python
|
"""
|
||
|
Building module
|
||
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
||
|
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
|
||
|
"""
|
||
|
|
||
|
|
||
|
class facilities:
|
||
|
"""
|
||
|
facilities class
|
||
|
"""
|
||
|
|
||
|
def __init__(self, operation_schedules, heat_dissipation, lighting_facilities_electric_power):
|
||
|
"""
|
||
|
Constructor
|
||
|
"""
|
||
|
|
||
|
self._operation_schedules = operation_schedules
|
||
|
self._heat_dissipation = heat_dissipation
|
||
|
self._lighting_facilities_electric_power = lighting_facilities_electric_power
|
||
|
|
||
|
|
||
|
@property
|
||
|
def operation_schedules(self):
|
||
|
"""
|
||
|
Get operation schedules of the facilities
|
||
|
:return: operation schedules
|
||
|
"""
|
||
|
return self._operation_schedules
|
||
|
|
||
|
@property
|
||
|
def heat_dissipation(self):
|
||
|
"""
|
||
|
Get heat dissipation
|
||
|
:return: heat dissipation
|
||
|
"""
|
||
|
return self._heat_dissipation
|
||
|
|
||
|
@property
|
||
|
def lighting_facilities_electric_power(self):
|
||
|
"""
|
||
|
Get electric power of the lightings
|
||
|
:return: lighting electric power
|
||
|
"""
|
||
|
return self._lighting_facilities_electric_power
|
||
|
|