This commit is contained in:
psh
2024-01-11 16:57:09 +08:00
parent 61dff9a8f7
commit 518a303b2b

View File

@@ -161,15 +161,15 @@ public class CwSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devic
request.setState(String.valueOf(move)); request.setState(String.valueOf(move));
request.setDevice_code(this.getDeviceCode()); request.setDevice_code(this.getDeviceCode());
request.setType("2"); request.setType("2");
acsToWmsService.notify(); acsToWmsService.notify(request);
} }
if (tier != last_tier&&move!=0) { if (tier != last_tier&&move!=0 && this.getDeviceCode().startsWith("ZJBDJW")) {
//高度数量变更后通知lms //高度数量变更后通知lms
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest(); FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();
request.setState(String.valueOf(tier)); request.setState(String.valueOf(tier));
request.setDevice_code(this.getDeviceCode()); request.setDevice_code(this.getDeviceCode());
request.setType("2"); request.setType("2");
acsToWmsService.notify(); acsToWmsService.notify(request);
} }
if (error != last_error) { if (error != last_error) {
} }