更新
This commit is contained in:
@@ -169,7 +169,8 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
|
|||||||
int nextTask = siemensConveyorDeviceDriver.getTask();
|
int nextTask = siemensConveyorDeviceDriver.getTask();
|
||||||
if (nextTask == task) {
|
if (nextTask == task) {
|
||||||
inst_message = "指令号:" + instruction.getInstruction_code() + " " + instruction.getStart_point_code() + "->" + instruction.getNext_point_code() + " 载具号:" + instruction.getVehicle_code();
|
inst_message = "指令号:" + instruction.getInstruction_code() + " " + instruction.getStart_point_code() + "->" + instruction.getNext_point_code() + " 载具号:" + instruction.getVehicle_code();
|
||||||
if (StrUtil.equals(instruction.getInstruction_status(), "1") && StrUtil.equals(this.getDeviceCode(), instruction.getNext_device_code())) {
|
if (StrUtil.equals(instruction.getInstruction_status(), "1")) {
|
||||||
|
inst = instruction;
|
||||||
finish_instruction();
|
finish_instruction();
|
||||||
this.clearWrite();
|
this.clearWrite();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user