|
|
@ -481,7 +481,7 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme |
|
|
|
} |
|
|
|
|
|
|
|
if (this.front_Zerror == ErrorEnum.ZD.getCode() && this.back_Zerror == ErrorEnum.ZD.getCode() |
|
|
|
&& this.front_command == CommandEnum.PICKUP.getStatus() && this.back_command == CommandEnum.PICKUP.getStatus() |
|
|
|
&& this.front_forkCargo == 0 && this.back_forkCargo == 0 |
|
|
|
) { |
|
|
|
if (!this.againRequireSuccess) { |
|
|
|
this.getzD(this.front_task); |
|
|
@ -489,26 +489,26 @@ public class StandardStackerDeviceDriver extends AbstractOpcDeviceDriver impleme |
|
|
|
} |
|
|
|
} else if (this.front_Zerror == ErrorEnum.ZD.getCode()) { |
|
|
|
if (!this.againRequireSuccess) { |
|
|
|
if (this.front_command == CommandEnum.PICKUP.getStatus()) { |
|
|
|
if (this.front_forkCargo == 0) { |
|
|
|
this.getzD(this.front_task); |
|
|
|
Instruction back_inst = instructionService.findByCodeFromCache(String.valueOf(this.back_task)); |
|
|
|
if (ObjectUtil.isNotEmpty(back_inst)) { |
|
|
|
this.backWrite(back_inst); |
|
|
|
} |
|
|
|
} else if (this.front_command == CommandEnum.RELEASE.getStatus()) { |
|
|
|
} else if (this.front_forkCargo == 2) { |
|
|
|
this.putzD(this.front_task, ForkTypeEnum.FRONT.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
} else if (this.back_Zerror == ErrorEnum.ZD.getCode()) { |
|
|
|
if (!this.againRequireSuccess) { |
|
|
|
if (this.back_command == CommandEnum.PICKUP.getStatus()) { |
|
|
|
if (this.back_forkCargo == 0) { |
|
|
|
this.getzD(this.back_task); |
|
|
|
Instruction front_inst = instructionService.findByCodeFromCache(String.valueOf(this.front_task)); |
|
|
|
if (ObjectUtil.isNotEmpty(front_inst)) { |
|
|
|
this.frontWrite(front_inst); |
|
|
|
} |
|
|
|
} else if (this.back_command == CommandEnum.RELEASE.getStatus()) { |
|
|
|
} else if (this.back_forkCargo == 2) { |
|
|
|
this.putzD(this.back_task, ForkTypeEnum.BACK.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|