Sfoglia il codice sorgente

删除一个alarm_close_total

Eric412V 3 anni fa
parent
commit
dccc7db91b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      LIB/MIDDLE/SaftyCenter/DataDiag_Static/main.py

+ 1 - 1
LIB/MIDDLE/SaftyCenter/DataDiag_Static/main.py

@@ -192,7 +192,7 @@ def DaTa_Sta_Minutes_Task():
     start_time=start_time.strftime('%Y-%m-%d')
     end_time=end_time.strftime('%Y-%m-%d')
     #............................执行程序................................
-    all_statistic_info=DataFrame(columns=['factory','total_alarm','alarm_total_today','alarm_not_close_today','alarm_close_today','alarm_uregent_total_today','alarm_uregent_close_today','alarm_uregent_not_close_today','alarm_close_total','run_time_total','dischrg_total','odo_total','max_dischrg_one','max_runtime_one','max_cycle_one','max_odo_one','alarm_close_total','alarm_total','cell_type','cell_type_count','cell_safety_risk_count','data_safety_risk_count','status_safety_risk_count','hv_safety_risk_count','system_safety_risk_count','sample_safety_risk_count','controller_safety_risk_count','design_safety_risk_count'])
+    all_statistic_info=DataFrame(columns=['factory','total_alarm','alarm_total_today','alarm_not_close_today','alarm_close_today','alarm_uregent_total_today','alarm_uregent_close_today','alarm_uregent_not_close_today','alarm_close_total','run_time_total','dischrg_total','odo_total','max_dischrg_one','max_runtime_one','max_cycle_one','max_odo_one','alarm_total','cell_type','cell_type_count','cell_safety_risk_count','data_safety_risk_count','status_safety_risk_count','hv_safety_risk_count','system_safety_risk_count','sample_safety_risk_count','controller_safety_risk_count','design_safety_risk_count'])
     for j in range(0,len(factory_info)):
         host='rm-bp10j10qy42bzy0q77o.mysql.rds.aliyuncs.com'
         port=3306