调整当日故障时长
This commit is contained in:
@@ -1359,9 +1359,9 @@ class Sf_Dashboard_Connect(http.Controller):
|
|||||||
if result[0]:
|
if result[0]:
|
||||||
if float(result[0]) >= 28800:
|
if float(result[0]) >= 28800:
|
||||||
continue
|
continue
|
||||||
alarm_last_24_time += float(result[0])
|
alarm_last_24_time = float(result[0])
|
||||||
else:
|
else:
|
||||||
alarm_last_24_time += 0.0
|
alarm_last_24_time = 0.0
|
||||||
|
|
||||||
alarm_all_nums = []
|
alarm_all_nums = []
|
||||||
with conn.cursor() as cur:
|
with conn.cursor() as cur:
|
||||||
|
|||||||
Reference in New Issue
Block a user