ty130316261 пре 3 година
родитељ
комит
0dad123f0e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      zd-modules/zd-netty/src/main/java/com/zd/netty/sdk/DeJuRFIDService.java

+ 1 - 1
zd-modules/zd-netty/src/main/java/com/zd/netty/sdk/DeJuRFIDService.java

@@ -118,7 +118,6 @@ public class DeJuRFIDService implements IService {
         String ipAddress = hardware.getIpAddress();
         String ipAddress = hardware.getIpAddress();
         if (clientMap.containsKey(ipAddress)) {
         if (clientMap.containsKey(ipAddress)) {
             GClient client = clientMap.get(ipAddress);
             GClient client = clientMap.get(ipAddress);
-
             MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
             MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
             msgAppSetGpo.setGpo1(0);
             msgAppSetGpo.setGpo1(0);
             msgAppSetGpo.setGpo2(0);
             msgAppSetGpo.setGpo2(0);
@@ -157,6 +156,7 @@ public class DeJuRFIDService implements IService {
     private void subscribeHandler(GClient client) {
     private void subscribeHandler(GClient client) {
         client.onTagEpcLog = (s, logBaseEpcInfo) -> {
         client.onTagEpcLog = (s, logBaseEpcInfo) -> {
             if (logBaseEpcInfo.getResult() == 0) {
             if (logBaseEpcInfo.getResult() == 0) {
+                log.info("===========》{}",logBaseEpcInfo.getbEpc());
                 //灯带设置
                 //灯带设置
                 MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
                 MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
                 msgAppSetGpo.setGpo1(1);
                 msgAppSetGpo.setGpo1(1);