|
@@ -48,9 +48,9 @@ class CtrlSafty:
|
|
|
OtherTempNum=['其他温度'+str(i) for i in range(1,param.OtherTempNums+1)]
|
|
|
|
|
|
CellTempMax=bms_info[bms_info[CellTempNum]>(param.CellMaxUSBTemp-5)]
|
|
|
- CellTempMax=CellTempMax[CellTempMax<(param.CellMaxUSBTemp+5)]
|
|
|
+ CellTempMax=CellTempMax[CellTempMax<(param.CellMaxUSBTemp+5)].dropna(axis=0,how='all')
|
|
|
OtherTempMax=bms_info[bms_info[OtherTempNum]>(param.OtherOTlmt-10)]
|
|
|
- OtherTempMax=OtherTempMax[OtherTempMax[OtherTempNum]<(param.OtherOTlmt+5)]
|
|
|
+ OtherTempMax=OtherTempMax[OtherTempMax[OtherTempNum]<(param.OtherOTlmt+5)].dropna(axis=0,how='all')
|
|
|
if len(CellTempMax) and len(OtherTempMax):
|
|
|
QuitErrCount[57]=0
|
|
|
if not 57 in df_Diag_Ram['code'].values.tolist():
|
|
@@ -70,5 +70,4 @@ class CtrlSafty:
|
|
|
pass
|
|
|
else:
|
|
|
pass
|
|
|
- print(df_Diag_Ram)
|
|
|
return df_Diag_Ram
|