|
@@ -73,6 +73,8 @@ public class JingWeiCardServerHandler extends HexBinaryAcceptanceHandlerAdapter
|
|
|
switch (advice.getAdviceType()) {
|
|
|
case "KA": // 链路保持
|
|
|
sendMsg2Kafka((msg + DateUtil.formatDate2String(new Date())).getBytes(), advice.getDeviceId(), channel);
|
|
|
+ // 这里需要写死成这样,协议如此规定
|
|
|
+ advice.setFacotry("IC");
|
|
|
normalReply(advice, channel, "KA");
|
|
|
deviceChannelMap.put(advice.getDeviceId(), channel);
|
|
|
deviceMsgClient.acceptDeviceMsgParam("JingWei",
|