Support unknown device type

This commit is contained in:
wqy
2023-10-14 15:35:16 +08:00
parent 0457492b21
commit 6c345a29dc
4 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ SCADA_DEVICE_TYPE_DEMAND = 'DEMAND'
SCADA_DEVICE_TYPE_QUALITY = 'QUALITY'
SCADA_DEVICE_TYPE_LEVEL = 'LEVEL'
SCADA_DEVICE_TYPE_FLOW = 'FLOW'
SCADA_DEVICE_TYPE_UNKNOWN = 'UNKNOWN'
def get_scada_device_schema(name: str) -> dict[str, dict[str, Any]]: