|
@@ -816,9 +816,9 @@ public class MonitorService {
|
|
|
StringUtils.round(yfdl8 += dl.getYfdldb().doubleValue(),2);
|
|
|
StringUtils.round(nfdl8 += dl.getNfdldb().doubleValue(),2);
|
|
|
}
|
|
|
- qt.put("ylyxs", StringUtils.round(((yfdl8 + rfdlsj) / 10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000),2));
|
|
|
+ qt.put("ylyxs", StringUtils.round(((yfdl8 + rfdlsj) / 10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 10000),2));
|
|
|
// qt.put("nlyxs", MathUtil.twoBit(nfdl / 1000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000));
|
|
|
- qt.put("nlyxs", StringUtils.round(((nfdl8 + rfdlsj) / 10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 1000),2));
|
|
|
+ qt.put("nlyxs", StringUtils.round(((nfdl8 + rfdlsj) / 10000) / ((rg.getJrwindCapacity() + rg.getJrCapacity()) / 10000),2));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -840,8 +840,8 @@ public class MonitorService {
|
|
|
}
|
|
|
// qt.put("ylyxs", MathUtil.twoBit(yfdl / 1000) / ((wp.getJrwindCapacity() + wp.getJrCapacity()) / 1000));
|
|
|
// qt.put("nlyxs", MathUtil.twoBit(nfdl / 1000) / ((wp.getJrwindCapacity() + wp.getJrCapacity()) / 1000));
|
|
|
- qt.put("ylyxs", MathUtil.twoBit((yfdl8 + rfdlsj) / 10000) / ((wp.getJrwindCapacity() + wp.getJrCapacity()) / 1000));
|
|
|
- qt.put("nlyxs", MathUtil.twoBit((nfdl8 + rfdlsj)/ 10000) / ((wp.getJrwindCapacity() + wp.getJrCapacity()) / 1000));
|
|
|
+ qt.put("ylyxs", MathUtil.twoBit((yfdl8 + rfdlsj) / 10000) / ((wp.getJrwindCapacity() + wp.getJrCapacity()) / 10000));
|
|
|
+ qt.put("nlyxs", MathUtil.twoBit((nfdl8 + rfdlsj)/ 10000) / ((wp.getJrwindCapacity() + wp.getJrCapacity()) / 10000));
|
|
|
}
|
|
|
}
|
|
|
fnlyl= Math.random() * 10 + 90;
|