Browse Source

RFID设备警报选择控制

ty130316261 3 years ago
parent
commit
817fd63897

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

@@ -134,7 +134,6 @@ public class DeJuRFIDService implements IService {
         String ipAddress = hardware.getIpAddress();
         if (clientMap.containsKey(ipAddress)){
             GClient client = clientMap.get(ipAddress);
-            log.info("报警状态:==============》{}",isAlarm.get());
             if (!isAlarm.get()) {
                 scheduledExecutorService.execute(() -> {
                     isAlarm.set(true);
@@ -164,7 +163,6 @@ public class DeJuRFIDService implements IService {
         client.sendSynMsg(msgAppSetGpo);
         String status = state == 1 ? "start" : "stop";
         if (0 == msgAppSetGpo.getRtCode()) {
-            log.info("============》灯带{}成功.",status);
             if (state == 1) {
                 stopGpo(client, delayTime);
             } else {
@@ -200,7 +198,7 @@ public class DeJuRFIDService implements IService {
         }
         client.onTagEpcLog = (s, logBaseEpcInfo) -> {
             if (logBaseEpcInfo.getResult() == 0) {
-                log.info("===========》{}", logBaseEpcInfo.getbEpc());
+                log.info("===========》{}", logBaseEpcInfo.getEpc());
                 InventoryTag tag = new InventoryTag();
                 BeanUtils.copyProperties(logBaseEpcInfo, tag);
                 tag.setRemoteLabHardware(hardware);

+ 0 - 1
zd-modules/zd-netty/src/main/java/com/zd/netty/service/impl/SendServiceImpl.java

@@ -22,7 +22,6 @@ public class SendServiceImpl implements ISendService {
 
     @Override
     public void send(InventoryTag tag) {
-        log.info("==============================================reader1 inventory tag :" + tag.toString());
         try {
             bottleService.remoteAdd(tag);
         } catch (Exception e) {