This commit is contained in:
USER-20220102CG\noblelift
2023-02-02 23:38:39 +08:00
parent 149efd9b4b
commit bc5b7f3743
2 changed files with 4 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
} }
if (move != last_move) { if (move != last_move) {
message = null; message = null;
if (move == 0 && mode == 2) { if (move == 0 ) {
inst_message = null; inst_message = null;
this.clearWrite(); this.clearWrite();
} }

View File

@@ -715,6 +715,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
} }
removeByCodeFromCache(entity.getInstruction_code()); removeByCodeFromCache(entity.getInstruction_code());
this.reload();
} }
@Override @Override
@@ -770,7 +771,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
deviceService.changeDeviceStatus(jo1); deviceService.changeDeviceStatus(jo1);
removeByCodeFromCache(dto.getInstruction_code()); removeByCodeFromCache(dto.getInstruction_code());
this.reload();
} }
@Override @Override
@@ -942,6 +943,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
} }
removeByCodeFromCache(entity.getInstruction_code()); removeByCodeFromCache(entity.getInstruction_code());
} }
this.reload();
} }
@Override @Override