固化室一键出库

This commit is contained in:
psh
2024-03-25 09:00:33 +08:00
parent 5124b3c782
commit 4787d83f85
2 changed files with 9 additions and 6 deletions

View File

@@ -119,10 +119,13 @@ public class StandardAutodoorDeviceDriver extends AbstractOpcDeviceDriver implem
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();
request.setState(String.valueOf(state));
request.setDevice_code(this.getDeviceCode());
request.setType("1");
acsToWmsService.notify(request);
if(state==4) {
this. writing(ItemProtocol.item_to_state,4);
if(state==4){
request.setType("4");
acsToWmsService.notify(request);
this.writing(ItemProtocol.item_to_state,4);
}else {
request.setType("1");
acsToWmsService.notify(request);
}
}
last_action = action;