|
|
@ -183,6 +183,7 @@ public class ExperimentConsistencyTestingService { |
|
|
|
} |
|
|
|
|
|
|
|
void docmd(String mark, A8kCmdRunnable runnable) throws AppException { |
|
|
|
UISender.txInfoMsg(log, mark); |
|
|
|
actionExecutor.docmd(mark, runnable); |
|
|
|
} |
|
|
|
|
|
|
@ -291,6 +292,7 @@ public class ExperimentConsistencyTestingService { |
|
|
|
|
|
|
|
//移动试管架到预处理位置 |
|
|
|
int finalTubeoff = tubeoff; |
|
|
|
UISender.txInfoMsg(log, "开始处理第%d个试管", finalTubeoff + 1); |
|
|
|
docmd("移动试管到处理位", () -> tubeFeedingCtrlService.moveTubeToPreProcessPos(finalTubeoff)); |
|
|
|
|
|
|
|
//尝试处理孵育完成的反应板 |
|
|
@ -329,6 +331,7 @@ public class ExperimentConsistencyTestingService { |
|
|
|
processTube(tube, tubeoff, consumableInfo, tubeSetting); |
|
|
|
if (!tube.getErrors().isEmpty()) { |
|
|
|
log.warn("样本异常,跳过当前样本"); |
|
|
|
UISender.txErrorMsg(log, tube.getErrors().getFirst(), "样本异常,跳过当前样本"); |
|
|
|
break; |
|
|
|
} |
|
|
|
docmd("HBOT复位", hbotMoveExCtrlService::moveQuickToZero); |
|
|
@ -336,6 +339,7 @@ public class ExperimentConsistencyTestingService { |
|
|
|
} |
|
|
|
|
|
|
|
incubationPlateProcess(true); |
|
|
|
UISender.txInfoPrompt(log, "试剂实验一致性检测完成"); |
|
|
|
} |
|
|
|
|
|
|
|
private void processTube(Tube tube, Integer offset, ConsumablesMgrService.ConsumableInfo consumableInfo, TubeSetting tubeSetting) throws AppException { |
|
|
|