qingfeng 2 years ago
parent
commit
6f1f0c29bb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      LIB/FRONTEND/FaultDetection/main_pred.py

+ 2 - 0
LIB/FRONTEND/FaultDetection/main_pred.py

@@ -57,6 +57,8 @@ def diag_cal():
     for sn in SNnums:
         try:
             group=sn[:5]
+            if group=='UD020':
+                group='MGMCL'
             df_data = dbManager.get_data(sn=sn, start_time=start_time, end_time=end_time, data_groups=['bms'])
             data_bms = df_data['bms']
             data_bms['sn']=sn