package com.zt.plat.module.qms.business.bus.liteflow.sample.analysisaudit;

import java.math.BigDecimal;
import java.util.List;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeComponent;
import com.zt.plat.module.qms.business.config.dal.dataobject.ConfigAssayMethodProjectAssessmentDO;
import com.zt.plat.module.qms.business.config.dal.mapper.ConfigAssayMethodProjectAssessmentMapper;

import jakarta.annotation.Resource;

@LiteflowComponent(id = "sampleAnalysisProjectAssessmentCmp", name = "样品分析项目判定")
public class SampleAnalysisProjectAssessmentCmp extends NodeComponent {
	
	@Resource
	private ConfigAssayMethodProjectAssessmentMapper configAssayMethodProjectAssessmentMapper;

	@Override
	public void process() throws Exception {
		
		List<ConfigAssayMethodProjectAssessmentDO> configAssayMethodProjectAssessmentList = configAssayMethodProjectAssessmentMapper.selectList();

        BigDecimal min_yc = BigDecimal.ZERO;//最小允差
        BigDecimal max_yc = BigDecimal.ZERO;//最大允差
        BigDecimal min_va = BigDecimal.ZERO;//最小值
        BigDecimal max_va = BigDecimal.ZERO;//最大值
        BigDecimal k = BigDecimal.ZERO;//斜率k
        BigDecimal b = BigDecimal.ZERO;//纵截距b
        BigDecimal c = BigDecimal.ZERO;//调整参数
        BigDecimal yc_value = BigDecimal.ZERO;//允差值
        
	}

}
