|
@@ -3,7 +3,6 @@ package com.gyee.frame.service.websocket;
|
|
|
|
|
|
import com.gyee.frame.common.conf.V2Config;
|
|
|
import com.gyee.frame.common.spring.Constant;
|
|
|
-import com.gyee.frame.common.spring.ConstantTR;
|
|
|
import com.gyee.frame.common.spring.InitialRunner;
|
|
|
import com.gyee.frame.model.auto.*;
|
|
|
import com.gyee.frame.model.custom.DNAVal;
|
|
@@ -364,13 +363,17 @@ public class GenreSetPushService {
|
|
|
|
|
|
if (id.equals(QS)) {
|
|
|
// 减排二氧化碳
|
|
|
- int jpeyht = (int) (realApiUtil.getRealData(ConstantTR.JPEYHT).getPointValueInDouble() * 10000);
|
|
|
+ Windpowerstationpointnew temppoint= windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_JPEYHT);
|
|
|
+ int jpeyht = (int) (realApiUtil.getRealData(temppoint).getPointValueInDouble() * 10000);
|
|
|
// 节约标煤
|
|
|
- int jybm = (int)(realApiUtil.getRealData(ConstantTR.JYBM).getPointValueInDouble() * 10000);
|
|
|
+ temppoint= windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_JYBM);
|
|
|
+ int jybm = (int)(realApiUtil.getRealData(temppoint).getPointValueInDouble() * 10000);
|
|
|
// 减排二氧化硫
|
|
|
- int jpeyhl = (int)(realApiUtil.getRealData(ConstantTR.JPEYHL).getPointValueInDouble() * 10000);
|
|
|
+ temppoint= windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_JPEYHL);
|
|
|
+ int jpeyhl = (int)(realApiUtil.getRealData(temppoint).getPointValueInDouble() * 10000);
|
|
|
// 节约水
|
|
|
- int jys = (int)(realApiUtil.getRealData(ConstantTR.JYS).getPointValueInDouble() * 10000);
|
|
|
+ temppoint= windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_JYS);
|
|
|
+ int jys = (int)(realApiUtil.getRealData(temppoint).getPointValueInDouble() * 10000);
|
|
|
|
|
|
// Double gfsjgl = realApiUtil.getRealData(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(GF, Constant.TPOINT_WP_SJGL)).getPointValueInDouble();
|
|
|
//
|
|
@@ -385,7 +388,8 @@ public class GenreSetPushService {
|
|
|
}
|
|
|
|
|
|
// 安全天数
|
|
|
- Double aqts = realApiUtil.getRealData(ConstantTR.AQTS).getPointValueInDouble();
|
|
|
+ Windpowerstationpointnew temppoint= windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_AQTS);
|
|
|
+ Double aqts = realApiUtil.getRealData(temppoint).getPointValueInDouble();
|
|
|
jczbmap.put("aqts", StringUtils.round(aqts, 2));
|
|
|
if (bzgl == 0.0) {
|
|
|
bzgl = 1.0;
|