introduced some enums to classes

This commit is contained in:
2023-02-17 20:00:46 +01:00
parent d9945d4054
commit 9f8ab3e235
6 changed files with 10 additions and 6 deletions

View File

@ -4,6 +4,7 @@
@author J. Meier
@date 20.06.2021
"""
import enum
import struct
from typing import List
@ -64,7 +65,7 @@ class InfoAss:
ALL_SPEED_OFF = "Speed down to 0"
class RwSetId:
class RwSetId(enum.IntEnum):
STATUS_SET_ID = 4
TEMPERATURE_SET_ID = 8
LAST_RESET = 2