Commit d102f097 authored by hanbing's avatar hanbing

[updat] 新信号评价-运行评价-拥堵情况更改指标取值

parent d1cee43b
......@@ -720,12 +720,12 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
if (status == CrossStatusEnum.CONGESTION.getCode()) {
average = subList.stream()
.mapToDouble(CrossDataHistPO::getLoadBalance)
.mapToDouble(CrossDataHistPO::getCongestionIndex)
.average()
.orElse(0.0);
} else if (status == CrossStatusEnum.UNBALANCE.getCode()) {
average = subList.stream()
.mapToDouble(CrossDataHistPO::getUnbalanceIndex)
.mapToDouble(CrossDataHistPO::getLoadBalance)
.average()
.orElse(0.0);
} else if (status == CrossStatusEnum.SPILLOVER.getCode()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment