psh 11 months ago
parent
commit
518a303b2b
  1. 6
      acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/cw_site/CwSiteDeviceDriver.java

6
acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/cw_site/CwSiteDeviceDriver.java

@ -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) {
} }

Loading…
Cancel
Save