|
@@ -175,8 +175,7 @@ public class MatrixPushByWpService {
|
|
|
Double xdts = MathUtil.twoBit(jczblist.get(12).getPointValueInDouble());
|
|
|
jczbmap.put("xdts", xdts);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+ jczbmap.put("jrts", djts+yxts+gzts+lxts+whts+xdts);
|
|
|
} else {
|
|
|
|
|
|
jczbmap.put("ssfs", 0.0);
|
|
@@ -204,6 +203,7 @@ public class MatrixPushByWpService {
|
|
|
jczbmap.put("whts", 0.0);
|
|
|
|
|
|
jczbmap.put("xdts", 0.0);
|
|
|
+ jczbmap.put("jrts", 0.0);
|
|
|
}
|
|
|
|
|
|
Calendar c = Calendar.getInstance();
|
|
@@ -373,19 +373,19 @@ public class MatrixPushByWpService {
|
|
|
|
|
|
|
|
|
List<String> jczbls = new ArrayList<>();
|
|
|
-
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SSFS).getCode());
|
|
|
-
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, ycPoints1[0]).getCode());
|
|
|
-
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.ZBZGL).getCode());
|
|
|
-
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_ZZSGL).getCode());
|
|
|
-
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WP_SJGL).getCode());
|
|
|
-
|
|
|
- jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.AGC001).getCode());
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.AGC002).getCode());
|
|
|
|
|
|
jczbls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.TPOINT_WT_DJTS).getCode());
|
|
@@ -405,60 +405,60 @@ public class MatrixPushByWpService {
|
|
|
|
|
|
if (!jczblist.isEmpty() && jczblist.size() == jczbls.size()) {
|
|
|
|
|
|
-
|
|
|
- jczbmap.put("ssfs", MathUtil.twoBit(jczblist.get(0).getPointValueInDouble()));
|
|
|
-
|
|
|
- jczbmap.put("ycgl", MathUtil.twoBit(jczblist.get(1).getPointValueInDouble()));
|
|
|
-
|
|
|
- double bzgl = new BigDecimal(jczblist.get(2).getPointValueInDouble()).divide(new BigDecimal(1000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- jczbmap.put("bzgl", bzgl);
|
|
|
-
|
|
|
- double yfgl = new BigDecimal(jczblist.get(3).getPointValueInDouble()).divide(new BigDecimal(1000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- jczbmap.put("yfgl", yfgl);
|
|
|
-
|
|
|
- jczbmap.put("sjgl", MathUtil.twoBit(jczblist.get(4).getPointValueInDouble()));
|
|
|
-
|
|
|
- jczbmap.put("agccxyg", MathUtil.twoBit(jczblist.get(5).getPointValueInDouble()));
|
|
|
-
|
|
|
- jczbmap.put("agcygsd", MathUtil.twoBit(jczblist.get(6).getPointValueInDouble()));
|
|
|
-
|
|
|
-
|
|
|
- Double djts = MathUtil.twoBit(jczblist.get(7).getPointValueInDouble());
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ Double djts = MathUtil.twoBit(jczblist.get(0).getPointValueInDouble());
|
|
|
|
|
|
jczbmap.put("djts", djts);
|
|
|
|
|
|
- Double yxts = MathUtil.twoBit(jczblist.get(8).getPointValueInDouble());
|
|
|
+ Double yxts = MathUtil.twoBit(jczblist.get(1).getPointValueInDouble());
|
|
|
jczbmap.put("yxts", yxts);
|
|
|
|
|
|
- Double gzts = MathUtil.twoBit(jczblist.get(9).getPointValueInDouble());
|
|
|
+ Double gzts = MathUtil.twoBit(jczblist.get(2).getPointValueInDouble());
|
|
|
jczbmap.put("gzts", gzts);
|
|
|
|
|
|
- Double lxts = MathUtil.twoBit(jczblist.get(10).getPointValueInDouble());
|
|
|
+ Double lxts = MathUtil.twoBit(jczblist.get(3).getPointValueInDouble());
|
|
|
jczbmap.put("lxts", lxts);
|
|
|
|
|
|
- Double whts = MathUtil.twoBit(jczblist.get(11).getPointValueInDouble());
|
|
|
+ Double whts = MathUtil.twoBit(jczblist.get(4).getPointValueInDouble());
|
|
|
jczbmap.put("whts", whts);
|
|
|
|
|
|
- Double xdts = MathUtil.twoBit(jczblist.get(12).getPointValueInDouble());
|
|
|
+ Double xdts = MathUtil.twoBit(jczblist.get(5).getPointValueInDouble());
|
|
|
jczbmap.put("xdts", xdts);
|
|
|
|
|
|
-
|
|
|
+ jczbmap.put("jrts", djts+yxts+gzts+lxts+whts+xdts);
|
|
|
|
|
|
} else {
|
|
|
-
|
|
|
- jczbmap.put("ssfs", 0.0);
|
|
|
-
|
|
|
- jczbmap.put("ssfs", 0.0);
|
|
|
-
|
|
|
- jczbmap.put("bzgl", 0.0);
|
|
|
-
|
|
|
- jczbmap.put("yfgl", 0.0);
|
|
|
-
|
|
|
- jczbmap.put("sjgl", 0.0);
|
|
|
-
|
|
|
- jczbmap.put("agccxyg", 0.0);
|
|
|
-
|
|
|
- jczbmap.put("agcygsd", 0.0);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
jczbmap.put("djts", 0.0);
|
|
|
|
|
@@ -471,6 +471,8 @@ public class MatrixPushByWpService {
|
|
|
jczbmap.put("whts", 0.0);
|
|
|
|
|
|
jczbmap.put("xdts", 0.0);
|
|
|
+
|
|
|
+ jczbmap.put("jrts", 0.0);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -481,239 +483,239 @@ public class MatrixPushByWpService {
|
|
|
fczbmap.put("jczbmap",jczbmap);
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- Map<String, Double> wxssmap = new HashMap<>();
|
|
|
- List<String> wxssls = new ArrayList<>();
|
|
|
-
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RLZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YLZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YSZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NLZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NSZSSDL).getCode());
|
|
|
-
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSDJZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSSTZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RXNZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RSQXZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RGZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RJXSSDL).getCode());
|
|
|
-
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YSDJZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YSSTZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YXNZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YSQXZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YGZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YJXSSDL).getCode());
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NSDJZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NSSTZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NXNZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NSQXZSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NGZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NJXSSDL).getCode());
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RXDSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YXDSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NXDSSDL).getCode());
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RWZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.RTZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YWZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.YTZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NWZSSDL).getCode());
|
|
|
-
|
|
|
- wxssls.add(windPowerstationTestingPointService.getWindPowerStationTestingPoint2(wpId, Constant.NTZSSDL).getCode());
|
|
|
-
|
|
|
-
|
|
|
- List<PointData> wxsslist = realApiUtil.getRealData(wxssls);
|
|
|
-
|
|
|
- if (!wxsslist.isEmpty() && wxsslist.size() == wxssls.size()) {
|
|
|
-
|
|
|
- Double rjxsl = MathUtil.twoBit(wxsslist.get(0).getPointValueInDouble());
|
|
|
-
|
|
|
- Double rgzzsl = MathUtil.twoBit(wxsslist.get(1).getPointValueInDouble());
|
|
|
-
|
|
|
- Double yjxsl = MathUtil.twoBit(wxsslist.get(2).getPointValueInDouble());
|
|
|
-
|
|
|
- Double ygzzsl = MathUtil.twoBit(wxsslist.get(3).getPointValueInDouble());
|
|
|
-
|
|
|
- Double njxsl = MathUtil.twoBit(wxsslist.get(4).getPointValueInDouble());
|
|
|
-
|
|
|
- Double ngzzsl = MathUtil.twoBit(wxsslist.get(5).getPointValueInDouble());
|
|
|
-
|
|
|
- wxssmap.put("rjxsl", rjxsl);
|
|
|
- wxssmap.put("rgzzsl", rgzzsl);
|
|
|
- wxssmap.put("yjxsl", yjxsl);
|
|
|
- wxssmap.put("ygzzsl", ygzzsl);
|
|
|
- wxssmap.put("njxsl", njxsl);
|
|
|
- wxssmap.put("ngzzsl", ngzzsl);
|
|
|
-
|
|
|
-
|
|
|
- Double rdjss = MathUtil.twoBit(wxsslist.get(6).getPointValueInDouble());
|
|
|
-
|
|
|
- Double rsdtjss = MathUtil.twoBit(wxsslist.get(7).getPointValueInDouble());
|
|
|
-
|
|
|
- Double rxnss = MathUtil.twoBit(wxsslist.get(8).getPointValueInDouble());
|
|
|
-
|
|
|
- Double rqxjclss = MathUtil.twoBit(wxsslist.get(9).getPointValueInDouble());
|
|
|
-
|
|
|
-
|
|
|
- Double rqfssdl = new BigDecimal(rdjss + rsdtjss + rxnss + rqxjclss).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- Double rgzss = MathUtil.twoBit(wxsslist.get(10).getPointValueInDouble());
|
|
|
-
|
|
|
- Double rgzssdl = new BigDecimal(rgzss + rgzzsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- Double rjxss = MathUtil.twoBit(wxsslist.get(11).getPointValueInDouble());
|
|
|
- Double rjxssdl = new BigDecimal(rjxss + rjxsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
-
|
|
|
- wxssmap.put("rqfssdl", rqfssdl);
|
|
|
- wxssmap.put("rgzssdl", rgzssdl);
|
|
|
- wxssmap.put("rjxssdl", rjxssdl);
|
|
|
-
|
|
|
-
|
|
|
- Double ydjss = MathUtil.twoBit(wxsslist.get(12).getPointValueInDouble());
|
|
|
-
|
|
|
- Double ysdtjss = MathUtil.twoBit(wxsslist.get(13).getPointValueInDouble());
|
|
|
-
|
|
|
- Double yxnss = MathUtil.twoBit(wxsslist.get(14).getPointValueInDouble());
|
|
|
-
|
|
|
- Double yqxjclss = MathUtil.twoBit(wxsslist.get(15).getPointValueInDouble());
|
|
|
-
|
|
|
- Double yqfssdl = new BigDecimal(ydjss + ysdtjss + yxnss + yqxjclss).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- Double ygzss = MathUtil.twoBit(wxsslist.get(16).getPointValueInDouble());
|
|
|
-
|
|
|
- Double ygzssdl = new BigDecimal(ygzss + ygzzsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- Double yjxss = MathUtil.twoBit(wxsslist.get(17).getPointValueInDouble());
|
|
|
-
|
|
|
- Double yjxssdl = new BigDecimal(yjxss + yjxsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- wxssmap.put("yqfssdl", yqfssdl);
|
|
|
- wxssmap.put("ygzssdl", ygzssdl);
|
|
|
- wxssmap.put("yjxssdl", yjxssdl);
|
|
|
-
|
|
|
-
|
|
|
- Double ndjss = MathUtil.twoBit(wxsslist.get(18).getPointValueInDouble());
|
|
|
-
|
|
|
- Double nsdtjss = MathUtil.twoBit(wxsslist.get(19).getPointValueInDouble());
|
|
|
-
|
|
|
- Double nxnss = MathUtil.twoBit(wxsslist.get(20).getPointValueInDouble());
|
|
|
-
|
|
|
- Double nqxjclss = MathUtil.twoBit(wxsslist.get(21).getPointValueInDouble());
|
|
|
-
|
|
|
- Double nqfssdl = new BigDecimal(ndjss + nsdtjss + nxnss + nqxjclss).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- Double ngzss = MathUtil.twoBit(wxsslist.get(22).getPointValueInDouble());
|
|
|
-
|
|
|
- Double ngzssdl = new BigDecimal(ngzss + ngzzsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- Double njxss = MathUtil.twoBit(wxsslist.get(23).getPointValueInDouble());
|
|
|
-
|
|
|
- Double njxssdl = new BigDecimal(njxss + njxsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- wxssmap.put("nqfssdl", nqfssdl);
|
|
|
- wxssmap.put("ngzssdl", ngzssdl);
|
|
|
- wxssmap.put("njxssdl", njxssdl);
|
|
|
-
|
|
|
- double temp = 0.0;
|
|
|
- temp = MathUtil.twoBit(wxsslist.get(24).getPointValueInDouble());
|
|
|
- Double rxdssdl = new BigDecimal(temp).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- temp = MathUtil.twoBit(wxsslist.get(25).getPointValueInDouble());
|
|
|
- Double yxdssdl = new BigDecimal(temp).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- temp = MathUtil.twoBit(wxsslist.get(26).getPointValueInDouble());
|
|
|
- Double nxdssdl = new BigDecimal(temp).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- wxssmap.put("rxdssdl", StringUtils.round(rxdssdl < 0.0 ? 0.0 : rxdssdl, 2));
|
|
|
- wxssmap.put("yxdssdl", StringUtils.round(yxdssdl < 0.0 ? 0.0 : yxdssdl, 2));
|
|
|
- wxssmap.put("nxdssdl", StringUtils.round(nxdssdl < 0.0 ? 0.0 : nxdssdl, 2));
|
|
|
-
|
|
|
- Double rdwsl = MathUtil.twoBit(wxsslist.get(27).getPointValueInDouble());
|
|
|
- Double rtqsl = MathUtil.twoBit(wxsslist.get(28).getPointValueInDouble());
|
|
|
- Double rslssdl = new BigDecimal(rdwsl + rtqsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- Double ydwsl = MathUtil.twoBit(wxsslist.get(29).getPointValueInDouble());
|
|
|
- Double ytqsl = MathUtil.twoBit(wxsslist.get(30).getPointValueInDouble());
|
|
|
- Double yslssdl = new BigDecimal(ydwsl + ytqsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
- Double ndwsl = MathUtil.twoBit(wxsslist.get(31).getPointValueInDouble());
|
|
|
- Double ntqsl = MathUtil.twoBit(wxsslist.get(32).getPointValueInDouble());
|
|
|
- Double nslssdl = new BigDecimal(ndwsl + ntqsl).divide(new BigDecimal(10000), 2, RoundingMode.HALF_EVEN).doubleValue();
|
|
|
-
|
|
|
- wxssmap.put("rslssdl", rslssdl);
|
|
|
- wxssmap.put("yslssdl", yslssdl);
|
|
|
- wxssmap.put("nslssdl", nslssdl);
|
|
|
-
|
|
|
- } else {
|
|
|
-
|
|
|
- wxssmap.put("rjxsl", 0.0);
|
|
|
- wxssmap.put("rgzzsl", 0.0);
|
|
|
- wxssmap.put("yjxsl", 0.0);
|
|
|
- wxssmap.put("ygzzsl", 0.0);
|
|
|
- wxssmap.put("njxsl", 0.0);
|
|
|
- wxssmap.put("ngzzsl", 0.0);
|
|
|
- wxssmap.put("rqfssdl", 0.0);
|
|
|
- wxssmap.put("rgzssdl", 0.0);
|
|
|
- wxssmap.put("rjxssdl", 0.0);
|
|
|
-
|
|
|
- wxssmap.put("yqfssdl", 0.0);
|
|
|
- wxssmap.put("ygzssdl", 0.0);
|
|
|
- wxssmap.put("yjxssdl", 0.0);
|
|
|
-
|
|
|
- wxssmap.put("nqfssdl", 0.0);
|
|
|
- wxssmap.put("ngzssdl", 0.0);
|
|
|
- wxssmap.put("njxssdl", 0.0);
|
|
|
-
|
|
|
-
|
|
|
- wxssmap.put("rxdssdl", 0.0);
|
|
|
- wxssmap.put("yxdssdl", 0.0);
|
|
|
- wxssmap.put("nxdssdl", 0.0);
|
|
|
-
|
|
|
-
|
|
|
- wxssmap.put("rslss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PushByWpService {
|
|
|
{
|
|
|
|
|
|
fjzbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wt.getId(), Constant.FJZT).getId());
|
|
|
-
|
|
|
- fjzbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wt.getId(), Constant.TPOINT_WT_FJSSFS).getId());
|
|
|
-
|
|
|
- fjzbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wt.getId(), Constant.TPOINT_WT_FJGL).getId());
|
|
|
-
|
|
|
- fjzbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(wt.getId(), Constant.TPOINT_WT_FDJZS).getId());
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
@@ -756,27 +758,27 @@ public class MatrixPushByWpService {
|
|
|
}
|
|
|
|
|
|
vo.setWpId(wt.getWindpowerstationid());
|
|
|
- double fjzt = MathUtil.twoBit(fjzblist.get(i * step).getPointValueInDouble());
|
|
|
+ double fjzt = MathUtil.twoBit(fjzblist.get(i ).getPointValueInDouble());
|
|
|
vo.setFjzt(fjzt);
|
|
|
- vo.setFs(MathUtil.twoBit(fjzblist.get(i*step+1).getPointValueInDouble()));
|
|
|
- double gl = MathUtil.twoBit(fjzblist.get(i * step + 2).getPointValueInDouble());
|
|
|
- vo.setGl(gl);
|
|
|
- vo.setFdjzs(MathUtil.twoBit(fjzblist.get(i*step+3).getPointValueInDouble()));
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
vo.setWtCode(wt.getCode());
|
|
|
-
|
|
|
- if (fjzt == 3) {
|
|
|
- vo.setLyl(0.0);
|
|
|
- } else {
|
|
|
- if (InitialRunner.mlmap.containsKey(wt.getModelid())) {
|
|
|
- Equipmentmodel ml = InitialRunner.mlmap.get(wt.getModelid());
|
|
|
- double generatingcapacity = ml.getPowerproduction();
|
|
|
- BigDecimal temp = new BigDecimal(generatingcapacity).divide(new BigDecimal(100), 2, RoundingMode.HALF_UP);
|
|
|
- double lyl = new BigDecimal(gl).divide(temp, 2, RoundingMode.HALF_UP).doubleValue();
|
|
|
- vo.setLyl(lyl);
|
|
|
- } else {
|
|
|
- vo.setLyl(0.0);
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
vos.add(vo);
|
|
|
|
|
@@ -790,23 +792,23 @@ public class MatrixPushByWpService {
|
|
|
|
|
|
|
|
|
|
|
|
- Map<String, Double> gxkmap = new HashMap<>();
|
|
|
- List<Windpowerinfoday> wpdls = windpowerinfodayService.getWindpowerinfodayList(wpId, DateUtils.truncate(new Date()));
|
|
|
- if (!wpdls.isEmpty()) {
|
|
|
- Windpowerinfoday wd = wpdls.get(0);
|
|
|
- gxkmap.put("ndxkyss", wd.getYeardxkyxs());
|
|
|
- gxkmap.put("nsbklyl", wd.getYearsbklyl());
|
|
|
-
|
|
|
- gxkmap.put("ydxkyss", wd.getMonthdxkyxs());
|
|
|
- gxkmap.put("ysbklyl", wd.getMonthsbklyl());
|
|
|
-
|
|
|
- } else {
|
|
|
- gxkmap.put("ndxkyss", 0.0);
|
|
|
- gxkmap.put("nsbklyl", 0.0);
|
|
|
- gxkmap.put("ydxkyss", 0.0);
|
|
|
- gxkmap.put("ysbklyl", 0.0);
|
|
|
- }
|
|
|
- map.put("gxkmap", gxkmap);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|