33 lines
641 B
Python
33 lines
641 B
Python
"""
|
|
HvacSystem module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2022 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
|
"""
|
|
from typing import Union
|
|
|
|
|
|
class HvacSystem:
|
|
"""
|
|
HvacSystem class
|
|
"""
|
|
def __init__(self):
|
|
self._type = None
|
|
|
|
@property
|
|
def type(self) -> Union[None, str]:
|
|
"""
|
|
Get hvac system type a thermal zone
|
|
:return: None or str
|
|
"""
|
|
return self._type
|
|
|
|
@type.setter
|
|
def type(self, value):
|
|
"""
|
|
Set heating set point defined for a thermal zone
|
|
:param value: str
|
|
"""
|
|
if value is not None:
|
|
self._type = str(value)
|
|
|