fix: 核素分析规则 增加核素识别报警,求平均值的周期和系数都整合到规则中
This commit is contained in:
parent
6d0531894d
commit
139bf46ba0
|
@ -201,19 +201,19 @@ public class AlarmAnalysisRuleServiceImpl extends ServiceImpl<AlarmAnalysisRuleM
|
||||||
if (null != analysisRule.getAcqTime()) {
|
if (null != analysisRule.getAcqTime()) {
|
||||||
List<String> acqTimes = ListUtil
|
List<String> acqTimes = ListUtil
|
||||||
.toList(analysisRule.getAcqTime().split(comma));
|
.toList(analysisRule.getAcqTime().split(comma));
|
||||||
analysisRuleInfo.setColTime(acqTimes);
|
analysisRuleInfo.setAcqTime(acqTimes);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null != analysisRule.getXe133MDC()) {
|
if (null != analysisRule.getXe133MDC()) {
|
||||||
List<String> xe133MDC = ListUtil
|
List<String> xe133MDC = ListUtil
|
||||||
.toList(analysisRule.getXe133MDC().split(comma));
|
.toList(analysisRule.getXe133MDC().split(comma));
|
||||||
analysisRuleInfo.setColTime(xe133MDC);
|
analysisRuleInfo.setXe133MDC(xe133MDC);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null != analysisRule.getIdentifyNuclides()) {
|
if (null != analysisRule.getIdentifyNuclides()) {
|
||||||
List<String> inList = ListUtil
|
List<String> inList = ListUtil
|
||||||
.toList(analysisRule.getIdentifyNuclides().split(comma));
|
.toList(analysisRule.getIdentifyNuclides().split(comma));
|
||||||
analysisRuleInfo.setIdentifyNuclidesChecked(inList);
|
// analysisRuleInfo.setIdentifyNuclidesChecked(inList);
|
||||||
}
|
}
|
||||||
return Result.OK(analysisRuleInfo);
|
return Result.OK(analysisRuleInfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user