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