调整当日故障时长

This commit is contained in:
mgw
2025-04-25 09:42:45 +08:00
parent bf92028027
commit e3e5fcc378

View File

@@ -1359,9 +1359,9 @@ class Sf_Dashboard_Connect(http.Controller):
if result[0]:
if float(result[0]) >= 28800:
continue
alarm_last_24_time += float(result[0])
alarm_last_24_time = float(result[0])
else:
alarm_last_24_time += 0.0
alarm_last_24_time = 0.0
alarm_all_nums = []
with conn.cursor() as cur: