gamma功能分析后增加返回内容vPeak数据
自动处理程序初始化halfLife数据没有对应数据问题修改
This commit is contained in:
parent
f6f540cef6
commit
dd071d063d
|
@ -83,14 +83,15 @@ public class GardsNuclLinesLibServiceImpl extends ServiceImpl<GardsNuclLinesLibM
|
||||||
|
|
||||||
int keyFlag = lib.getKeyFlag();
|
int keyFlag = lib.getKeyFlag();
|
||||||
if (keyFlag > 0){
|
if (keyFlag > 0){
|
||||||
nuclideLines.setKey_flag(i);
|
int index = nuclideNames.indexOf(lib.getName());
|
||||||
nuclideLines.setMaxYeildIdx(i);
|
nuclideLines.setKey_flag(index);
|
||||||
|
nuclideLines.setMaxYeildIdx(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
String name = lib.getName();
|
String name = lib.getName();
|
||||||
Double day = halfLife.get(name);
|
Double day = halfLife.get(name);
|
||||||
if (ObjectUtil.isNotNull(day))
|
if (ObjectUtil.isNotNull(day))
|
||||||
lib.setHalflife(day * 86400);
|
nuclideLines.setHalflife(day * 86400);
|
||||||
|
|
||||||
result.put(lib.getName(), nuclideLines);
|
result.put(lib.getName(), nuclideLines);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1005,6 +1005,7 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
||||||
List<String> qcstate = gammaFileUtil.Qcstate(phd);
|
List<String> qcstate = gammaFileUtil.Qcstate(phd);
|
||||||
map.put("QCFlag", qcstate);
|
map.put("QCFlag", qcstate);
|
||||||
map.put("bAnalyed", phd.isBAnalyed());
|
map.put("bAnalyed", phd.isBAnalyed());
|
||||||
|
map.put("peak", phd.getVPeak());
|
||||||
result.setSuccess(true);
|
result.setSuccess(true);
|
||||||
result.setResult(map);
|
result.setResult(map);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user