|
@@ -121,15 +121,6 @@ public class DeJuRFIDService implements IService {
|
|
|
log.info("Reset epc error.");
|
|
log.info("Reset epc error.");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- public void stopScanner(GClient client){
|
|
|
|
|
- MsgBaseStop msgBaseStop=new MsgBaseStop();
|
|
|
|
|
- client.sendSynMsg(msgBaseStop);
|
|
|
|
|
- if (0 == msgBaseStop.getRtCode()) {
|
|
|
|
|
- log.info("Stop epc successful.");
|
|
|
|
|
- } else {
|
|
|
|
|
- log.info("Stop epc error.");
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public void disconnect(RemoteLabHardware hardware) {
|
|
public void disconnect(RemoteLabHardware hardware) {
|
|
@@ -155,12 +146,6 @@ public class DeJuRFIDService implements IService {
|
|
|
MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
|
|
MsgAppSetGpo msgAppSetGpo=new MsgAppSetGpo();
|
|
|
msgAppSetGpo.setGpo1(state);
|
|
msgAppSetGpo.setGpo1(state);
|
|
|
msgAppSetGpo.setGpo2(state);
|
|
msgAppSetGpo.setGpo2(state);
|
|
|
- msgAppSetGpo.setGpo3(state);
|
|
|
|
|
- msgAppSetGpo.setGpo4(state);
|
|
|
|
|
- msgAppSetGpo.setGpo5(state);
|
|
|
|
|
- msgAppSetGpo.setGpo6(state);
|
|
|
|
|
- msgAppSetGpo.setGpo7(state);
|
|
|
|
|
- msgAppSetGpo.setGpo8(state);
|
|
|
|
|
|
|
|
|
|
client.sendSynMsg(msgAppSetGpo);
|
|
client.sendSynMsg(msgAppSetGpo);
|
|
|
String status = state == 1 ? "start" : "stop";
|
|
String status = state == 1 ? "start" : "stop";
|