Merge branch 'mdc' of http://git.hivekion.com:3000/xiaoguangbin/AnalysisSystemForRadionuclide into mdc
This commit is contained in:
commit
43381353b8
|
@ -172,7 +172,7 @@ public class ParsingProcessLog extends AbstractAutoLogOrReport{
|
||||||
this.setDetAndGasIdLog();
|
this.setDetAndGasIdLog();
|
||||||
//获取analyseResult
|
//获取analyseResult
|
||||||
BgAnalyseResult analyseResult = sample_B_Analysis.analyseResult;
|
BgAnalyseResult analyseResult = sample_B_Analysis.analyseResult;
|
||||||
if (StringUtils.isNotBlank(analyseResult.error_log) && !analyseResult.error_log.equalsIgnoreCase("no error.")) {
|
if (Objects.nonNull(analyseResult) && !analyseResult.analyse_flag) {
|
||||||
analysisResultFlag = true;
|
analysisResultFlag = true;
|
||||||
}
|
}
|
||||||
//如果分析结果错误
|
//如果分析结果错误
|
||||||
|
|
|
@ -227,6 +227,7 @@ public class Sample_B_Analysis implements BlockConstant {
|
||||||
System.out.println(analyseResult);
|
System.out.println(analyseResult);
|
||||||
this.analyseResult = analyseResult;
|
this.analyseResult = analyseResult;
|
||||||
if(Objects.isNull(analyseResult) || !analyseResult.analyse_flag){
|
if(Objects.isNull(analyseResult) || !analyseResult.analyse_flag){
|
||||||
|
ErrorLogManager.getInstance().write(new SpectrumErrorEvent(new Date(), analyseResult.error_log, this.phdFileName));
|
||||||
throw new BAnalyseException("THE PHD file cannot be parsed:"+this.sampleFileFinalPath+","+this.gasFileFinalPath+","+this.detFileFinalPath);
|
throw new BAnalyseException("THE PHD file cannot be parsed:"+this.sampleFileFinalPath+","+this.gasFileFinalPath+","+this.detFileFinalPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user