This commit is contained in:
DingZQ
2025-02-23 00:24:49 +08:00
parent aed90cfc7d
commit 7d8562ae38
2 changed files with 8 additions and 4 deletions

View File

@@ -2016,7 +2016,8 @@ async def fastapi_calculate_demand_to_network(network: str, demand: float) -> di
############################################################
@app.get('/getscadainfoschema/')
async def fastapi_get_scada_info_schema(network: str) -> dict[str, dict[str, Any]]:
return api.get_scada_info_schema(network)
#return api.get_scada_info_schema(network)
return {}
@app.get('/getscadainfo/')
async def fastapi_get_scada_info(network: str, id: str) -> dict[str, float]: