|
@@ -69,7 +69,7 @@ public class ModbusTcpMaster {
|
|
|
master = modbusFactory.createTcpMaster(params, true);
|
|
|
master.init();
|
|
|
modbusMasterUtil = new ModbusMasterUtil(master);
|
|
|
- log.error("ModbusTcp:{}:{},连接成功!", getHost(), getPort());
|
|
|
+ log.info("ModbusTcp:{}:{},连接成功!", getHost(), getPort());
|
|
|
break;
|
|
|
} catch (Exception e) {
|
|
|
log.error("ModbusTcp:{}:{},连接失败!", getHost(), getPort(), e);
|