自建台站折线图ROI范围计算结果取值下标计算公式参数问题修改
This commit is contained in:
parent
9f8e79226e
commit
ee2dd272d1
|
@ -287,7 +287,7 @@ public class SelfStationUtil extends AbstractLogOrReport {
|
||||||
//根据起始道值和结束道值 获取这一列的所有对应道值的数据
|
//根据起始道值和结束道值 获取这一列的所有对应道值的数据
|
||||||
for (int j=startChannel; j <= endChannel; j++) {
|
for (int j=startChannel; j <= endChannel; j++) {
|
||||||
//道值 * 总行数 + 当前列数 获取对应的数据数组下标
|
//道值 * 总行数 + 当前列数 获取对应的数据数组下标
|
||||||
int index = (int) (j * betaChannels + i);
|
int index = (int) (i * betaChannels + j);
|
||||||
long count = 0;
|
long count = 0;
|
||||||
//判断下标是否在h_counts范围内
|
//判断下标是否在h_counts范围内
|
||||||
if (index < h_counts.size()) {
|
if (index < h_counts.size()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user