人工交互模块Gamma部分新增加逻辑,增加峰操作使用缓存的核素信息
This commit is contained in:
parent
2a99fabe53
commit
3343412516
|
@ -1302,7 +1302,7 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
HashMap<String, Object> map = new HashMap<>();
|
||||
// 根据boolean 决定是否保留本次数据 如果保留则不需要操作vPeak 并重新拟合线
|
||||
if (accept) {
|
||||
Map<String, NuclideLines> nuclideLinesMap = (Map<String, NuclideLines>) redisUtil.get(userName+StringPool.DASH+phd.getHeader().getSystem_type());
|
||||
Map<String, NuclideLines> nuclideLinesMap = phd.getPhdNuclideMap();//(Map<String, NuclideLines>) redisUtil.get(userName+StringPool.DASH+phd.getHeader().getSystem_type());
|
||||
if (flag.equalsIgnoreCase("insert")) {// 如果传递的flag标识 是 Insert则进行峰值的插入
|
||||
//重新赋值index
|
||||
for (int k=0; k<newPeak.size(); k++) {
|
||||
|
@ -1704,8 +1704,10 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
}
|
||||
t_idx++;
|
||||
}
|
||||
//重新计算核素的MDA值
|
||||
gammaFileUtil.CalcNuclideMDA(phd, it_line, nuclideName, vPeakIdx);
|
||||
map.put("identify", list_identify);
|
||||
//格式化核素表单内容
|
||||
List<PeakInfo> vPeak = gammaFileUtil.InitPeakTable(phd.getVPeak());
|
||||
map.put("table", vPeak);
|
||||
//如果当前缓存的谱核素信息不包含当前核素
|
||||
|
|
Loading…
Reference in New Issue
Block a user