|
@@ -117,7 +117,8 @@ public class WindturbinegoodnessService {
|
|
|
|
|
|
ProBasicEquipmentPoint sjgl = wtpointmap.get(ContantXk.CJ_SSGL);
|
|
|
// ProBasicEquipmentPoint bzgl = wtpointmap.get(ContantXk.ZSGL);
|
|
|
- ProBasicEquipmentPoint bzgl = wtpointmap.get(ContantXk.BZGL);
|
|
|
+// ProBasicEquipmentPoint bzgl = wtpointmap.get(ContantXk.BZGL);
|
|
|
+ ProBasicEquipmentPoint bzgl = wtpointmap.get(ContantXk.SSBZGL);
|
|
|
ProBasicEquipmentPoint pjfs = wtpointmap.get(ContantXk.CJ_SSFS);
|
|
|
|
|
|
|
|
@@ -597,11 +598,11 @@ public class WindturbinegoodnessService {
|
|
|
temp1 = fdlls.get(i + 1).getPointValueInDouble();
|
|
|
double temp2 = fdlls.get(i).getPointValueInDouble();
|
|
|
temp1 = temp1 - temp2;
|
|
|
- vos.get(i).setValue1(StringUtils.round(temp1, 2));// 发电量
|
|
|
+ vos.get(i).setValue1(StringUtils.round(temp1 * 1000, 2));// 发电量
|
|
|
|
|
|
} else {
|
|
|
temp1 = fdlls.get(i + 1).getPointValueInDouble();
|
|
|
- vos.get(i).setValue1(StringUtils.round(temp1, 2));// 发电量
|
|
|
+ vos.get(i).setValue1(StringUtils.round(temp1 * 1000, 2));// 发电量
|
|
|
}
|
|
|
// temp1 = new BigDecimal(temp1).divide(new
|
|
|
// BigDecimal(10000), 2,
|
|
@@ -647,13 +648,13 @@ public class WindturbinegoodnessService {
|
|
|
// temp1 = new BigDecimal(temp1).divide(new
|
|
|
// BigDecimal(10000), 2,
|
|
|
// RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- vos.get(i).setValue2(StringUtils.round(temp1, 2));// 维护损失电量
|
|
|
+ vos.get(i).setValue2(StringUtils.round(temp1 * 1000, 2));// 维护损失电量
|
|
|
|
|
|
count++;
|
|
|
|
|
|
} else {
|
|
|
temp1 = whssls.get(i + 1).getPointValueInDouble();
|
|
|
- vos.get(i).setValue2(StringUtils.round(temp1, 2));// 维护损失电量
|
|
|
+ vos.get(i).setValue2(StringUtils.round(temp1 * 1000, 2));// 维护损失电量
|
|
|
}
|
|
|
|
|
|
// temp1 = new BigDecimal(temp1).divide(
|
|
@@ -701,13 +702,13 @@ public class WindturbinegoodnessService {
|
|
|
// RoundingMode.HALF_EVEN).multiply(
|
|
|
// new BigDecimal(100)).doubleValue();
|
|
|
|
|
|
- vos.get(i).setValue3(StringUtils.round(temp1, 2));// 维护损失电量
|
|
|
+ vos.get(i).setValue3(StringUtils.round(temp1 * 1000, 2));// 维护损失电量
|
|
|
|
|
|
count++;
|
|
|
|
|
|
} else {
|
|
|
temp1 = gzssls.get(i + 1).getPointValueInDouble();
|
|
|
- vos.get(i).setValue3(StringUtils.round(temp1, 2));// 维护损失电量
|
|
|
+ vos.get(i).setValue3(StringUtils.round(temp1 * 1000, 2));// 维护损失电量
|
|
|
}
|
|
|
|
|
|
} else {
|
|
@@ -750,13 +751,13 @@ public class WindturbinegoodnessService {
|
|
|
// RoundingMode.HALF_EVEN).multiply(
|
|
|
// new BigDecimal(100)).doubleValue();
|
|
|
|
|
|
- vos.get(i).setValue4(StringUtils.round(temp1, 2));// 限电损失电量
|
|
|
+ vos.get(i).setValue4(StringUtils.round(temp1 * 1000, 2));// 限电损失电量
|
|
|
|
|
|
count++;
|
|
|
|
|
|
} else {
|
|
|
temp1 = xdssls.get(i + 1).getPointValueInDouble();
|
|
|
- vos.get(i).setValue4(StringUtils.round(temp1, 2));// 限电损失电量
|
|
|
+ vos.get(i).setValue4(StringUtils.round(temp1 * 1000, 2));// 限电损失电量
|
|
|
}
|
|
|
|
|
|
} else {
|
|
@@ -809,7 +810,7 @@ public class WindturbinegoodnessService {
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
- // vos.get(i-1).setTime(qfssls.get(i).getPointTime()*1000);
|
|
|
+ vos.get(i-1).setTime(qfssls.get(i).getPointTime()*1000);
|
|
|
vos.get(i).setValue5(0d);// 欠发损失电量
|
|
|
}
|
|
|
|