|
@@ -68,7 +68,7 @@ class SafetyWarning:
|
|
|
|
|
|
if len(df_short)>1.5: #超过2行
|
|
|
#出现两次漏电流<阈值...........................................................................
|
|
|
- for i in range(self.CellVoltNums):
|
|
|
+ for i in range(self.param.CellVoltNums):
|
|
|
cellshort=df_short['cellshort'+str(i+1)]
|
|
|
index_list=cellshort[cellshort<self.param.LeakCurrentLv2].index
|
|
|
if len(index_list)>1:
|