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