|
|
@@ -151,6 +151,9 @@ public class DeJuRFIDService implements IService {
|
|
|
String status = state == 1 ? "start" : "stop";
|
|
|
if (0 == msgAppSetGpo.getRtCode()) {
|
|
|
log.info("Gpo epc {} successful.",status);
|
|
|
+ if (state==1){
|
|
|
+ stopGpo(client);
|
|
|
+ }
|
|
|
} else {
|
|
|
log.error("Gpo epc {} error.",status);
|
|
|
}
|
|
|
@@ -176,7 +179,6 @@ public class DeJuRFIDService implements IService {
|
|
|
log.info("===========》{}",logBaseEpcInfo.getbEpc());
|
|
|
//灯带设置
|
|
|
changeGpo(1, client);
|
|
|
- stopGpo(client);
|
|
|
InventoryTag tag = new InventoryTag();
|
|
|
BeanUtils.copyProperties(logBaseEpcInfo, tag);
|
|
|
sendService.send(tag);
|