This commit is contained in:
DingZQ
2023-05-05 20:55:51 +08:00
parent 24ce579a7f
commit 4939312756

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)