This commit is contained in:
DingZQ
2023-05-05 21:34:34 +08:00
parent 126e05cd59
commit 7b736f9812

View File

@@ -89,8 +89,8 @@ 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))
print(op['vertex'])
op['scada'] = json.dumps(get_all_scada_elements(network))
close_project(network)