|
|
@@ -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);
|