Procházet zdrojové kódy

增加资产统计取值

wangb před 2 roky
rodič
revize
36997373e9

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

@@ -571,6 +571,14 @@ public class MonitorService {
                 jym = edosUtil.getRealData(jymvalue).getPointValueInDouble();
 
             }
+            List<ProBasicEnergyGroup> gpls = CacheContext.gpls;
+            if (!gpls.isEmpty()){
+                for (ProBasicEnergyGroup gp : gpls){
+                    qt.put("fdzzjrl",gp.getWindCapacity()/1000);
+                    qt.put("gfzzjrl",gp.getCapacity()/1000);
+                    qt.put("zzjrl",(gp.getWindCapacity() + gp.getCapacity())/1000);
+                }
+            }
 
             qt.put("aqts", MathUtil.twoBit(aqts));
             qt.put("sjgl", MathUtil.twoBit(sjgl));
@@ -590,6 +598,8 @@ public class MonitorService {
             qt.put("ylyxs", yfdl / (zjrl / 1000));
             qt.put("nlyxs", nfdl / (zjrl / 1000));
 
+
+
             map.put("qt", qt);
             /**********************************************首页安全天数、实时功率及节能减排等信息统计**********************************************************/