|
@ -285,6 +285,10 @@ public class DigestionTaskThread extends Thread { |
|
|
// 拍照检查异常试管 |
|
|
// 拍照检查异常试管 |
|
|
this.executeLastRoundTakeShotAndCheckErrorTubes(); |
|
|
this.executeLastRoundTakeShotAndCheckErrorTubes(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果启用异常处理则执行异常处理操作 |
|
|
|
|
|
Boolean errorProcessEnable = UfMdbOption.getBoolean("DigestionTaskErrorProcessEnable", true); |
|
|
|
|
|
if ( errorProcessEnable ) { |
|
|
// 申请异常处理位 |
|
|
// 申请异常处理位 |
|
|
var errorSlot = device.heatingTurntable.getErrorSlot(); |
|
|
var errorSlot = device.heatingTurntable.getErrorSlot(); |
|
|
var emptyTubeIndexes = errorSlot.getEmptyTubeIndexes(this.errorTubeIndexes.size()); |
|
|
var emptyTubeIndexes = errorSlot.getEmptyTubeIndexes(this.errorTubeIndexes.size()); |
|
@ -319,6 +323,8 @@ public class DigestionTaskThread extends Thread { |
|
|
// 启动异常处理线程 |
|
|
// 启动异常处理线程 |
|
|
DigestionTaskThread.this.errorProcessThread = new Thread(DigestionTaskThread.this::executeErrorProcess); |
|
|
DigestionTaskThread.this.errorProcessThread = new Thread(DigestionTaskThread.this::executeErrorProcess); |
|
|
DigestionTaskThread.this.errorProcessThread.start(); |
|
|
DigestionTaskThread.this.errorProcessThread.start(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 预检查完成 |
|
|
// 预检查完成 |
|
|
DigestionTaskThread.this.isPrecheckFinished = true; |
|
|
DigestionTaskThread.this.isPrecheckFinished = true; |
|
|
synchronized ( DigestionTaskThread.this.precheckLock ) { |
|
|
synchronized ( DigestionTaskThread.this.precheckLock ) { |
|
|