Update influxdb token

This commit is contained in:
DingZQ
2025-08-14 19:59:20 +08:00
parent e4b1648041
commit 2ed288830f
3 changed files with 6 additions and 3 deletions

View File

@@ -593,6 +593,9 @@ def run_simulation(name: str, simulation_type: str, modify_pattern_start_time: s
# 打开数据库
open_project(name_c)
dic_time = get_time(name_c)
print(dic_time)
# 获取水力模拟步长0:15:00
globals.hydraulic_timestep = dic_time['HYDRAULIC TIMESTEP']
# 将时间字符串转换为 timedelta 对象