Commit 14c2f6fd authored by 耿迪迪's avatar 耿迪迪

接受设备上报

parent f94620d2
......@@ -83,7 +83,7 @@ public class ServerHandler extends ChannelInboundHandlerAdapter {
SocketChannel channel=(SocketChannel)ctx.channel();
int port = channel.localAddress().getPort();
TDeviceReportData tDeviceReportData = new TDeviceReportData();
TDeviceReportData tDeviceReportData;
if(7397 == port){
tDeviceReportData = new DecryptReportedData(msgStr,"nacangEVC300").getReportedData();
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment