mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-14 07:04:26 -04:00
Add and improve fridge
This commit is contained in:
parent
eea79e28b9
commit
7c6ac15901
7 changed files with 47 additions and 5 deletions
|
@ -22,6 +22,11 @@ class HonParameter:
|
|||
def value(self) -> str | float:
|
||||
return self._value if self._value is not None else "0"
|
||||
|
||||
@value.setter
|
||||
def value(self, value: str | float) -> None:
|
||||
self._value = value
|
||||
self.check_trigger(value)
|
||||
|
||||
@property
|
||||
def intern_value(self) -> str | float:
|
||||
return str(self._value) if self._value is not None else ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue