qingfeng 2 年之前
父節點
當前提交
af7c3e1ead
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      LIB/MIDDLE/CellStateEstimation/BatSafetyWarning/V1_0_1/CBMSBatInterShort.py

+ 2 - 2
LIB/MIDDLE/CellStateEstimation/BatSafetyWarning/V1_0_1/CBMSBatInterShort.py

@@ -426,7 +426,7 @@ class BatInterShort():
             dict_bal2={}
         else:
             deltvolt_last2=[np.array(x) for x in df_ram_chrgvolt.loc[0,'deltvolt']]
-            time_last2=df_ram_chrgvolt.loc[0,'time2']
+            time_last2=df_ram_chrgvolt.loc[0,'time']
             temp_mean_last=df_ram_chrgvolt.loc[0,'temp_avg']
             packcrnt_mean_last=df_ram_chrgvolt.loc[0,'packcrnt_avg']
             firsttime2=0
@@ -721,7 +721,7 @@ class BatInterShort():
             dict_bal2={}
         else:
             deltvolt_last2=[np.array(x) for x in df_ram_chrgvolt.loc[0,'deltvolt']]
-            time_last2=df_ram_chrgvolt.loc[0,'time2']
+            time_last2=df_ram_chrgvolt.loc[0,'time']
             temp_mean_last=df_ram_chrgvolt.loc[0,'temp_avg']
             packcrnt_mean_last=df_ram_chrgvolt.loc[0,'packcrnt_avg']
             firsttime2=0