From d8bb025a0460b883402d644f5adc98cf78181b16 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Fri, 20 Dec 2024 14:53:49 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E7=9A=84?= =?utf8?q?=E8=A7=A3=E6=9E=90=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/log_parser/runtimeanalysis.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/log_parser/runtimeanalysis.py b/tools/log_parser/runtimeanalysis.py index 57dc02cca..d16eed7ee 100644 --- a/tools/log_parser/runtimeanalysis.py +++ b/tools/log_parser/runtimeanalysis.py @@ -21,7 +21,7 @@ output_file_path = os.path.join(output_dir, "runtimeout.txt") # 从命令行参数中获取输入文件名称,如果没有提供则使用默认文件 txtname = sys.argv[-1] -# 字符串与其对应的消息的映射 +# 字符串与其对应的消息的映射 字母要小写 str_bin_list = [ ['0001', "开机 "], ['0002', "关机 "], @@ -64,9 +64,9 @@ str_bin_list = [ ['0702',"主动检测血氧结束"], ['0901',"抬腕亮屏"], ['0902',"翻腕灭屏"], - ['0B01',"电量增加"], - ['0B02',"电量减少"], - ['0C01',"马达震动"], + ['0b01',"电量增加"], + ['0b02',"电量减少"], + ['0c01',"马达震动"], ['1201',"消息弹窗显示"] ] -- 2.17.1