This commit is contained in:
DingZQ
2023-05-02 22:21:02 +08:00
parent 8bceb014c3
commit 19512339ac

View File

@@ -89,7 +89,9 @@ async def fastapi_export_inp(network: str) -> ChangeSet:
cs = export_inp(network)
op = cs.operations[0]
op['vertex'] = str(get_all_vertices(network))
print(op['vertex'])
op['scada'] = str(get_all_scada_elements(network))
print(op['scada'])
return cs
@app.post("/readinp/")