Update get_all_device_ids

This commit is contained in:
DingZQ
2023-05-06 20:24:29 +08:00
parent 7b736f9812
commit 948f5de767

View File

@@ -1400,9 +1400,9 @@ async def fastapi_set_backdrop_properties(network: str, req: Request) -> ChangeS
async def fastapi_get_scada_device_schema(network: str) -> dict[str, dict[str, Any]]:
return get_scada_device_schema(network)
@app.get('/getscadadevices/')
async def fastapi_get_scada_devices(network: str) -> list[str]:
return get_scada_devices(network)
@app.get('/getallscadadeviceids/')
async def fastapi_get_all_scada_device_ids(network: str) -> list[str]:
return get_all_scada_device_ids(network)
@app.get('/getscadadevice/')
async def fastapi_get_scada_device(network: str, id: str) -> dict[str, Any]: