This commit is contained in:
DingZQ
2023-05-02 22:21:35 +08:00
parent 19512339ac
commit 0398b3a954

View File

@@ -88,8 +88,8 @@ async def fastapi_import_inp(network: str, req: Request):
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['vertex'] = str(get_all_vertices(network))
# print(op['vertex'])
op['scada'] = str(get_all_scada_elements(network))
print(op['scada'])
return cs