添加生产镜像制作流程;
修改数据项地址分布; 修复数据读写重发逻辑; 修复字符串数据对`0xFF`数据无法解析的问题;
This commit is contained in:
@@ -188,6 +188,7 @@ def display_data(modbus_map: dict, address: int, data: list):
|
||||
""" 字符串表示 """
|
||||
data_len = current_map[2]
|
||||
item = display_str(data, data_len)
|
||||
item = item.replace(b'\xff', b' 0xFF')
|
||||
item = item.decode()
|
||||
elif current_map[1] == 5:
|
||||
""" 载波地址表示 """
|
||||
|
||||
Reference in New Issue
Block a user