|
@@ -162,7 +162,7 @@ class BatDiag:
|
|
if voltfail_time>self.param.volt_time: #持续时间
|
|
if voltfail_time>self.param.volt_time: #持续时间
|
|
time=self.bmstime[i]
|
|
time=self.bmstime[i]
|
|
code='C309'
|
|
code='C309'
|
|
- faultlv=3
|
|
|
|
|
|
+ faultlv=4
|
|
faultinfo='电芯电压采样系统失效'
|
|
faultinfo='电芯电压采样系统失效'
|
|
faultadvice='通知用户更换电池,电池返厂维修'
|
|
faultadvice='通知用户更换电池,电池返厂维修'
|
|
self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
|
|
self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
|
|
@@ -460,7 +460,7 @@ class BatDiag:
|
|
if ot_time>self.param.temp_time:
|
|
if ot_time>self.param.temp_time:
|
|
time=self.bmstime[i]
|
|
time=self.bmstime[i]
|
|
code='C302'
|
|
code='C302'
|
|
- faultlv=3
|
|
|
|
|
|
+ faultlv=4
|
|
faultinfo='温度{}高温'.format(celltemp1.index(celltempmax1)+1)
|
|
faultinfo='温度{}高温'.format(celltemp1.index(celltempmax1)+1)
|
|
faultadvice='技术介入诊断'
|
|
faultadvice='技术介入诊断'
|
|
self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
|
|
self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
|