zengfr / easymodbus4j

easymodbus4j是一个高性能和易用的 Modbus 协议的 Java 实现,基于 Netty 开发,可用于 Modbus协议的Java客户端和服务器开发, A high-performance and ease-of-use implementation of the Modbus protocol written in Java netty support for modbus 4 mode..

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChannelSender.unitId在同时连接两个modusSlave的时候会导致unitId相同

TomGitHome opened this issue · comments

image

使用全局变量在同时启动连接两个modusSlave的时候,会出现ID相同的
image
image

image

使用全局变量在同时启动连接两个modusSlave的时候,会出现ID相同的 image image

var sender=new ChannelSender(XX,XX);