fix: 核素分析规则 增加核素识别报警,求平均值的周期和系数都整合到规则中

This commit is contained in:
xiaoguangbin 2025-01-08 17:15:45 +08:00
parent 6d0531894d
commit 139bf46ba0

View File

@ -201,19 +201,19 @@ public class AlarmAnalysisRuleServiceImpl extends ServiceImpl<AlarmAnalysisRuleM
if (null != analysisRule.getAcqTime()) {
List<String> acqTimes = ListUtil
.toList(analysisRule.getAcqTime().split(comma));
analysisRuleInfo.setColTime(acqTimes);
analysisRuleInfo.setAcqTime(acqTimes);
}
if (null != analysisRule.getXe133MDC()) {
List<String> xe133MDC = ListUtil
.toList(analysisRule.getXe133MDC().split(comma));
analysisRuleInfo.setColTime(xe133MDC);
analysisRuleInfo.setXe133MDC(xe133MDC);
}
if (null != analysisRule.getIdentifyNuclides()) {
List<String> inList = ListUtil
.toList(analysisRule.getIdentifyNuclides().split(comma));
analysisRuleInfo.setIdentifyNuclidesChecked(inList);
// analysisRuleInfo.setIdentifyNuclidesChecked(inList);
}
return Result.OK(analysisRuleInfo);
}