|
@@ -71,9 +71,9 @@ public class JingWeiCardServerHandler extends HexBinaryAcceptanceHandlerAdapter
|
|
|
voiceReplyToClient(advice.getDeviceId(), channel);
|
|
|
|
|
|
switch (advice.getAdviceType()) {
|
|
|
- case "LK": // 链路保持
|
|
|
+ case "KA": // 链路保持
|
|
|
sendMsg2Kafka((msg + DateUtil.formatDate2String(new Date())).getBytes(), advice.getDeviceId(), channel);
|
|
|
- normalReply(advice, channel, "LK");
|
|
|
+ normalReply(advice, channel, "KA");
|
|
|
deviceChannelMap.put(advice.getDeviceId(), channel);
|
|
|
deviceMsgClient.acceptDeviceMsgParam("JingWei",
|
|
|
advice.getDeviceId(),
|