人工交互模块Gamma部分增加核素方法增加判断核素存在不重复添加核素信息
人工交互模块Beta部分重新分析全部谱信息,赋值位置修改
This commit is contained in:
parent
9f9466b529
commit
ea3cc4ea0e
|
@ -3505,10 +3505,12 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
List<SeriseData> betaList = new LinkedList<>();
|
||||
List<String> betaFittingPara = new LinkedList<>();
|
||||
List<String> betaFittingParaToUi = new LinkedList<>();
|
||||
List<List<Double>> betaNewEnergyListNow = new LinkedList<>();
|
||||
List<SeriseData> gammaList = new LinkedList<>();
|
||||
List<String> gammaFittingPara = new LinkedList<>();
|
||||
List<String> gammaFittingParaToUi = new LinkedList<>();
|
||||
//根据sample文件名称获取当前文件的缓存信息
|
||||
List<List<Double>> gammaNewEnergyListNow = new LinkedList<>();
|
||||
//根据sample文件名称获取当前文件的缓存信息
|
||||
BetaDataFile sampleBetaData = cache.getIfPresent(sampleFileName + "-" + userName);
|
||||
//存储重新分析字段的实体类
|
||||
SpectrumGroup spectrum_group = new SpectrumGroup();
|
||||
|
@ -3527,11 +3529,12 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
betaList = betaDataFile.getBetaList();
|
||||
betaFittingPara = betaDataFile.getBetaFittingPara();
|
||||
betaFittingParaToUi = betaDataFile.getBetaFittingParaToUi();
|
||||
betaNewEnergyListNow = betaDataFile.getBetaNewEnergyListNow();
|
||||
//将当前文件用到的计算数据同步到需要计算的文件缓存
|
||||
sampleBetaData.setBetaList(betaList);
|
||||
sampleBetaData.setBetaFittingPara(betaFittingPara);
|
||||
sampleBetaData.setBetaFittingParaToUi(betaFittingParaToUi);
|
||||
sampleBetaData.setBetaNewEnergyList(betaDataFile.getBetaNewEnergyListNow());
|
||||
sampleBetaData.setBetaNewEnergyList(betaNewEnergyListNow);
|
||||
}
|
||||
List<Double> beCal = new LinkedList<>();
|
||||
beCal.add(Double.valueOf(betaFittingParaToUi.get(0)));
|
||||
|
@ -3584,11 +3587,12 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
gammaList = betaDataFile.getGammaList();
|
||||
gammaFittingPara = betaDataFile.getGammaFittingPara();
|
||||
gammaFittingParaToUi = betaDataFile.getGammaFittingParaToUi();
|
||||
gammaNewEnergyListNow = betaDataFile.getGammaNewEnergyListNow();
|
||||
//将当前文件用到的计算数据同步到需要计算的文件缓存
|
||||
sampleBetaData.setGammaList(gammaList);
|
||||
sampleBetaData.setGammaFittingPara(gammaFittingPara);
|
||||
sampleBetaData.setGammaFittingParaToUi(gammaFittingParaToUi);
|
||||
sampleBetaData.setGammaNewEnergyList(betaDataFile.getGammaNewEnergyListNow());
|
||||
sampleBetaData.setGammaNewEnergyList(gammaNewEnergyListNow);
|
||||
}
|
||||
List<Double> geCal = new LinkedList<>();
|
||||
geCal.add(Double.valueOf(gammaFittingParaToUi.get(0)));
|
||||
|
@ -3984,7 +3988,7 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
e.printStackTrace();
|
||||
}
|
||||
result.setSuccess(true);
|
||||
result.setResult(mapList.get(currentFileName));
|
||||
result.setResult(mapList);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user