Commit 49cd6f60 by 李杨杨

CLPP匹配不上时发送999

1 parent 3144c98c
This file is too large to display.
...@@ -602,6 +602,8 @@ def recv_data(): ...@@ -602,6 +602,8 @@ def recv_data():
if event_data.has_key('CLPP'): if event_data.has_key('CLPP'):
print('CLPP-----1',event_data['CLPP']) print('CLPP-----1',event_data['CLPP'])
event_data['CLPP'] = convert_code(event_data['CLPP'], wenan_code_huawei_code_CLPP) event_data['CLPP'] = convert_code(event_data['CLPP'], wenan_code_huawei_code_CLPP)
if event_data['CLPP'] == None:
event_data['CLPP'] = '999'
print('CLPP------2',event_data['CLPP']) print('CLPP------2',event_data['CLPP'])
# 转换车身颜色-----已转换国标,不需要转换 # 转换车身颜色-----已转换国标,不需要转换
# if event_data.has_key('CSYS1'): # if event_data.has_key('CSYS1'):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!