|
@ -22,7 +22,6 @@ import a8k.utils.ReactionPlate2DCodeHelper; |
|
|
import a8k.utils.ZStringUtils; |
|
|
import a8k.utils.ZStringUtils; |
|
|
import jakarta.annotation.Resource; |
|
|
import jakarta.annotation.Resource; |
|
|
import org.slf4j.Logger; |
|
|
import org.slf4j.Logger; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.util.Assert; |
|
|
import org.springframework.util.Assert; |
|
|
|
|
|
|
|
@ -101,7 +100,7 @@ public class AppConsumablesScanService { |
|
|
|
|
|
|
|
|
Assert.isTrue(projCfg.projectInfo.reactionFlowType != null, "reactionType != null"); |
|
|
Assert.isTrue(projCfg.projectInfo.reactionFlowType != null, "reactionType != null"); |
|
|
|
|
|
|
|
|
Integer projIndex = projCfg.idCardInfo.projIndex; |
|
|
|
|
|
|
|
|
Integer projIndex = projCfg.idCardInfo.projId; |
|
|
A8kReactionFlowType reactionType = projCfg.projectInfo.reactionFlowType; |
|
|
A8kReactionFlowType reactionType = projCfg.projectInfo.reactionFlowType; |
|
|
if (reactionType.equals(A8kReactionFlowType.FlowType1)) { |
|
|
if (reactionType.equals(A8kReactionFlowType.FlowType1)) { |
|
|
//校验小瓶缓冲液,小瓶缓冲液+样本 |
|
|
//校验小瓶缓冲液,小瓶缓冲液+样本 |
|
@ -159,10 +158,10 @@ public class AppConsumablesScanService { |
|
|
|
|
|
|
|
|
cState.reactionPlateGroup[ch] = new ReactionPlateGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
cState.reactionPlateGroup[ch] = new ReactionPlateGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
if (reactionType.equals(A8kReactionFlowType.FlowType1)) { |
|
|
if (reactionType.equals(A8kReactionFlowType.FlowType1)) { |
|
|
cState.littBSGroup[ch] = new LittBSGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
|
|
|
|
|
|
cState.littBottleGroup[ch] = new LittBSGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
cState.larBSGroup[ch] = new LarBSGroup(); |
|
|
cState.larBSGroup[ch] = new LarBSGroup(); |
|
|
} else if (reactionType.equals(A8kReactionFlowType.FlowType2)) { |
|
|
} else if (reactionType.equals(A8kReactionFlowType.FlowType2)) { |
|
|
cState.littBSGroup[ch] = new LittBSGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
|
|
|
|
|
|
cState.littBottleGroup[ch] = new LittBSGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
cState.larBSGroup[ch] = new LarBSGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
cState.larBSGroup[ch] = new LarBSGroup(result.projIndex, a8kIdCardInfo.projName, projInfo.projShortName, result.lotId, a8kIdCardInfo.color, AppConstant.CONSUMABLE_NUM); |
|
|
} else { |
|
|
} else { |
|
|
throw new RuntimeException("未知的反应流程类型"); |
|
|
throw new RuntimeException("未知的反应流程类型"); |
|
|