system_assignation/city_model_structure/attributes/lighting_facility.py

27 lines
500 B
Python
Raw Normal View History

2020-10-28 13:42:58 -04:00
"""
Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
class LightingFacility:
2020-10-28 13:42:58 -04:00
"""
Lighting facilities class
"""
def __init__(self, electric_power):
"""
Constructor
"""
self._electric_power = electric_power
@property
def electric_power(self):
"""
Get lighting electric power
:return: lighting electric power
"""
return self._electric_power