更新配置执行方案;

This commit is contained in:
何 泽隆
2024-06-13 21:55:37 +08:00
parent 2dee6d5733
commit a96e7306b2

View File

@@ -373,11 +373,17 @@ def test_communication():
if __name__=='__main__':
mode_config = {
"Log": {'com_name': None},
"Log": {'com_name': None,
# 'addr_645': [0x01, 0x00, 0x00, 0x00, 0x00, 0x40],
},
"Debug": {'com_name': 'COM8', 'baudrate': 115200, 'parity': 'N', 'bytesize': 8, 'stopbits': 1,
'time_out': 0.1},
"HPLC": {'com_name': 'COM5', 'baudrate': 9600, 'parity': 'E', 'bytesize': 8, 'stopbits': 1,
'time_out': 1, 'retry': 10, 'retry_sub': 10},
'addr_645': [0x01, 0x02, 0x03, 0x04, 0x05, 0x06],
# 'frame_print': True,
'time_out': 0.1, 'retry': 3, 'retry_sub': 5},
"HPLC": {'com_name': 'COM4', 'baudrate': 9600, 'parity': 'E', 'bytesize': 8, 'stopbits': 1,
'addr_645': [0x01, 0x02, 0x03, 0x04, 0x05, 0x06],
# 'frame_print': True,
'time_out': 1, 'retry': 1, 'retry_sub': 10},
}