소스 검색

首页提交

xieshengjie 1 년 전
부모
커밋
00b681b560
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      web/runeconomy-xk/src/main/java/com/gyee/runeconomy/service/monitor/MonitorService.java

+ 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")) {