diff --git a/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/cw_site/CwSiteDeviceDriver.java b/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/cw_site/CwSiteDeviceDriver.java index 51afc0f..5a2913b 100644 --- a/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/cw_site/CwSiteDeviceDriver.java +++ b/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.setDevice_code(this.getDeviceCode()); 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 FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest(); request.setState(String.valueOf(tier)); request.setDevice_code(this.getDeviceCode()); request.setType("2"); - acsToWmsService.notify(); + acsToWmsService.notify(request); } if (error != last_error) { }