更新配置执行方案;
This commit is contained in:
@@ -373,11 +373,17 @@ def test_communication():
|
|||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
mode_config = {
|
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,
|
"Debug": {'com_name': 'COM8', 'baudrate': 115200, 'parity': 'N', 'bytesize': 8, 'stopbits': 1,
|
||||||
'time_out': 0.1},
|
'addr_645': [0x01, 0x02, 0x03, 0x04, 0x05, 0x06],
|
||||||
"HPLC": {'com_name': 'COM5', 'baudrate': 9600, 'parity': 'E', 'bytesize': 8, 'stopbits': 1,
|
# 'frame_print': True,
|
||||||
'time_out': 1, 'retry': 10, 'retry_sub': 10},
|
'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},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user