调整脚本结构, 清理冗余代码;

This commit is contained in:
何 泽隆
2024-08-29 16:53:28 +08:00
parent 5cb2a423c6
commit 7bbe0a08ef
8 changed files with 468 additions and 267 deletions

View File

@@ -1,6 +1,6 @@
import struct
from crc import Calculator, Crc16
from utl import display_hex, trans_list_to_str
from tools.ByteConv import trans_list_to_str, display_hex
modbus_map = {
# 1 - Hex