|
@@ -83,6 +83,7 @@ for k in range(l):
|
|
|
end_time='0000-00-00 00:00:00'
|
|
|
else:
|
|
|
end_time=outliers.loc[outliers.index[-1],'时间']
|
|
|
+ end_time=end_time+'0:00'
|
|
|
code='C493'
|
|
|
level=4
|
|
|
info='热失控预警'
|
|
@@ -97,6 +98,7 @@ for k in range(l):
|
|
|
end_time='0000-00-00 00:00:00'
|
|
|
else:
|
|
|
end_time=outliers.loc[outliers.index[-1],'时间']
|
|
|
+ end_time=end_time+'0:00'
|
|
|
df_diag_ram_sn['end_time']=end_time
|
|
|
with open(r'D:\Platform\platform_python\data_analyze_platform\USER\spf\01qixiang\06BatSafetyAlarm\热失控报警.txt','a') as file:
|
|
|
file.write(str(tuple(df_diag_ram_sn.iloc[-1]))+'\n')
|