fix
This commit is contained in:
@@ -117,9 +117,9 @@ public class FoldDiscSiteDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
json.put("device_code",device_code);
|
||||
json.put("type",1);
|
||||
acsToWmsService.notify(json);
|
||||
if (number == max_emptypalletnum) {
|
||||
this.requireSucess = false;
|
||||
}
|
||||
}
|
||||
if(mode!=last_mode && mode==8){
|
||||
this.requireSucess=false;
|
||||
}
|
||||
|
||||
} catch (Exception var17) {
|
||||
@@ -154,6 +154,8 @@ public class FoldDiscSiteDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
log.debug("设备运转模式:等待工作");
|
||||
break;
|
||||
case 2:
|
||||
break;
|
||||
case 8:
|
||||
if (!this.requireSucess) {
|
||||
this.shipDeviceUpdate();
|
||||
}
|
||||
@@ -214,6 +216,7 @@ public class FoldDiscSiteDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
if (StrUtil.equals(res_jo.getString("code"), "200")) {
|
||||
log.info("叠盘位堆叠数量满自动申请搬运任务成功!");
|
||||
this.requireSucess = true;
|
||||
this.writing(8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user