This commit is contained in:
DingZQ
2023-05-02 22:33:42 +08:00
parent 050325beda
commit ec6c238cf0

View File

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