|
@@ -5,13 +5,15 @@ import com.gyee.frame.common.spring.Constant;
|
|
|
import com.gyee.frame.common.spring.InitialRunner;
|
|
|
import com.gyee.frame.model.auto.WindPowerStationTestingPoint2;
|
|
|
import com.gyee.frame.model.auto.Windpowerstation;
|
|
|
-import com.gyee.frame.model.auto.Windturbine;
|
|
|
import com.gyee.frame.model.auto.WpMttrAndMtbMonth;
|
|
|
import com.gyee.frame.model.custom.DNAVal;
|
|
|
import com.gyee.frame.model.custom.DataVo;
|
|
|
import com.gyee.frame.model.custom.PointData;
|
|
|
import com.gyee.frame.model.custom.ZtjsVo;
|
|
|
-import com.gyee.frame.service.*;
|
|
|
+import com.gyee.frame.service.ProjectPlanService;
|
|
|
+import com.gyee.frame.service.WindPowerstationTestingPoint2Service;
|
|
|
+import com.gyee.frame.service.WindpowerinfodayService;
|
|
|
+import com.gyee.frame.service.WpMttrAndMtbMonthService;
|
|
|
import com.gyee.frame.service.weather.WeatherService;
|
|
|
import com.gyee.frame.util.IRealTimeDataBaseUtil;
|
|
|
import com.gyee.frame.util.MathUtil;
|
|
@@ -30,7 +32,7 @@ public class WpInfoPushService {
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
- private WindPowerstationTestingPointService windPowerstationTestingPointService;
|
|
|
+ private WindPowerstationTestingPoint2Service windPowerstationTestingPoint2Service;
|
|
|
@Resource
|
|
|
private WindpowerinfodayService windpowerinfodayService;
|
|
|
@Resource
|
|
@@ -44,9 +46,6 @@ public class WpInfoPushService {
|
|
|
@Resource
|
|
|
private WeatherService weatherService;
|
|
|
|
|
|
- @Resource
|
|
|
- private WindTurbineTestingPointAiService windTurbineTestingPointAiService;
|
|
|
-
|
|
|
IRealTimeDataBaseUtil realApiUtil = RealTimeDataBaseFactory.createRealTimeDataBase();
|
|
|
private final double YCFDLXS = 1.08;
|
|
|
String[] ycPoints1 = Constant.TPOINT_WP_FGLYC.split(",");
|
|
@@ -118,21 +117,21 @@ public class WpInfoPushService {
|
|
|
jczbmap.put("name", wp.getName());
|
|
|
List<String> jczbls = new ArrayList<>();
|
|
|
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SJGL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_RFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_YFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_NFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SSFS).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SWDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.ZBZGL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_ZZSGL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.FJZT).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_RFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, ycPoints1[0]).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SJGL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_RFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_YFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_NFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SSFS).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SWDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.ZBZGL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_ZZSGL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.FJZT).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_RFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, ycPoints1[0]).getCode());
|
|
|
|
|
|
if (InitialRunner.wpmap.containsKey(id)) {
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.AGC001).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.AGC002).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.AGC001).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.AGC002).getCode());
|
|
|
}
|
|
|
|
|
|
|
|
@@ -234,7 +233,7 @@ public class WpInfoPushService {
|
|
|
}
|
|
|
|
|
|
|
|
|
- List<WindPowerStationTestingPoint2> wpoints= windPowerstationTestingPointService.getJsztList(id);
|
|
|
+ List<WindPowerStationTestingPoint2> wpoints= windPowerstationTestingPoint2Service.getJsztList(id);
|
|
|
|
|
|
if(!wpoints.isEmpty())
|
|
|
{
|
|
@@ -529,13 +528,13 @@ public class WpInfoPushService {
|
|
|
/*************************************************测风塔*************************************************************/
|
|
|
|
|
|
if (InitialRunner.wpmap.containsKey(id)) {
|
|
|
- WindPowerStationTestingPoint2 point2 = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.FCCFTFX30);
|
|
|
+ WindPowerStationTestingPoint2 point2 = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.FCCFTFX30);
|
|
|
|
|
|
if (StringUtils.notEmp(point2.getCode())) {
|
|
|
PointData value = realApiUtil.getRealData(point2);
|
|
|
jczbmap.put("cftfx", MathUtil.twoBit(value.getPointValueInDouble()));
|
|
|
}
|
|
|
- point2 = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.FCCFTFS30);
|
|
|
+ point2 = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.FCCFTFS30);
|
|
|
|
|
|
if (StringUtils.notEmp(point2.getCode())) {
|
|
|
PointData value = realApiUtil.getRealData(point2);
|
|
@@ -553,17 +552,17 @@ public class WpInfoPushService {
|
|
|
|
|
|
List<String> ztls = new ArrayList<>();
|
|
|
//待机台数
|
|
|
- ztls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_DJTS).getCode());
|
|
|
+ ztls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_DJTS).getCode());
|
|
|
//运行台数
|
|
|
- ztls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_YXTS).getCode());
|
|
|
+ ztls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_YXTS).getCode());
|
|
|
//故障台数
|
|
|
- ztls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_GZTJ).getCode());
|
|
|
+ ztls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_GZTJ).getCode());
|
|
|
//离线台数
|
|
|
- ztls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_TXZD).getCode());
|
|
|
+ ztls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_TXZD).getCode());
|
|
|
//维护台数
|
|
|
- ztls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_WHTJ).getCode());
|
|
|
+ ztls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_WHTJ).getCode());
|
|
|
//限电台数
|
|
|
- ztls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_XDTS).getCode());
|
|
|
+ ztls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WT_XDTS).getCode());
|
|
|
|
|
|
|
|
|
List<PointData> ztlist = realApiUtil.getRealData(ztls);
|
|
@@ -597,79 +596,79 @@ public class WpInfoPushService {
|
|
|
// List<String> wxssls = new ArrayList<>();
|
|
|
//
|
|
|
// // 日场内受累检修
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RLZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RLZSSDL).getCode());
|
|
|
// // 日场内受累故障
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSZSSDL).getCode());
|
|
|
// // 月场内受累检修
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YLZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YLZSSDL).getCode());
|
|
|
// // 月场内受累故障
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSZSSDL).getCode());
|
|
|
// // 年场内受累检修
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NLZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NLZSSDL).getCode());
|
|
|
// // 年场内受累故障
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSZSSDL).getCode());
|
|
|
//
|
|
|
// //日待机损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSDJZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSDJZSDL).getCode());
|
|
|
// //日手动停机损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSSTZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSSTZSDL).getCode());
|
|
|
// //日性能损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RXNZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RXNZSDL).getCode());
|
|
|
// //日缺陷降出力损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSQXZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSQXZSDL).getCode());
|
|
|
// //日故障损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RGZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RGZSSDL).getCode());
|
|
|
// //日检修损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RJXSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RJXSSDL).getCode());
|
|
|
//
|
|
|
// //月待机损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSDJZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSDJZSDL).getCode());
|
|
|
// //月手动停机损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSSTZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSSTZSDL).getCode());
|
|
|
// //月性能损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YXNZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YXNZSDL).getCode());
|
|
|
// //月缺陷降出力损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSQXZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSQXZSDL).getCode());
|
|
|
// //月故障损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YGZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YGZSSDL).getCode());
|
|
|
// //月检修损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YJXSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YJXSSDL).getCode());
|
|
|
//
|
|
|
//
|
|
|
// //年待机损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSDJZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSDJZSDL).getCode());
|
|
|
// //年手动停机损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSSTZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSSTZSDL).getCode());
|
|
|
// //年性能损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NXNZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NXNZSDL).getCode());
|
|
|
// //年缺陷降出力损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSQXZSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSQXZSDL).getCode());
|
|
|
// //年故障损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NGZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NGZSSDL).getCode());
|
|
|
// //年检修损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NJXSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NJXSSDL).getCode());
|
|
|
//
|
|
|
//
|
|
|
// //日限电损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RXDSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RXDSSDL).getCode());
|
|
|
// //月限电损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YXDSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YXDSSDL).getCode());
|
|
|
// //年限电损失
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NXDSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NXDSSDL).getCode());
|
|
|
//
|
|
|
//
|
|
|
// //日场外受累电网
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RWZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RWZSSDL).getCode());
|
|
|
// // 日场外受累天气
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RTZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RTZSSDL).getCode());
|
|
|
// // 月场外受累电网
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YWZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YWZSSDL).getCode());
|
|
|
// // 月场外受累天气
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YTZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YTZSSDL).getCode());
|
|
|
// // 年场外受累电网
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NWZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NWZSSDL).getCode());
|
|
|
// // 年场外受累天气
|
|
|
-// wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NTZSSDL).getCode());
|
|
|
+// wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NTZSSDL).getCode());
|
|
|
//
|
|
|
//
|
|
|
// List<PointData> wxsslist = realApiUtil.getRealData(wxssls);
|
|
@@ -827,28 +826,28 @@ public class WpInfoPushService {
|
|
|
List<String> wxssls = new ArrayList<>();
|
|
|
|
|
|
// 日场内受累检修
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RLZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RLZSSDL).getCode());
|
|
|
// 日场内受累故障
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSZSSDL).getCode());
|
|
|
//日待机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSDJZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSDJZSDL).getCode());
|
|
|
//日手动停机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSSTZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSSTZSDL).getCode());
|
|
|
//日性能损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RXNZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RXNZSDL).getCode());
|
|
|
//日缺陷降出力损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSQXZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSQXZSDL).getCode());
|
|
|
//日故障损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RGZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RGZSSDL).getCode());
|
|
|
//日检修损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RJXSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RJXSSDL).getCode());
|
|
|
//日限电损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RXDSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RXDSSDL).getCode());
|
|
|
|
|
|
//日场外受累电网
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RWZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RWZSSDL).getCode());
|
|
|
// 日场外受累天气
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RTZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RTZSSDL).getCode());
|
|
|
|
|
|
List<PointData> wxsslist = realApiUtil.getRealData(wxssls);
|
|
|
|
|
@@ -1155,38 +1154,38 @@ public class WpInfoPushService {
|
|
|
map.put("tqmap", tqmap);
|
|
|
List<String> jczbls = new ArrayList<>();
|
|
|
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_RFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_YFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_NFDL).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SSFS).getCode());
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SJGL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_RFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_YFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_NFDL).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SSFS).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.TPOINT_WP_SJGL).getCode());
|
|
|
|
|
|
//待机台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.DJNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.DJNUM).getCode());
|
|
|
//手动停机台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.TJNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.TJNUM).getCode());
|
|
|
//正常发电台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.FDNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.FDNUM).getCode());
|
|
|
// 缺陷降出力台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.FDJCLNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.FDJCLNUM).getCode());
|
|
|
// 限电降出力台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.XDJCLNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.XDJCLNUM).getCode());
|
|
|
// 限电停机台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.XDTJNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.XDTJNUM).getCode());
|
|
|
// 故障停机台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.GZNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.GZNUM).getCode());
|
|
|
// 场内受累停机台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.CNGZNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.CNGZNUM).getCode());
|
|
|
// 检修停机台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.JXNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.JXNUM).getCode());
|
|
|
// 场内受累检修台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.CNJXNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.CNJXNUM).getCode());
|
|
|
// 电网受累台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.DWSLNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.DWSLNUM).getCode());
|
|
|
// 环境受累台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.HJSLNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.HJSLNUM).getCode());
|
|
|
// 风机离线台数
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wp.getId(), Constant.LXNUM).getCode());
|
|
|
+ jczbls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wp.getId(), Constant.LXNUM).getCode());
|
|
|
|
|
|
|
|
|
List<PointData> jczblist = realApiUtil.getRealData(jczbls);
|
|
@@ -1218,7 +1217,7 @@ public class WpInfoPushService {
|
|
|
jczbmap.put("sjgl", sjgl);
|
|
|
|
|
|
|
|
|
- //待机台数
|
|
|
+//待机台数
|
|
|
Double djnum = MathUtil.twoBit(jczblist.get(5).getPointValueInDouble());
|
|
|
jczbmap.put("djnum", djnum);
|
|
|
//手动停机台数
|
|
@@ -1258,75 +1257,6 @@ public class WpInfoPushService {
|
|
|
Double lxnum = MathUtil.twoBit(jczblist.get(17).getPointValueInDouble());
|
|
|
jczbmap.put("lxnum", lxnum);
|
|
|
|
|
|
- /*************************************************光伏状态统计*************************************************************/
|
|
|
-
|
|
|
- if(wp.getId().endsWith("GDC")){
|
|
|
-
|
|
|
- List<String> fjzbls = new ArrayList<>();
|
|
|
- List<Windturbine> wtls=InitialRunner.wp_wtmap.get(wp.getId());
|
|
|
- for(Windturbine wt:wtls) {
|
|
|
-
|
|
|
- //状态
|
|
|
- fjzbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wt.getId(), Constant.FJZT).getId());
|
|
|
- }
|
|
|
- List<PointData> fjzblist = realApiUtil.getRealData(fjzbls);
|
|
|
- if (!fjzblist.isEmpty() && fjzblist.size() == fjzbls.size()) {
|
|
|
-// double djnum=0.0;
|
|
|
-// double yxts=0.0;
|
|
|
-// double gzts=0.0;
|
|
|
-// double lxts=0.0;
|
|
|
-// double whts=0.0;
|
|
|
-// double xdts=0.0;
|
|
|
-// double slts=0.0;
|
|
|
- for(int i=0;i<wtls.size();i++){
|
|
|
- double fjzt = MathUtil.twoBit(MathUtil.twoBit(fjzblist.get(i).getPointValueInDouble()));
|
|
|
- switch (Double.valueOf(fjzt).intValue()) {
|
|
|
- case 0:
|
|
|
- djnum++;
|
|
|
- break;
|
|
|
- case 1:
|
|
|
- zcfdnum++;
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- gztjnum++;
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- lxnum++;
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- jxtjnum++;
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- xdjclnum++;
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- xdjclnum++;
|
|
|
- break;
|
|
|
-
|
|
|
- default:
|
|
|
-
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- //待机台数
|
|
|
- jczbmap.put("djnum", djnum);
|
|
|
- //正常发电台数
|
|
|
- jczbmap.put("zcfdnum", zcfdnum);
|
|
|
- // 限电降出力台数
|
|
|
- jczbmap.put("xdjclnum", xdjclnum);
|
|
|
- // 故障停机台数
|
|
|
- jczbmap.put("gztjnum", gztjnum);
|
|
|
- // 检修停机台数
|
|
|
- jczbmap.put("jxtjnum", jxtjnum);
|
|
|
- // 电网受累台数
|
|
|
- jczbmap.put("dwslnum", dwslnum);
|
|
|
- // 风机离线台数
|
|
|
- jczbmap.put("lxnum", lxnum);
|
|
|
- }
|
|
|
-
|
|
|
//
|
|
|
// double djts=djnum+sdtjnum;
|
|
|
// double yxts=zcfdnum+qxjclnum;
|
|
@@ -1425,79 +1355,79 @@ public class WpInfoPushService {
|
|
|
List<String> wxssls = new ArrayList<>();
|
|
|
|
|
|
// 日场内受累检修
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RLZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RLZSSDL).getCode());
|
|
|
// 日场内受累故障
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSZSSDL).getCode());
|
|
|
// 月场内受累检修
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YLZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YLZSSDL).getCode());
|
|
|
// 月场内受累故障
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSZSSDL).getCode());
|
|
|
// 年场内受累检修
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NLZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NLZSSDL).getCode());
|
|
|
// 年场内受累故障
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSZSSDL).getCode());
|
|
|
|
|
|
//日待机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSDJZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSDJZSDL).getCode());
|
|
|
//日手动停机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSSTZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSSTZSDL).getCode());
|
|
|
//日性能损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RXNZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RXNZSDL).getCode());
|
|
|
//日缺陷降出力损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RSQXZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RSQXZSDL).getCode());
|
|
|
//日故障损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RGZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RGZSSDL).getCode());
|
|
|
//日检修损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RJXSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RJXSSDL).getCode());
|
|
|
|
|
|
//月待机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSDJZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSDJZSDL).getCode());
|
|
|
//月手动停机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSSTZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSSTZSDL).getCode());
|
|
|
//月性能损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YXNZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YXNZSDL).getCode());
|
|
|
//月缺陷降出力损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YSQXZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YSQXZSDL).getCode());
|
|
|
//月故障损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YGZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YGZSSDL).getCode());
|
|
|
//月检修损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YJXSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YJXSSDL).getCode());
|
|
|
|
|
|
|
|
|
//年待机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSDJZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSDJZSDL).getCode());
|
|
|
//年手动停机损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSSTZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSSTZSDL).getCode());
|
|
|
//年性能损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NXNZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NXNZSDL).getCode());
|
|
|
//年缺陷降出力损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NSQXZSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NSQXZSDL).getCode());
|
|
|
//年故障损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NGZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NGZSSDL).getCode());
|
|
|
//年检修损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NJXSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NJXSSDL).getCode());
|
|
|
|
|
|
|
|
|
//日限电损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RXDSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RXDSSDL).getCode());
|
|
|
//月限电损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YXDSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YXDSSDL).getCode());
|
|
|
//年限电损失
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NXDSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NXDSSDL).getCode());
|
|
|
|
|
|
|
|
|
//日场外受累电网
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RWZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RWZSSDL).getCode());
|
|
|
// 日场外受累天气
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.RTZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.RTZSSDL).getCode());
|
|
|
// 月场外受累电网
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YWZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YWZSSDL).getCode());
|
|
|
// 月场外受累天气
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.YTZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.YTZSSDL).getCode());
|
|
|
// 年场外受累电网
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NWZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NWZSSDL).getCode());
|
|
|
// 年场外受累天气
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(id, Constant.NTZSSDL).getCode());
|
|
|
+ wxssls.add(windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(id, Constant.NTZSSDL).getCode());
|
|
|
|
|
|
|
|
|
List<PointData> wxsslist = realApiUtil.getRealData(wxssls);
|
|
@@ -1757,20 +1687,20 @@ public class WpInfoPushService {
|
|
|
long monthdaynum = c.getActualMaximum(Calendar.DAY_OF_MONTH);
|
|
|
|
|
|
|
|
|
- WindPowerStationTestingPoint2 gzslai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSZSSDL);
|
|
|
- WindPowerStationTestingPoint2 jxslai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RLZSSDL);
|
|
|
+ WindPowerStationTestingPoint2 gzslai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RSZSSDL);
|
|
|
+ WindPowerStationTestingPoint2 jxslai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RLZSSDL);
|
|
|
|
|
|
- WindPowerStationTestingPoint2 gzssai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RGZSSDL);
|
|
|
- WindPowerStationTestingPoint2 jxssai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RJXSSDL);
|
|
|
+ WindPowerStationTestingPoint2 gzssai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RGZSSDL);
|
|
|
+ WindPowerStationTestingPoint2 jxssai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RJXSSDL);
|
|
|
|
|
|
- WindPowerStationTestingPoint2 djssai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSDJZSDL);
|
|
|
- WindPowerStationTestingPoint2 sdtjai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSSTZSDL);
|
|
|
- WindPowerStationTestingPoint2 xnssai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RXNZSDL);
|
|
|
- WindPowerStationTestingPoint2 qxjclai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSQXZSDL);
|
|
|
+ WindPowerStationTestingPoint2 djssai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RSDJZSDL);
|
|
|
+ WindPowerStationTestingPoint2 sdtjai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RSSTZSDL);
|
|
|
+ WindPowerStationTestingPoint2 xnssai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RXNZSDL);
|
|
|
+ WindPowerStationTestingPoint2 qxjclai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RSQXZSDL);
|
|
|
|
|
|
- WindPowerStationTestingPoint2 xdssai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSSTZSDL);
|
|
|
- WindPowerStationTestingPoint2 dwslai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RXNZSDL);
|
|
|
- WindPowerStationTestingPoint2 tqslai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSQXZSDL);
|
|
|
+ WindPowerStationTestingPoint2 xdssai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RSSTZSDL);
|
|
|
+ WindPowerStationTestingPoint2 dwslai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RXNZSDL);
|
|
|
+ WindPowerStationTestingPoint2 tqslai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.RSQXZSDL);
|
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
@@ -1905,9 +1835,9 @@ public class WpInfoPushService {
|
|
|
// long num = 30;
|
|
|
|
|
|
|
|
|
- WindPowerStationTestingPoint2 rfdlai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_RFDL);
|
|
|
+ WindPowerStationTestingPoint2 rfdlai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_RFDL);
|
|
|
|
|
|
- WindPowerStationTestingPoint2 fsai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SSFS);
|
|
|
+ WindPowerStationTestingPoint2 fsai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SSFS);
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
List<PointData> rfdlls = realApiUtil.getHistoryDatasSnap(rfdlai, beginDate.getTime() / 1000, endDate.getTime() / 1000, num, 86400L);
|
|
@@ -1956,8 +1886,8 @@ public class WpInfoPushService {
|
|
|
wpId = "0";
|
|
|
}
|
|
|
|
|
|
- WindPowerStationTestingPoint2 fsai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SSFS);
|
|
|
- WindPowerStationTestingPoint2 yfdlai = windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_YFDL);
|
|
|
+ WindPowerStationTestingPoint2 fsai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SSFS);
|
|
|
+ WindPowerStationTestingPoint2 yfdlai = windPowerstationTestingPoint2Service.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_YFDL);
|
|
|
String[] fdlpoints = new String[2];
|
|
|
fdlpoints[0] = yfdlai.getCode();
|
|
|
fdlpoints[1] = fsai.getCode();
|