Add inheritance to the facilities and improve the class naming

This commit is contained in:
Guille 2020-12-15 09:59:07 -05:00
parent 4390ecbad8
commit 33c773286c
4 changed files with 8 additions and 4 deletions

View File

@ -3,9 +3,10 @@ Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
from city_model_structure.attributes.facility import Facility
class DomesticHotWaterFacility:
class DomesticHotWater(Facility):
"""
Domestic Hot Water facilities class
"""

View File

@ -3,9 +3,10 @@ Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
from city_model_structure.attributes.facility import Facility
class ElectricAppliancesFacility:
class ElectricAppliances(Facility):
"""
Electric appliance facilities class
"""

View File

@ -3,9 +3,10 @@ Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
from city_model_structure.attributes.facility import Facility
class HvacFacility:
class Hvac(Facility):
"""
HVAC facilities class
"""

View File

@ -3,9 +3,10 @@ Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
from city_model_structure.attributes.facility import Facility
class LightingFacility:
class Lighting(Facility):
"""
Lighting facilities class
"""