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 02ff5b5..82a937d 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 @@ -160,15 +160,16 @@ public class CwSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devic if (move !=last_move||tier!=last_tier){ resultSucess=false; } - if (tier != last_tier&&move!=0 && this.getDeviceCode().endsWith("0101")||this.getDeviceCode().endsWith("0201") &&!resultSucess) { - //高度数量变更后通知lms - FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest(); - request.setState(String.valueOf(tier)); - request.setDevice_code(this.getDeviceCode()); - request.setType("2"); - acsToWmsService.notify(request); - resultSucess=true; - }else if (move ==1 && +// if (tier != last_tier&&move!=0 && this.getDeviceCode().endsWith("0101")||this.getDeviceCode().endsWith("0201") &&!resultSucess) { +// //高度数量变更后通知lms +// FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest(); +// request.setState(String.valueOf(tier)); +// request.setDevice_code(this.getDeviceCode()); +// request.setType("2"); +// acsToWmsService.notify(request); +// resultSucess=true; +// }else + if (move ==1 && (this.getDeviceCode().startsWith("ZJBDJW"))&&!resultSucess) { //点位数量变更后通知lms FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();