fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user