|
@@ -222,7 +222,7 @@ public class EnvInputServerHandler extends ChannelInboundHandlerAdapter {
|
|
System.out.println("##高温,低温报警参数请求-未注册设备 idCode=" + idCode);
|
|
System.out.println("##高温,低温报警参数请求-未注册设备 idCode=" + idCode);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- String answerText = "hm+115+18+265+12+6+end";
|
|
|
|
|
|
+ String answerText = "hm+"+idCode+"+18+265+12+6+end";
|
|
log.info(">>高温,低温报警参数请求-应答数据>>" + answerText);
|
|
log.info(">>高温,低温报警参数请求-应答数据>>" + answerText);
|
|
answerCmd(answerText, ctx);
|
|
answerCmd(answerText, ctx);
|
|
}
|
|
}
|