fix
This commit is contained in:
@@ -160,15 +160,16 @@ public class CwSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devic
|
|||||||
if (move !=last_move||tier!=last_tier){
|
if (move !=last_move||tier!=last_tier){
|
||||||
resultSucess=false;
|
resultSucess=false;
|
||||||
}
|
}
|
||||||
if (tier != last_tier&&move!=0 && this.getDeviceCode().endsWith("0101")||this.getDeviceCode().endsWith("0201") &&!resultSucess) {
|
// if (tier != last_tier&&move!=0 && this.getDeviceCode().endsWith("0101")||this.getDeviceCode().endsWith("0201") &&!resultSucess) {
|
||||||
//高度数量变更后通知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(request);
|
// acsToWmsService.notify(request);
|
||||||
resultSucess=true;
|
// resultSucess=true;
|
||||||
}else if (move ==1 &&
|
// }else
|
||||||
|
if (move ==1 &&
|
||||||
(this.getDeviceCode().startsWith("ZJBDJW"))&&!resultSucess) {
|
(this.getDeviceCode().startsWith("ZJBDJW"))&&!resultSucess) {
|
||||||
//点位数量变更后通知lms
|
//点位数量变更后通知lms
|
||||||
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();
|
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();
|
||||||
|
|||||||
Reference in New Issue
Block a user