Get all scada devices

This commit is contained in:
WQY\qiong
2023-03-29 22:41:51 +08:00
parent 0f1d2d5435
commit 6287dcd1fe
5 changed files with 28 additions and 10 deletions

View File

@@ -851,6 +851,9 @@ def set_backdrop(name: str, cs: ChangeSet) -> ChangeSet:
def get_scada_device_schema(name: str) -> dict[str, dict[str, Any]]:
return api.get_scada_device_schema(name)
def get_scada_devices(name: str) -> list[str]:
return api.get_scada_devices(name)
def get_scada_device(name: str, id: str) -> dict[str, Any]:
return api.get_scada_device(name, id)