Browse Source

首页提交

xieshengjie 1 year ago
parent
commit
00b681b560

+ 6 - 0
web/runeconomy-xk/src/main/java/com/gyee/runeconomy/service/monitor/MonitorService.java

@@ -704,6 +704,12 @@ public class MonitorService {
                     ProBasicPowerstationPoint gfsjglvalue = proBasicPowerstationPointService.getPowerstationPoint(str.substring(0, str.indexOf("0")) + "-2", ContantXk.SSZGL);
                     gfsjgl = edosUtil.getRealData(gfsjglvalue).getPointValueInDouble();
                 }
+                if (wpId.contains(FD) || wpId.contains(GF)){
+                    ProBasicPowerstationPoint fdsjglvalue = proBasicPowerstationPointService.getPowerstationPoint(wpId, ContantXk.SSZGL);
+                    fdsjgl = edosUtil.getRealData(fdsjglvalue).getPointValueInDouble();
+                    ProBasicPowerstationPoint gfsjglvalue = proBasicPowerstationPointService.getPowerstationPoint(wpId, ContantXk.SSZGL);
+                    gfsjgl = edosUtil.getRealData(gfsjglvalue).getPointValueInDouble();
+                }
 
                 for (ProBasicPowerstation wp : wplist) {
 //                    if (wp.getSpare4().equals("1")) {