This commit is contained in:
DingZQ
2025-03-21 21:53:42 +08:00
parent 442dab54da
commit 7108e8f70d
2 changed files with 6 additions and 1 deletions

View File

@@ -102,7 +102,8 @@ def query_pg_scada_info_non_realtime(name: str) -> None:
open_project(name)
dic_time = get_time(name)
globals.hydraulic_timestep = dic_time['HYDRAULIC TIMESTEP']
close_project(name)
# DingZQ, 2025-03-21
#close_project(name)
# 连接数据库
conn_string = f"dbname={name} host=127.0.0.1"
try: