|
@@ -3,14 +3,12 @@ package com.gyee.frame.service.websocket;
|
|
|
|
|
|
import com.gyee.frame.common.spring.Constant;
|
|
import com.gyee.frame.common.spring.Constant;
|
|
import com.gyee.frame.common.spring.InitialRunner;
|
|
import com.gyee.frame.common.spring.InitialRunner;
|
|
-import com.gyee.frame.model.auto.Equipmentmodel;
|
|
|
|
-import com.gyee.frame.model.auto.WindTurbineTestingPointAi2;
|
|
|
|
-import com.gyee.frame.model.auto.WindTurbineTestingPointDi2;
|
|
|
|
-import com.gyee.frame.model.auto.Windturbine;
|
|
|
|
|
|
+import com.gyee.frame.model.auto.*;
|
|
import com.gyee.frame.model.custom.PointData;
|
|
import com.gyee.frame.model.custom.PointData;
|
|
import com.gyee.frame.service.WindTurbineTestingPointAiService;
|
|
import com.gyee.frame.service.WindTurbineTestingPointAiService;
|
|
import com.gyee.frame.service.WindTurbineTestingPointDiService;
|
|
import com.gyee.frame.service.WindTurbineTestingPointDiService;
|
|
import com.gyee.frame.service.WindturbineinfodayService;
|
|
import com.gyee.frame.service.WindturbineinfodayService;
|
|
|
|
+import com.gyee.frame.util.DateUtils;
|
|
import com.gyee.frame.util.IRealTimeDataBaseUtil;
|
|
import com.gyee.frame.util.IRealTimeDataBaseUtil;
|
|
import com.gyee.frame.util.MathUtil;
|
|
import com.gyee.frame.util.MathUtil;
|
|
import com.gyee.frame.util.StringUtils;
|
|
import com.gyee.frame.util.StringUtils;
|
|
@@ -40,7 +38,10 @@ public class WtInfoPushService {
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
|
|
|
map.put("MG01_01", findWtInfo("MG01_01"));
|
|
map.put("MG01_01", findWtInfo("MG01_01"));
|
|
-
|
|
|
|
|
|
+ map.put("SG01_01", findWtInfo("SG01_01"));
|
|
|
|
+ map.put("XG01_01", findWtInfo("XG01_01"));
|
|
|
|
+ map.put("NG01_01", findWtInfo("NG01_01"));
|
|
|
|
+ map.put("QG01_01", findWtInfo("QG01_01"));
|
|
return map;
|
|
return map;
|
|
|
|
|
|
}
|
|
}
|
|
@@ -73,8 +74,8 @@ public class WtInfoPushService {
|
|
Double yfgl = 0.0;
|
|
Double yfgl = 0.0;
|
|
|
|
|
|
List<String> zbls = new ArrayList<>();
|
|
List<String> zbls = new ArrayList<>();
|
|
|
|
+
|
|
List<String> keyls = new ArrayList<>();
|
|
List<String> keyls = new ArrayList<>();
|
|
- List<String> uids = new ArrayList<>();
|
|
|
|
|
|
|
|
Map<String, Integer> bjnamemap = new HashMap<>();
|
|
Map<String, Integer> bjnamemap = new HashMap<>();
|
|
Map<String, Integer> clxnamemap = new HashMap<>();
|
|
Map<String, Integer> clxnamemap = new HashMap<>();
|
|
@@ -82,7 +83,7 @@ public class WtInfoPushService {
|
|
Map<String, Integer> phnamemap = new HashMap<>();
|
|
Map<String, Integer> phnamemap = new HashMap<>();
|
|
Map<String, Integer> yynamemap = new HashMap<>();
|
|
Map<String, Integer> yynamemap = new HashMap<>();
|
|
Map<String, Integer> jcnamemap = new HashMap<>();
|
|
Map<String, Integer> jcnamemap = new HashMap<>();
|
|
-
|
|
|
|
|
|
+ Map<String, Integer> jczbnamemap = new HashMap<>();
|
|
|
|
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_FJKYL).getId());// 可利用率
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_FJKYL).getId());// 可利用率
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_RFDL).getId());// 日发电量
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_RFDL).getId());// 日发电量
|
|
@@ -101,24 +102,29 @@ public class WtInfoPushService {
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RQFSSDL).getId());// 日场外受累电网
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RQFSSDL).getId());// 日场外受累电网
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RXDSSDL).getId());// 日场外受累天气
|
|
zbls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RXDSSDL).getId());// 日场外受累天气
|
|
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_FJKYL).getUniformcode());// 可利用率
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_RFDL).getUniformcode());// 日发电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_LLGL).getUniformcode());// 风机理论功率
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_YFGL).getUniformcode());// 风机应发功率
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_RFDLBZ).getUniformcode());// 日理论发电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_RFDLZS).getUniformcode());// 日应发电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.FJZT).getUniformcode());// 风机状态
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.TPOINT_WT_PJGL).getUniformcode());// 平均风速功率
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RGZSSDL).getUniformcode());// 风机日故障损失电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RJXSSDL).getUniformcode());// 风机日检修损失电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RQFSSDL).getUniformcode());// 风机日欠发损失电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RXDSSDL).getUniformcode());// 风机日限电损失电量
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RGZSSDL).getUniformcode());// 日场内受累检修
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RJXSSDL).getUniformcode());// 日场内受累故障
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RQFSSDL).getUniformcode());// 日场外受累电网
|
|
|
|
- keyls.add(windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, Constant.RXDSSDL).getUniformcode());// 日场外受累天气
|
|
|
|
|
|
+ keyls.add("FJKYL");// 可利用率
|
|
|
|
+ keyls.add("RFDL");// 日发电量
|
|
|
|
+ keyls.add("LLGL");// 风机理论功率
|
|
|
|
+ keyls.add("YFGL");// 风机应发功率
|
|
|
|
+ keyls.add("RFDLBZ");// 日理论发电量
|
|
|
|
+ keyls.add("RFDLZS");// 日应发电量
|
|
|
|
+ keyls.add("FJZT");// 风机状态
|
|
|
|
+ keyls.add("PJGL");// 平均风速功率
|
|
|
|
+ keyls.add("RGZSSDL");// 风机日故障损失电量
|
|
|
|
+ keyls.add("RJXSSDL");// 风机日检修损失电量
|
|
|
|
+ keyls.add("RQFSSDL");// 风机日欠发损失电量
|
|
|
|
+ keyls.add("RXDSSDL");// 风机日限电损失电量
|
|
|
|
+ keyls.add("RGZSSDL");// 日场内受累检修
|
|
|
|
+ keyls.add("RJXSSDL");// 日场内受累故障
|
|
|
|
+ keyls.add("RQFSSDL");// 日场外受累电网
|
|
|
|
+ keyls.add("RXDSSDL");// 日场外受累天气
|
|
|
|
+
|
|
|
|
|
|
/*********************************************************************变桨*********************************************************************************/
|
|
/*********************************************************************变桨*********************************************************************************/
|
|
|
|
+
|
|
|
|
+ List<String> uids = new ArrayList<>();
|
|
|
|
+ List<String> msls = new ArrayList<>();
|
|
|
|
+
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
|
|
|
|
uids.add(Constant.TPOINT_WT_RYBMQ1);
|
|
uids.add(Constant.TPOINT_WT_RYBMQ1);
|
|
@@ -132,12 +138,7 @@ public class WtInfoPushService {
|
|
uids.add(Constant.QSTPOINT_WT_U3YZDL);
|
|
uids.add(Constant.QSTPOINT_WT_U3YZDL);
|
|
uids.add(Constant.QSTPOINT_WT_U1YZDY);
|
|
uids.add(Constant.QSTPOINT_WT_U1YZDY);
|
|
uids.add(Constant.QSTPOINT_WT_U2YZDY);
|
|
uids.add(Constant.QSTPOINT_WT_U2YZDY);
|
|
-
|
|
|
|
-
|
|
|
|
- initialpoint(id, zbls, keyls, bjnamemap,uids);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ uids.add(Constant.QSTPOINT_WT_U3YZDY);
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
@@ -152,12 +153,28 @@ public class WtInfoPushService {
|
|
uids.add(Constant.TPOINT_WT_U3YZDL);
|
|
uids.add(Constant.TPOINT_WT_U3YZDL);
|
|
uids.add(Constant.TPOINT_WT_U1YZDY);
|
|
uids.add(Constant.TPOINT_WT_U1YZDY);
|
|
uids.add(Constant.TPOINT_WT_U2YZDY);
|
|
uids.add(Constant.TPOINT_WT_U2YZDY);
|
|
|
|
+ uids.add(Constant.TPOINT_WT_U3YZDY);
|
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
- initialpoint(id, zbls, keyls, bjnamemap,uids);
|
|
|
|
|
|
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ msls.add("RYBMQ1");
|
|
|
|
+ msls.add("RYBMQ2");
|
|
|
|
+ msls.add("RYBMQ3");
|
|
|
|
+ msls.add("BJSD1");
|
|
|
|
+ msls.add("BJSD2");
|
|
|
|
+ msls.add("BJSD3");
|
|
|
|
+ msls.add("U1YZDL");
|
|
|
|
+ msls.add("U2YZDL");
|
|
|
|
+ msls.add("U3YZDL");
|
|
|
|
+ msls.add("U1YZDY");
|
|
|
|
+ msls.add("U2YZDY");
|
|
|
|
+ msls.add("U3YZDY");
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ initialpoint(id, zbls, keyls, bjnamemap,uids,msls);
|
|
|
|
|
|
|
|
|
|
List<String> unicodels = new ArrayList<>();
|
|
List<String> unicodels = new ArrayList<>();
|
|
@@ -169,23 +186,20 @@ public class WtInfoPushService {
|
|
unicodels.add(Constant.TPOINT_WT_YP2XW95);
|
|
unicodels.add(Constant.TPOINT_WT_YP2XW95);
|
|
unicodels.add(Constant.TPOINT_WT_YP3XW95);
|
|
unicodels.add(Constant.TPOINT_WT_YP3XW95);
|
|
|
|
|
|
- List<WindTurbineTestingPointDi2> list = windTurbineTestingPointDiService.getWindTurbineTestingPointDi2List(id, unicodels);
|
|
|
|
|
|
+ List<String> unmsls = new ArrayList<>();
|
|
|
|
|
|
- if (!list.isEmpty()) {
|
|
|
|
|
|
+ unmsls.add("YP1XW91");
|
|
|
|
+ unmsls.add("YP2XW91");
|
|
|
|
+ unmsls.add("YP3XW91");
|
|
|
|
+ unmsls.add("YP1XW95");
|
|
|
|
+ unmsls.add("YP2XW95");
|
|
|
|
+ unmsls.add("YP3XW95");
|
|
|
|
|
|
- for (WindTurbineTestingPointDi2 di : list) {
|
|
|
|
- if(bjnamemap.containsKey(di.getUniformcode()))
|
|
|
|
- {
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
- zbls.add(di.getId());//
|
|
|
|
- keyls.add(di.getUniformcode());
|
|
|
|
- bjnamemap.put(di.getUniformcode(),zbls.size()-1);
|
|
|
|
|
|
+ InitalDiMap(id, zbls, keyls, bjnamemap, unicodels, unmsls);
|
|
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
/**************************************************************************齿轮箱*****************************************************************************/
|
|
/**************************************************************************齿轮箱*****************************************************************************/
|
|
|
|
|
|
|
|
+ msls=new ArrayList<>();
|
|
uids=new ArrayList<>();
|
|
uids=new ArrayList<>();
|
|
uids.add(Constant.TPOINT_WT_RHYLWRKYL);
|
|
uids.add(Constant.TPOINT_WT_RHYLWRKYL);
|
|
uids.add(Constant.TPOINT_WT_RHYLWCKYL);
|
|
uids.add(Constant.TPOINT_WT_RHYLWCKYL);
|
|
@@ -194,8 +208,14 @@ public class WtInfoPushService {
|
|
uids.add(Constant.TPOINT_WT_CLXRHYLWYC);
|
|
uids.add(Constant.TPOINT_WT_CLXRHYLWYC);
|
|
uids.add(Constant.TPOINT_WT_CLXRKYW);
|
|
uids.add(Constant.TPOINT_WT_CLXRKYW);
|
|
|
|
|
|
|
|
+ msls.add("RHYLWRKYL");
|
|
|
|
+ msls.add("RHYLWCKYL");
|
|
|
|
+ msls.add("CLXSRZ1WD");
|
|
|
|
+ msls.add("CLXRHYJRBH");
|
|
|
|
+ msls.add("CLXRHYLWYC");
|
|
|
|
+ msls.add("CLXRKYW");
|
|
|
|
|
|
- initialpoint(id, zbls, keyls, clxnamemap,uids);
|
|
|
|
|
|
+ initialpoint(id, zbls, keyls, clxnamemap,uids,msls);
|
|
|
|
|
|
unicodels = new ArrayList<>();
|
|
unicodels = new ArrayList<>();
|
|
|
|
|
|
@@ -211,40 +231,39 @@ public class WtInfoPushService {
|
|
unicodels.add(Constant.TPOINT_WT_QDCLXYBJRQ);
|
|
unicodels.add(Constant.TPOINT_WT_QDCLXYBJRQ);
|
|
|
|
|
|
|
|
|
|
- list = windTurbineTestingPointDiService.getWindTurbineTestingPointDi2List(id, unicodels);
|
|
|
|
|
|
+ unmsls = new ArrayList<>();
|
|
|
|
|
|
- if (!list.isEmpty()) {
|
|
|
|
|
|
+ unmsls.add("CLXYW");
|
|
|
|
+ unmsls.add("CLXRHYYL");
|
|
|
|
+ unmsls.add("CLXRHBDJBH");
|
|
|
|
+ unmsls.add("CLXRHYJRBH");
|
|
|
|
+ unmsls.add("CLXRHYLWYC");
|
|
|
|
+ unmsls.add("CLXYJRQBH");
|
|
|
|
+ unmsls.add("QDCLXRHJRQ");
|
|
|
|
+ unmsls.add("QDCLXRHGSBA");
|
|
|
|
+ unmsls.add("QDCLXRHGSBB");
|
|
|
|
+ unmsls.add("QDCLXYBJRQ");
|
|
|
|
+
|
|
|
|
+ InitalDiMap(id, zbls, keyls, clxnamemap, unicodels, unmsls);
|
|
|
|
|
|
- for (WindTurbineTestingPointDi2 di : list) {
|
|
|
|
- if(clxnamemap.containsKey(di.getUniformcode()))
|
|
|
|
- {
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
- zbls.add(di.getId());//
|
|
|
|
- keyls.add(di.getUniformcode());
|
|
|
|
- clxnamemap.put(di.getUniformcode(),zbls.size()-1);
|
|
|
|
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
/***********************************************************************发电机********************************************************************************/
|
|
/***********************************************************************发电机********************************************************************************/
|
|
- if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
|
|
|
|
|
|
|
|
+ msls=new ArrayList<>();
|
|
|
|
+ uids=new ArrayList<>();
|
|
|
|
+ if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
|
|
|
|
- uids=new ArrayList<>();
|
|
|
|
uids.add(Constant.QSTPOINT_WT_U1YZWD);
|
|
uids.add(Constant.QSTPOINT_WT_U1YZWD);
|
|
uids.add(Constant.QSTPOINT_WT_V1YZWD);
|
|
uids.add(Constant.QSTPOINT_WT_V1YZWD);
|
|
uids.add(Constant.QSTPOINT_WT_W1YZWD);
|
|
uids.add(Constant.QSTPOINT_WT_W1YZWD);
|
|
uids.add(Constant.TPOINT_WT_FDJZCAWD);
|
|
uids.add(Constant.TPOINT_WT_FDJZCAWD);
|
|
uids.add(Constant.TPOINT_WT_FDJZCBWD);
|
|
uids.add(Constant.TPOINT_WT_FDJZCBWD);
|
|
uids.add(Constant.TPOINT_WT_FDJLQFWD);
|
|
uids.add(Constant.TPOINT_WT_FDJLQFWD);
|
|
-
|
|
|
|
uids.add(Constant.TPOINT_WT_FDJHHWD);
|
|
uids.add(Constant.TPOINT_WT_FDJHHWD);
|
|
|
|
|
|
|
|
|
|
- initialpoint(id, zbls, keyls, fdjnamemap,uids);
|
|
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
- uids=new ArrayList<>();
|
|
|
|
|
|
+
|
|
uids.add(Constant.TPOINT_WT_U1YZWD);
|
|
uids.add(Constant.TPOINT_WT_U1YZWD);
|
|
uids.add(Constant.TPOINT_WT_V1YZWD);
|
|
uids.add(Constant.TPOINT_WT_V1YZWD);
|
|
uids.add(Constant.TPOINT_WT_W1YZWD);
|
|
uids.add(Constant.TPOINT_WT_W1YZWD);
|
|
@@ -253,9 +272,18 @@ public class WtInfoPushService {
|
|
uids.add(Constant.TPOINT_WT_FDJLQFWD);
|
|
uids.add(Constant.TPOINT_WT_FDJLQFWD);
|
|
uids.add(Constant.TPOINT_WT_FDJHHWD);
|
|
uids.add(Constant.TPOINT_WT_FDJHHWD);
|
|
|
|
|
|
- initialpoint(id, zbls, keyls, fdjnamemap,uids);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ msls.add("U1YZWD");
|
|
|
|
+ msls.add("V1YZWD");
|
|
|
|
+ msls.add("W1YZWD");
|
|
|
|
+ msls.add("FDJZCAWD");
|
|
|
|
+ msls.add("FDJZCBWD");
|
|
|
|
+ msls.add("FDJLQFWD");
|
|
|
|
+ msls.add("FDJHHWD");
|
|
|
|
+
|
|
|
|
+ initialpoint(id, zbls, keyls, fdjnamemap,uids,msls);
|
|
|
|
+
|
|
unicodels = new ArrayList<>();
|
|
unicodels = new ArrayList<>();
|
|
|
|
|
|
unicodels.add(Constant.TPOINT_WT_FDJJRQBHZC);
|
|
unicodels.add(Constant.TPOINT_WT_FDJJRQBHZC);
|
|
@@ -272,49 +300,43 @@ public class WtInfoPushService {
|
|
unicodels.add(Constant.TPOINT_WT_QDFDJRHYB);
|
|
unicodels.add(Constant.TPOINT_WT_QDFDJRHYB);
|
|
|
|
|
|
|
|
|
|
- list = windTurbineTestingPointDiService.getWindTurbineTestingPointDi2List(id, unicodels);
|
|
|
|
|
|
+ unmsls = new ArrayList<>();
|
|
|
|
|
|
- if (!list.isEmpty()) {
|
|
|
|
|
|
+ unmsls.add("FDJJRQBHZC");
|
|
|
|
+ unmsls.add("QDFDJJRQ");
|
|
|
|
+ unmsls.add("FDJDSMS");
|
|
|
|
+ unmsls.add("QDKLFS1");
|
|
|
|
+ unmsls.add("QDKLFS2");
|
|
|
|
+ unmsls.add("KLFSBH1");
|
|
|
|
+ unmsls.add("KLFSBH2");
|
|
|
|
+ unmsls.add("QDSLFS1");
|
|
|
|
+ unmsls.add("QDSLFSBH1");
|
|
|
|
+ unmsls.add("LQSYL");
|
|
|
|
+ unmsls.add("FDJRHYBYW");
|
|
|
|
+ unmsls.add("QDFDJRHYB");
|
|
|
|
|
|
- for (WindTurbineTestingPointDi2 di : list) {
|
|
|
|
- if(fdjnamemap.containsKey(di.getUniformcode()))
|
|
|
|
- {
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
- zbls.add(di.getId());//
|
|
|
|
- keyls.add(di.getUniformcode());
|
|
|
|
- fdjnamemap.put(di.getUniformcode(),zbls.size()-1);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ InitalDiMap(id, zbls, keyls, fdjnamemap, unicodels, unmsls);
|
|
|
|
|
|
/*********************************************************************偏航**********************************************************************************/
|
|
/*********************************************************************偏航**********************************************************************************/
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
+ msls=new ArrayList<>();
|
|
|
|
+ uids=new ArrayList<>();
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
|
|
|
|
-
|
|
|
|
- uids=new ArrayList<>();
|
|
|
|
uids.add(Constant.TPOINT_WT_DFJD);
|
|
uids.add(Constant.TPOINT_WT_DFJD);
|
|
uids.add(Constant.QSTPOINT_WT_PHWZ);
|
|
uids.add(Constant.QSTPOINT_WT_PHWZ);
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- initialpoint(id, zbls, keyls, phnamemap,uids);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
- uids=new ArrayList<>();
|
|
|
|
|
|
+
|
|
uids.add(Constant.TPOINT_WT_DFJD);
|
|
uids.add(Constant.TPOINT_WT_DFJD);
|
|
uids.add(Constant.TPOINT_WT_PHWZ);
|
|
uids.add(Constant.TPOINT_WT_PHWZ);
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- initialpoint(id, zbls, keyls, phnamemap,uids);
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ msls.add("DFJD");
|
|
|
|
+ msls.add("PHWZ");
|
|
|
|
+ initialpoint(id, zbls, keyls, phnamemap,uids,msls);
|
|
|
|
|
|
unicodels = new ArrayList<>();
|
|
unicodels = new ArrayList<>();
|
|
|
|
|
|
@@ -337,30 +359,42 @@ public class WtInfoPushService {
|
|
unicodels.add(Constant.TPOINT_WT_PHDJ3BH);
|
|
unicodels.add(Constant.TPOINT_WT_PHDJ3BH);
|
|
unicodels.add(Constant.TPOINT_WT_PHDJ4BH);
|
|
unicodels.add(Constant.TPOINT_WT_PHDJ4BH);
|
|
|
|
|
|
-
|
|
|
|
- if (!list.isEmpty()) {
|
|
|
|
-
|
|
|
|
- for (WindTurbineTestingPointDi2 di : list) {
|
|
|
|
- if(phnamemap.containsKey(di.getUniformcode()))
|
|
|
|
- {
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
- zbls.add(di.getId());//
|
|
|
|
- keyls.add(di.getUniformcode());
|
|
|
|
- phnamemap.put(di.getUniformcode(),zbls.size()-1);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ unmsls = new ArrayList<>();
|
|
|
|
+
|
|
|
|
+ unmsls.add("PHZJX");
|
|
|
|
+ unmsls.add("PHYJX");
|
|
|
|
+ unmsls.add("PHRQDQZC");
|
|
|
|
+ unmsls.add("ZPHDZ");
|
|
|
|
+ unmsls.add("PHDSCDK");
|
|
|
|
+ unmsls.add("YPHDZ");
|
|
|
|
+ unmsls.add("PHRQDQDZ");
|
|
|
|
+ unmsls.add("PHRQDQSN");
|
|
|
|
+ unmsls.add("PHBMQZL");
|
|
|
|
+ unmsls.add("JLDZ");
|
|
|
|
+ unmsls.add("PHCGQMTOK");
|
|
|
|
+ unmsls.add("PHCGQOK");
|
|
|
|
+ unmsls.add("PHZCRHYW");
|
|
|
|
+ unmsls.add("PHRHBZCBH");
|
|
|
|
+ unmsls.add("PHDJ1BH");
|
|
|
|
+ unmsls.add("PHDJ2BH");
|
|
|
|
+ unmsls.add("PHDJ3BH");
|
|
|
|
+ unmsls.add("PHDJ4BH");
|
|
|
|
+
|
|
|
|
+ InitalDiMap(id, zbls, keyls, phnamemap, unicodels, unmsls);
|
|
/****************************************************************液压***************************************************************************************/
|
|
/****************************************************************液压***************************************************************************************/
|
|
|
|
|
|
|
|
+ msls=new ArrayList<>();
|
|
uids=new ArrayList<>();
|
|
uids=new ArrayList<>();
|
|
uids.add(Constant.TPOINT_WT_YYXTYY);
|
|
uids.add(Constant.TPOINT_WT_YYXTYY);
|
|
uids.add(Constant.TPOINT_WT_ZZSCXTYY);
|
|
uids.add(Constant.TPOINT_WT_ZZSCXTYY);
|
|
uids.add(Constant.TPOINT_WT_FDJLQSWD);
|
|
uids.add(Constant.TPOINT_WT_FDJLQSWD);
|
|
uids.add(Constant.TPOINT_WT_YYYW);
|
|
uids.add(Constant.TPOINT_WT_YYYW);
|
|
|
|
|
|
-
|
|
|
|
- initialpoint(id, zbls, keyls, yynamemap,uids);
|
|
|
|
|
|
+ msls.add("YYXTYY");
|
|
|
|
+ msls.add("ZZSCXTYY");
|
|
|
|
+ msls.add("FDJLQSWD");
|
|
|
|
+ msls.add("YYYW");
|
|
|
|
+ initialpoint(id, zbls, keyls, yynamemap,uids,msls);
|
|
|
|
|
|
unicodels = new ArrayList<>();
|
|
unicodels = new ArrayList<>();
|
|
|
|
|
|
@@ -371,30 +405,24 @@ public class WtInfoPushService {
|
|
unicodels.add(Constant.TPOINT_WT_YYYJRQBH);
|
|
unicodels.add(Constant.TPOINT_WT_YYYJRQBH);
|
|
|
|
|
|
|
|
|
|
- list = windTurbineTestingPointDiService.getWindTurbineTestingPointDi2List(id, unicodels);
|
|
|
|
-
|
|
|
|
- if (!list.isEmpty()) {
|
|
|
|
|
|
+ unmsls = new ArrayList<>();
|
|
|
|
|
|
- for (WindTurbineTestingPointDi2 di : list) {
|
|
|
|
- if(yynamemap.containsKey(di.getUniformcode()))
|
|
|
|
- {
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
- zbls.add(di.getId());//
|
|
|
|
- keyls.add(di.getUniformcode());
|
|
|
|
- yynamemap.put(di.getUniformcode(),zbls.size()-1);
|
|
|
|
|
|
+ unmsls.add("YYYWDCX");
|
|
|
|
+ unmsls.add("YYYYW");
|
|
|
|
+ unmsls.add("YLSCYY");
|
|
|
|
+ unmsls.add("YYBDJBH");
|
|
|
|
+ unmsls.add("YYYJRQBH");
|
|
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ InitalDiMap(id, zbls, keyls, yynamemap, unicodels, unmsls);
|
|
/***********************************************************************机舱********************************************************************************/
|
|
/***********************************************************************机舱********************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
+ msls=new ArrayList<>();
|
|
|
|
+ uids=new ArrayList<>();
|
|
|
|
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
|
|
|
|
- uids=new ArrayList<>();
|
|
|
|
uids.add(Constant.TPOINT_WT_YPWZ1);
|
|
uids.add(Constant.TPOINT_WT_YPWZ1);
|
|
uids.add(Constant.TPOINT_WT_YPWZ2);
|
|
uids.add(Constant.TPOINT_WT_YPWZ2);
|
|
uids.add(Constant.TPOINT_WT_YPWZ3);
|
|
uids.add(Constant.TPOINT_WT_YPWZ3);
|
|
@@ -407,19 +435,14 @@ public class WtInfoPushService {
|
|
uids.add(Constant.TPOINT_WT_FJFX);
|
|
uids.add(Constant.TPOINT_WT_FJFX);
|
|
uids.add(Constant.TPOINT_WT_YLZS);
|
|
uids.add(Constant.TPOINT_WT_YLZS);
|
|
uids.add(Constant.QSTPOINT_WT_FDJZS);
|
|
uids.add(Constant.QSTPOINT_WT_FDJZS);
|
|
-
|
|
|
|
uids.add(Constant.TPOINT_WT_JCWWD);
|
|
uids.add(Constant.TPOINT_WT_JCWWD);
|
|
uids.add(Constant.TPOINT_WT_JCWD);
|
|
uids.add(Constant.TPOINT_WT_JCWD);
|
|
uids.add(Constant.TPOINT_WT_TDGWD);
|
|
uids.add(Constant.TPOINT_WT_TDGWD);
|
|
uids.add(Constant.TPOINT_WT_JCGWD);
|
|
uids.add(Constant.TPOINT_WT_JCGWD);
|
|
|
|
|
|
|
|
|
|
- initialpoint(id, zbls, keyls, jcnamemap,uids);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
- uids=new ArrayList<>();
|
|
|
|
|
|
+
|
|
uids.add(Constant.TPOINT_WT_YPWZ1);
|
|
uids.add(Constant.TPOINT_WT_YPWZ1);
|
|
uids.add(Constant.TPOINT_WT_YPWZ2);
|
|
uids.add(Constant.TPOINT_WT_YPWZ2);
|
|
uids.add(Constant.TPOINT_WT_YPWZ3);
|
|
uids.add(Constant.TPOINT_WT_YPWZ3);
|
|
@@ -432,16 +455,33 @@ public class WtInfoPushService {
|
|
uids.add(Constant.TPOINT_WT_FJFX);
|
|
uids.add(Constant.TPOINT_WT_FJFX);
|
|
uids.add(Constant.TPOINT_WT_YLZS);
|
|
uids.add(Constant.TPOINT_WT_YLZS);
|
|
uids.add(Constant.TPOINT_WT_FDJZS);
|
|
uids.add(Constant.TPOINT_WT_FDJZS);
|
|
-
|
|
|
|
uids.add(Constant.TPOINT_WT_JCWWD);
|
|
uids.add(Constant.TPOINT_WT_JCWWD);
|
|
uids.add(Constant.TPOINT_WT_JCWD);
|
|
uids.add(Constant.TPOINT_WT_JCWD);
|
|
uids.add(Constant.TPOINT_WT_TDGWD);
|
|
uids.add(Constant.TPOINT_WT_TDGWD);
|
|
uids.add(Constant.TPOINT_WT_JCGWD);
|
|
uids.add(Constant.TPOINT_WT_JCGWD);
|
|
|
|
|
|
- initialpoint(id, zbls, keyls, jcnamemap,uids);
|
|
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ msls.add("YPWZ1");
|
|
|
|
+ msls.add("YPWZ2");
|
|
|
|
+ msls.add("YPWZ3");
|
|
|
|
+ msls.add("FJSSFS");
|
|
|
|
+ msls.add("FJGL");
|
|
|
|
+ msls.add("GLYS");
|
|
|
|
+ msls.add("BJJD1");
|
|
|
|
+ msls.add("FJPL");
|
|
|
|
+ msls.add("WGGL");
|
|
|
|
+ msls.add("FJFX");
|
|
|
|
+ msls.add("YLZS");
|
|
|
|
+ msls.add("FDJZS");
|
|
|
|
+ msls.add("JCWWD");
|
|
|
|
+ msls.add("JCWD");
|
|
|
|
+ msls.add("TDGWD");
|
|
|
|
+ msls.add("JCGWD");
|
|
|
|
+
|
|
|
|
+ initialpoint(id, zbls, keyls, jcnamemap,uids,msls);
|
|
|
|
|
|
unicodels = new ArrayList<>();
|
|
unicodels = new ArrayList<>();
|
|
|
|
|
|
@@ -457,21 +497,20 @@ public class WtInfoPushService {
|
|
unicodels.add(Constant.TPOINT_WT_LQSYL2);
|
|
unicodels.add(Constant.TPOINT_WT_LQSYL2);
|
|
|
|
|
|
|
|
|
|
- list = windTurbineTestingPointDiService.getWindTurbineTestingPointDi2List(id, unicodels);
|
|
|
|
|
|
+ unmsls = new ArrayList<>();
|
|
|
|
|
|
- if (!list.isEmpty()) {
|
|
|
|
|
|
+ unmsls.add("YYYYW2");
|
|
|
|
+ unmsls.add("YYYWDCX2");
|
|
|
|
+ unmsls.add("YLSCYY2");
|
|
|
|
+ unmsls.add("YYBDJBH2");
|
|
|
|
+ unmsls.add("YYYJRQBH2");
|
|
|
|
+ unmsls.add("CLXYW2");
|
|
|
|
+ unmsls.add("CLXRHYYL2");
|
|
|
|
+ unmsls.add("CLXRHYJRBH2");
|
|
|
|
+ unmsls.add("FDJJRQBHZC2");
|
|
|
|
+ unmsls.add("LQSYL2");
|
|
|
|
|
|
- for (WindTurbineTestingPointDi2 di : list) {
|
|
|
|
- if(jcnamemap.containsKey(di.getUniformcode()))
|
|
|
|
- {
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
- zbls.add(di.getId());//
|
|
|
|
- keyls.add(di.getUniformcode());
|
|
|
|
- jcnamemap.put(di.getUniformcode(),zbls.size()-1);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ InitalDiMap(id, zbls, keyls, jcnamemap, unicodels, unmsls);
|
|
|
|
|
|
/*******************************************************************************************************************************************************/
|
|
/*******************************************************************************************************************************************************/
|
|
|
|
|
|
@@ -617,55 +656,106 @@ public class WtInfoPushService {
|
|
|
|
|
|
/*************************************************关系库指标**************************************************************/
|
|
/*************************************************关系库指标**************************************************************/
|
|
|
|
|
|
-// Map<String, Double> gxkmap = new HashMap<>();
|
|
|
|
-// Date date = DateUtils.truncate(new Date());
|
|
|
|
-// List<WindTurbineInfoDay> wtdls = windturbineinfodayService.getWindturbineinfo(id, date);
|
|
|
|
-// if (!wtdls.isEmpty()) {
|
|
|
|
-// WindTurbineInfoDay wd = wtdls.get(0);
|
|
|
|
-// gxkmap.put("ndxkyss", wd.getYeardxkyxs());
|
|
|
|
-// gxkmap.put("nsbklyl", wd.getYearsbklyl());
|
|
|
|
-// gxkmap.put("ydxkyss", wd.getMonthdxkyxs());
|
|
|
|
-// gxkmap.put("ysbklyl", wd.getMonthsbklyl());
|
|
|
|
-//
|
|
|
|
-// gxkmap.put("yyxxs", wd.getMonthruntime());
|
|
|
|
-// gxkmap.put("ygzxs", wd.getMonthfaulttime());
|
|
|
|
-// gxkmap.put("yjxxs", wd.getMonthmaintaintime());
|
|
|
|
-// gxkmap.put("ytjxs", wd.getMonhtstoptime());
|
|
|
|
-//
|
|
|
|
-// } else {
|
|
|
|
-// gxkmap.put("ndxkyss", 0.0);
|
|
|
|
-// gxkmap.put("nsbklyl", 0.0);
|
|
|
|
-// gxkmap.put("ydxkyss", 0.0);
|
|
|
|
-// gxkmap.put("ysbklyl", 0.0);
|
|
|
|
-//
|
|
|
|
-// gxkmap.put("yyxxs", 0.0);
|
|
|
|
-// gxkmap.put("ygzxs", 0.0);
|
|
|
|
-// gxkmap.put("yjxxs", 0.0);
|
|
|
|
-// gxkmap.put("ytjxs", 0.0);
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// map.put("gxkmap", gxkmap);
|
|
|
|
-// }
|
|
|
|
|
|
+ Map<String, Double> gxkmap = new HashMap<>();
|
|
|
|
+ Date date = DateUtils.truncate(new Date());
|
|
|
|
+ List<WindTurbineInfoDay> wtdls = windturbineinfodayService.getWindturbineinfo(id, date);
|
|
|
|
+ if (!wtdls.isEmpty()) {
|
|
|
|
+ WindTurbineInfoDay wd = wtdls.get(0);
|
|
|
|
+ gxkmap.put("ndxkyss", wd.getYeardxkyxs());
|
|
|
|
+ gxkmap.put("nsbklyl", wd.getYearsbklyl());
|
|
|
|
+ gxkmap.put("ydxkyss", wd.getMonthdxkyxs());
|
|
|
|
+ gxkmap.put("ysbklyl", wd.getMonthsbklyl());
|
|
|
|
+
|
|
|
|
+ gxkmap.put("yyxxs", wd.getMonthruntime());
|
|
|
|
+ gxkmap.put("ygzxs", wd.getMonthfaulttime());
|
|
|
|
+ gxkmap.put("yjxxs", wd.getMonthmaintaintime());
|
|
|
|
+ gxkmap.put("ytjxs", wd.getMonhtstoptime());
|
|
|
|
+
|
|
|
|
+ } else {
|
|
|
|
+ gxkmap.put("ndxkyss", 0.0);
|
|
|
|
+ gxkmap.put("nsbklyl", 0.0);
|
|
|
|
+ gxkmap.put("ydxkyss", 0.0);
|
|
|
|
+ gxkmap.put("ysbklyl", 0.0);
|
|
|
|
+
|
|
|
|
+ gxkmap.put("yyxxs", 0.0);
|
|
|
|
+ gxkmap.put("ygzxs", 0.0);
|
|
|
|
+ gxkmap.put("yjxxs", 0.0);
|
|
|
|
+ gxkmap.put("ytjxs", 0.0);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ map.put("gxkmap", gxkmap);
|
|
|
|
+
|
|
/*************************************************关系库指标**************************************************************/
|
|
/*************************************************关系库指标**************************************************************/
|
|
}
|
|
}
|
|
|
|
|
|
return map;
|
|
return map;
|
|
}
|
|
}
|
|
|
|
|
|
- private void initialpoint(String id, List<String> zbls, List<String> keyls, Map<String, Integer> bjnamemap,List<String> uids) {
|
|
|
|
|
|
+ private void InitalDiMap(String id, List<String> zbls, List<String> keyls, Map<String, Integer> map, List<String> unicodels, List<String> unmsls) {
|
|
|
|
+ if(unmsls.size()==unicodels.size())
|
|
|
|
+ {
|
|
|
|
+ Map<String,String> tempmap=new HashMap<>();
|
|
|
|
+ for(int i=0;i<unmsls.size();i++)
|
|
|
|
+ {
|
|
|
|
+ tempmap.put(unicodels.get(i),unmsls.get(i));
|
|
|
|
+ }
|
|
|
|
+ List<WindTurbineTestingPointDi2> list = windTurbineTestingPointDiService.getWindTurbineTestingPointDi2List(id, unicodels);
|
|
|
|
+
|
|
|
|
+ if (!list.isEmpty()) {
|
|
|
|
+
|
|
|
|
+ for (int i=0;i<list.size();i++) {
|
|
|
|
+ WindTurbineTestingPointDi2 di=list.get(i);
|
|
|
|
+ if(map.containsKey(di.getUniformcode()))
|
|
|
|
+ {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+ if(null!=di.getId())
|
|
|
|
+ {
|
|
|
|
+ zbls.add(di.getId());//
|
|
|
|
+ if(tempmap.containsKey(di.getUniformcode()))
|
|
|
|
+ {
|
|
|
|
+ keyls.add(tempmap.get(di.getUniformcode()));
|
|
|
|
+ map.put(tempmap.get(di.getUniformcode()),zbls.size()-1);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ private void initialpoint(String id, List<String> zbls, List<String> keyls, Map<String, Integer> bjnamemap,List<String> uids ,List<String> msls) {
|
|
|
|
|
|
- for(String uid:uids)
|
|
|
|
|
|
+ if(msls.size()==uids.size())
|
|
{
|
|
{
|
|
- WindTurbineTestingPointAi2 point= windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, uid);
|
|
|
|
- if(null!=point)
|
|
|
|
|
|
+ for(int i=0;i<uids.size();i++)
|
|
{
|
|
{
|
|
- zbls.add(point.getId());//
|
|
|
|
- keyls.add(point.getUniformcode());//
|
|
|
|
- bjnamemap.put(point.getUniformcode(),zbls.size()-1);
|
|
|
|
|
|
+ WindTurbineTestingPointAi2 point= windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, uids.get(i));
|
|
|
|
+ if(null!=point && null!=point.getId())
|
|
|
|
+ {
|
|
|
|
+ zbls.add(point.getId());//
|
|
|
|
+ keyls.add(msls.get(i));//
|
|
|
|
+ bjnamemap.put(msls.get(i),zbls.size()-1);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
+// private void initialpoint(String id, List<String> zbls, List<String> keyls, Map<String, Integer> bjnamemap,List<String> uids) {
|
|
|
|
+//
|
|
|
|
+// for(String uid:uids)
|
|
|
|
+// {
|
|
|
|
+// WindTurbineTestingPointAi2 point= windTurbineTestingPointAiService.getWindTurbineTestingPointAi2(id, uid);
|
|
|
|
+// if(null!=point && null!=point.getId())
|
|
|
|
+// {
|
|
|
|
+// zbls.add(point.getId());//
|
|
|
|
+// // keyls.add(point.getUniformcode());//
|
|
|
|
+// bjnamemap.put(point.getUniformcode(),zbls.size()-1);
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -684,7 +774,7 @@ public class WtInfoPushService {
|
|
String id=wt.getId();
|
|
String id=wt.getId();
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
+ List<String> msls = new ArrayList<>();
|
|
List<String> zbls = new ArrayList<>();
|
|
List<String> zbls = new ArrayList<>();
|
|
List<String> keyls = new ArrayList<>();
|
|
List<String> keyls = new ArrayList<>();
|
|
List<String> uids = new ArrayList<>();
|
|
List<String> uids = new ArrayList<>();
|
|
@@ -694,31 +784,57 @@ public class WtInfoPushService {
|
|
uids.add(Constant.TPOINT_WT_FJGL);//有功功率
|
|
uids.add(Constant.TPOINT_WT_FJGL);//有功功率
|
|
uids.add(Constant.TPOINT_WT_YYYW);//液压油温
|
|
uids.add(Constant.TPOINT_WT_YYYW);//液压油温
|
|
uids.add(Constant.PCS_WD);//PSC温度
|
|
uids.add(Constant.PCS_WD);//PSC温度
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ msls.add("FDJLQFWD");//冷却风温度
|
|
|
|
+ msls.add("FJGL");//有功功率
|
|
|
|
+ msls.add("YYYW");//液压油温
|
|
|
|
+ msls.add("PCS_WD");//PSC温度
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
if (wt.getWindpowerstationid().equals(QS_FDC)) {
|
|
uids.add(Constant.QSTPOINT_WT_U1YZWD);//U1绕组温度
|
|
uids.add(Constant.QSTPOINT_WT_U1YZWD);//U1绕组温度
|
|
uids.add(Constant.QSTPOINT_WT_V1YZWD);//V1绕组温度
|
|
uids.add(Constant.QSTPOINT_WT_V1YZWD);//V1绕组温度
|
|
uids.add(Constant.QSTPOINT_WT_W1YZWD);//W1绕组温度
|
|
uids.add(Constant.QSTPOINT_WT_W1YZWD);//W1绕组温度
|
|
|
|
+
|
|
|
|
+ msls.add("U1YZWD");//U1绕组温度
|
|
|
|
+ msls.add("V1YZWD");//V1绕组温度
|
|
|
|
+ msls.add("W1YZWD");//W1绕组温度
|
|
}else
|
|
}else
|
|
{
|
|
{
|
|
uids.add(Constant.TPOINT_WT_U1YZWD);//U1绕组温度
|
|
uids.add(Constant.TPOINT_WT_U1YZWD);//U1绕组温度
|
|
uids.add(Constant.TPOINT_WT_V1YZWD);//V1绕组温度
|
|
uids.add(Constant.TPOINT_WT_V1YZWD);//V1绕组温度
|
|
uids.add(Constant.TPOINT_WT_W1YZWD);//W1绕组温度
|
|
uids.add(Constant.TPOINT_WT_W1YZWD);//W1绕组温度
|
|
|
|
+
|
|
|
|
+ msls.add("U1YZWD");//U1绕组温度
|
|
|
|
+ msls.add("V1YZWD");//V1绕组温度
|
|
|
|
+ msls.add("W1YZWD");//W1绕组温度
|
|
}
|
|
}
|
|
uids.add(Constant.TPOINT_WT_U2YZWD);//U2绕组温度
|
|
uids.add(Constant.TPOINT_WT_U2YZWD);//U2绕组温度
|
|
uids.add(Constant.TPOINT_WT_V2YZWD);//V2绕组温度
|
|
uids.add(Constant.TPOINT_WT_V2YZWD);//V2绕组温度
|
|
uids.add(Constant.TPOINT_WT_W2YZWD);//W2绕组温度
|
|
uids.add(Constant.TPOINT_WT_W2YZWD);//W2绕组温度
|
|
-
|
|
|
|
uids.add(Constant.TPOINT_WT_FDJZCAWD);//发电机轴承A温度
|
|
uids.add(Constant.TPOINT_WT_FDJZCAWD);//发电机轴承A温度
|
|
uids.add(Constant.TPOINT_WT_FDJZCBWD);//发电机轴承B温度
|
|
uids.add(Constant.TPOINT_WT_FDJZCBWD);//发电机轴承B温度
|
|
-
|
|
|
|
uids.add(Constant.TPOINT_WT_CLXWD);//齿轮箱油温
|
|
uids.add(Constant.TPOINT_WT_CLXWD);//齿轮箱油温
|
|
uids.add(Constant.TPOINT_WT_CLXSRZ1WD);//齿轮箱输入轴1温度
|
|
uids.add(Constant.TPOINT_WT_CLXSRZ1WD);//齿轮箱输入轴1温度
|
|
uids.add(Constant.TPOINT_WT_CLXSRZ2WD);//齿轮箱输入轴2温度
|
|
uids.add(Constant.TPOINT_WT_CLXSRZ2WD);//齿轮箱输入轴2温度
|
|
uids.add(Constant.TPOINT_WT_JCWD);//机舱温度
|
|
uids.add(Constant.TPOINT_WT_JCWD);//机舱温度
|
|
uids.add(Constant.TPOINT_WT_JCWWD);//机舱外温度
|
|
uids.add(Constant.TPOINT_WT_JCWWD);//机舱外温度
|
|
-
|
|
|
|
uids.add(Constant.TPOINT_WT_FDJHHWD);//发电机滑环温度
|
|
uids.add(Constant.TPOINT_WT_FDJHHWD);//发电机滑环温度
|
|
- initialpoint(id, zbls, keyls, namemap,uids);
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ msls.add("U2YZWD");//U2绕组温度
|
|
|
|
+ msls.add("V2YZWD");//V2绕组温度
|
|
|
|
+ msls.add("W2YZWD");//W2绕组温度
|
|
|
|
+ msls.add("FDJZCAWD");//发电机轴承A温度
|
|
|
|
+ msls.add("FDJZCBWD");//发电机轴承B温度
|
|
|
|
+ msls.add("CLXWD");//齿轮箱油温
|
|
|
|
+ msls.add("CLXSRZ1WD");//齿轮箱输入轴1温度
|
|
|
|
+ msls.add("CLXSRZ2WD");//齿轮箱输入轴2温度
|
|
|
|
+ msls.add("JCWD");//机舱温度
|
|
|
|
+ msls.add("JCWWD");//机舱外温度
|
|
|
|
+ msls.add("FDJHHWD");//发电机滑环温度
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ initialpoint(id, zbls, keyls, namemap,uids,msls);
|
|
/*******************************************************************************************************************************************************/
|
|
/*******************************************************************************************************************************************************/
|
|
|
|
|
|
Map<String, Object> zbmap = new HashMap<>();
|
|
Map<String, Object> zbmap = new HashMap<>();
|
|
@@ -754,6 +870,13 @@ public class WtInfoPushService {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ for(String str:msls)
|
|
|
|
+ {
|
|
|
|
+ if(!zbmap.containsKey(str))
|
|
|
|
+ {
|
|
|
|
+ zbmap.put(str,null);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
vos.add(zbmap);
|
|
vos.add(zbmap);
|
|
|
|
|
|
}
|
|
}
|