fix:修复堆垛机命令变化不能再次申请问题
This commit is contained in:
@@ -236,7 +236,6 @@ public class BeltConveyorDeviceDriver extends AbstractOpcDeviceDriver implements
|
|||||||
|
|
||||||
|
|
||||||
if (mode != last_mode) {
|
if (mode != last_mode) {
|
||||||
|
|
||||||
requireSucess = false;
|
requireSucess = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -322,6 +322,10 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme
|
|||||||
trayCode = this.itemProtocol.getItem_trayCode();
|
trayCode = this.itemProtocol.getItem_trayCode();
|
||||||
storage_cache = this.itemProtocol.getItem_storage_cache();
|
storage_cache = this.itemProtocol.getItem_storage_cache();
|
||||||
|
|
||||||
|
if (!command.equals(last_command)){
|
||||||
|
requireSucess=false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 更新指令状态
|
// 更新指令状态
|
||||||
if (mode == 3 && task > 0) {
|
if (mode == 3 && task > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user