|
@@ -2122,6 +2122,11 @@ public class GenreSetPushService {
|
|
|
//
|
|
|
// }
|
|
|
PointData ptValue =null;
|
|
|
+
|
|
|
+ WindPowerStationTestingPoint2 glpoint = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SJGL);
|
|
|
+ ptValue = realApiUtil.getRealData(glpoint.getCode());
|
|
|
+ retValue.put("gl", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
|
+
|
|
|
if (wpId.equals(WpEnum.MHS_FDC.name())) {
|
|
|
ptValue = realApiUtil.getRealData(ConstantTR.MHSFGL_AI000305);
|
|
|
retValue.put("dqwd", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
@@ -2177,6 +2182,8 @@ public class GenreSetPushService {
|
|
|
retValue.put("hb", 1385.0);
|
|
|
ptValue = realApiUtil.getRealData(ConstantTR.HZJPJFS);
|
|
|
retValue.put("ssfs", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
|
+ ptValue = realApiUtil.getRealData(ConstantTR.HZJGL);
|
|
|
+ retValue.put("gl", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
|
} else if (wpId.equals(WpEnum.XS_FDC.name())) {
|
|
|
ptValue = realApiUtil.getRealData(ConstantTR.XSWD);
|
|
|
retValue.put("dqwd", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
@@ -2185,9 +2192,6 @@ public class GenreSetPushService {
|
|
|
retValue.put("ssfs", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
|
}
|
|
|
|
|
|
- WindPowerStationTestingPoint2 glpoint = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SJGL);
|
|
|
- ptValue = realApiUtil.getRealData(glpoint.getCode());
|
|
|
- retValue.put("gl", StringUtils.round(ptValue.getPointValueInDouble(), 0));
|
|
|
}
|
|
|
resultmap.put(wpId,retValue);
|
|
|
}
|