|
|
@@ -118,6 +118,23 @@ public class DeJuRFIDService implements IService {
|
|
|
String ipAddress = hardware.getIpAddress();
|
|
|
if (clientMap.containsKey(ipAddress)) {
|
|
|
GClient client = clientMap.get(ipAddress);
|
|
|
+
|
|
|
+ MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
|
|
|
+ msgAppSetGpo.setGpo1(0);
|
|
|
+ msgAppSetGpo.setGpo2(0);
|
|
|
+ msgAppSetGpo.setGpo3(0);
|
|
|
+ msgAppSetGpo.setGpo4(0);
|
|
|
+ msgAppSetGpo.setGpo5(0);
|
|
|
+ msgAppSetGpo.setGpo6(0);
|
|
|
+ msgAppSetGpo.setGpo7(0);
|
|
|
+ msgAppSetGpo.setGpo8(0);
|
|
|
+
|
|
|
+ client.sendSynMsg(msgAppSetGpo);
|
|
|
+ if (0 == msgAppSetGpo.getRtCode()) {
|
|
|
+ log.info("Gpo epc stop successful.");
|
|
|
+ } else {
|
|
|
+ log.error("Gpo epc stop error.");
|
|
|
+ }
|
|
|
MsgBaseStop msg = new MsgBaseStop();
|
|
|
// 停止读卡,空闲态
|
|
|
client.sendSynMsg(msg);
|