This commit is contained in:
DingZQ
2023-05-07 11:03:23 +08:00
parent 27945c3e88
commit a44f3cd18c

View File

@@ -89,8 +89,7 @@ async def fastapi_export_inp(network: str) -> ChangeSet:
cs = export_inp(network)
op = cs.operations[0]
open_project(network)
# op['vertex'] = json.dumps(get_all_vertices(network))
# print(op['vertex'])
op['vertex'] = json.dumps(get_all_vertices(network))
op['scada'] = json.dumps(get_all_scada_elements(network))
close_project(network)