From 518a303b2b55d54f2e8e34069b3caccea1bc2d4c Mon Sep 17 00:00:00 2001 From: psh Date: Thu, 11 Jan 2024 16:57:09 +0800 Subject: [PATCH] fix --- .../basedriver/cw_site/CwSiteDeviceDriver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { }