Merge remote-tracking branch 'origin/test-training2' into test
This commit is contained in:
commit
0a9d878583
@ -46,8 +46,8 @@ public class AfcTransferServer implements ApplicationRunner {
|
||||
@Override
|
||||
public void initChannel(SocketChannel ch) throws Exception {
|
||||
ChannelPipeline pipeline = ch.pipeline();
|
||||
pipeline.addLast(new ModbusTcpCodec(new ModbusRequestEncoder(), new ModbusResponseDecoder()));
|
||||
pipeline.addLast(new ModbusTcpCodec(new ModbusResponseEncoder(), new ModbusRequestDecoder()));
|
||||
pipeline.addLast(new ModbusTcpCodec(new ModbusRequestEncoder(), new ModbusRequestDecoder()));
|
||||
pipeline.addLast(new ModbusTcpCodec(new ModbusResponseEncoder(), new ModbusResponseDecoder()));
|
||||
pipeline.addLast(new AfcMessageHandler(plcGatewayConnectManager, modbusMessageHandler));
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user