src/main/java/org/springblade/modules/Netty/controller/nettyController.java
@@ -166,8 +166,7 @@ if (childList.get(i).get("eqid").equals(pages.get(j).getDeviceNumber())) { List<String> outData = new ArrayList<>(); outData.add("LC8109085B#@"); int code = Integer.parseInt(pages.get(j).getDeviceNumber()); Channel channel = channelHashMap.get(code); Channel channel = channelHashMap.get(pages.get(j).getDeviceNumber()); channel.writeAndFlush(Unpooled.copiedBuffer(outData.get(0), CharsetUtil.UTF_8)); } }