Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
signal
traffic-signal-platform
Commits
f0fbb621
Commit
f0fbb621
authored
Apr 21, 2025
by
duwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
79d9b027
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
108 additions
and
77 deletions
+108
-77
TrendServiceImpl.java
...ain/java/net/wanji/opt/service/impl/TrendServiceImpl.java
+72
-53
CrossingDirectionQueryVO.java
.../main/java/net/wanji/opt/vo/CrossingDirectionQueryVO.java
+6
-6
CrossingQueryVO.java
...rvice/src/main/java/net/wanji/opt/vo/CrossingQueryVO.java
+18
-6
CrossingTurnQueryVO.java
...e/src/main/java/net/wanji/opt/vo/CrossingTurnQueryVO.java
+5
-5
TableQueryVO.java
...-service/src/main/java/net/wanji/opt/vo/TableQueryVO.java
+7
-7
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/service/impl/TrendServiceImpl.java
View file @
f0fbb621
...
@@ -1415,7 +1415,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1415,7 +1415,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setFlow
(
po
.
getFlow
());
vo
.
setFlow
(
po
.
getFlow
());
Double
speed
=
po
.
getSpeed
();
Double
speed
=
po
.
getSpeed
();
vo
.
setSpeed
((
int
)
Math
.
round
(
speed
));
vo
.
setSpeed
((
double
)
Math
.
round
(
speed
*
100
)/
100.0
);
//Math.round(0.01d * 100) / 100.0
Double
queueLength
=
po
.
getQueueLength
();
Double
queueLength
=
po
.
getQueueLength
();
vo
.
setQueueLength
((
int
)
Math
.
round
(
queueLength
));
vo
.
setQueueLength
((
int
)
Math
.
round
(
queueLength
));
...
@@ -1427,9 +1427,9 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1427,9 +1427,9 @@ public class TrendServiceImpl implements TrendService {
vo
.
setEfficiencyEvaluateLevel
(
0.0
);
vo
.
setEfficiencyEvaluateLevel
(
0.0
);
Double
stopTimes
=
po
.
getStopTimes
();
Double
stopTimes
=
po
.
getStopTimes
();
vo
.
setStopTimes
((
int
)
Math
.
round
(
stopTimes
)
);
vo
.
setStopTimes
((
double
)
Math
.
round
(
stopTimes
*
100
)/
100.0
);
Double
vehheadTime
=
po
.
getVehheadTime
();
Double
vehheadTime
=
po
.
getVehheadTime
();
vo
.
setVehheadTime
((
int
)
Math
.
round
(
vehheadTime
)
);
vo
.
setVehheadTime
((
double
)
Math
.
round
(
vehheadTime
*
100
)
/
100.0
);
//饱和度
//饱和度
vo
.
setSaturation
(
0.0
);
//po.getSaturation()
vo
.
setSaturation
(
0.0
);
//po.getSaturation()
//拥堵指数
//拥堵指数
...
@@ -1453,12 +1453,12 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1453,12 +1453,12 @@ public class TrendServiceImpl implements TrendService {
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
if
(
timeOccupancyDouble
!=
null
)
{
if
(
timeOccupancyDouble
!=
null
)
{
vo
.
setTimeOccupancy
(
(
int
)
Math
.
round
(
timeOccupancyDouble
*
100
)
);
vo
.
setTimeOccupancy
(
Math
.
round
(
timeOccupancyDouble
*
100
)
/
100.0
);
}
}
Double
vehicleLengthRatioMean
=
po
.
getVehicleLengthRatioMean
();
Double
vehicleLengthRatioMean
=
po
.
getVehicleLengthRatioMean
();
if
(
vehicleLengthRatioMean
!=
null
)
{
if
(
vehicleLengthRatioMean
!=
null
)
{
vo
.
setVehicleNumsRatioMean
(
(
int
)
Math
.
round
(
vehicleLengthRatioMean
*
100
)
);
vo
.
setVehicleNumsRatioMean
(
Math
.
round
(
vehicleLengthRatioMean
*
100
)/
100.0
);
}
}
//路口服务水平
//路口服务水平
vo
.
setServiceLevel
(
0
);
vo
.
setServiceLevel
(
0
);
...
@@ -1473,11 +1473,11 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1473,11 +1473,11 @@ public class TrendServiceImpl implements TrendService {
//不停车通过率
//不停车通过率
vo
.
setNoStopPassRate
(
0
);
vo
.
setNoStopPassRate
(
0
);
if
(
po
.
getNoStopRate
()
!=
null
&&
po
.
getNoStopRate
()
>=
0
)
{
if
(
po
.
getNoStopRate
()
!=
null
&&
po
.
getNoStopRate
()
>=
0
)
{
vo
.
setNoStopPassRate
((
double
)
Math
.
round
(
po
.
getNoStopRate
()
)
);
vo
.
setNoStopPassRate
((
double
)
Math
.
round
(
po
.
getNoStopRate
()
*
100
)/
100.0
);
}
}
//一次停车通过率
//一次停车通过率
if
(
po
.
getOneStopRate
()
!=
null
&&
po
.
getOneStopRate
()
>=
0
)
{
if
(
po
.
getOneStopRate
()
!=
null
&&
po
.
getOneStopRate
()
>=
0
)
{
vo
.
setOneStopPassRate
((
double
)
Math
.
round
(
po
.
getOneStopRate
()
)
);
vo
.
setOneStopPassRate
((
double
)
Math
.
round
(
po
.
getOneStopRate
()
*
100
)/
100.0
);
}
}
//二次停车通过率
//二次停车通过率
vo
.
setTwoStopPassRate
(
0
);
vo
.
setTwoStopPassRate
(
0
);
...
@@ -1497,7 +1497,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1497,7 +1497,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficFlowB
(
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowB
(
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
vo
.
setNonMotorFlow
(
po
.
getNonMotorFlow
());
vo
.
setNonMotorFlow
(
po
.
getNonMotorFlow
());
vo
.
setV85
(
Math
.
round
(
po
.
getV85
()
*
100
)
/
100
);
vo
.
setV85
(
Math
.
round
(
po
.
getV85
()
*
100
)
/
100
.0
);
vo
.
setPedFlow
(
pedFlow
);
vo
.
setPedFlow
(
pedFlow
);
vo
.
setAllFlow
(
pedFlow
+
po
.
getNonMotorFlow
()
+
po
.
getFlow
());
vo
.
setAllFlow
(
pedFlow
+
po
.
getNonMotorFlow
()
+
po
.
getFlow
());
vo
.
setAllVehiceleFlow
(
po
.
getFlow
()
+
po
.
getNonMotorFlow
());
vo
.
setAllVehiceleFlow
(
po
.
getFlow
()
+
po
.
getNonMotorFlow
());
...
@@ -1542,7 +1542,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1542,7 +1542,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
vo
.
setNonMotorFlow
(
po
.
getNonMotorFlow
());
vo
.
setNonMotorFlow
(
po
.
getNonMotorFlow
());
Double
speed
=
po
.
getSpeed
();
Double
speed
=
po
.
getSpeed
();
vo
.
setSpeed
(
(
int
)
Math
.
round
(
speed
)
);
vo
.
setSpeed
(
Math
.
round
(
speed
*
100
)/
100.0
);
vo
.
setFlow
(
po
.
getFlow
());
vo
.
setFlow
(
po
.
getFlow
());
vo
.
setAllFlow
(
po
.
getFlow
()
+
po
.
getNonMotorFlow
()
+
po
.
getFlow
());
vo
.
setAllFlow
(
po
.
getFlow
()
+
po
.
getNonMotorFlow
()
+
po
.
getFlow
());
//----------------------------
//----------------------------
...
@@ -1556,7 +1556,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1556,7 +1556,7 @@ public class TrendServiceImpl implements TrendService {
// Date dateFromTimestamp = new Date(millis);
// Date dateFromTimestamp = new Date(millis);
Double
queueLength
=
po
.
getQueueLength
();
Double
queueLength
=
po
.
getQueueLength
();
vo
.
setQueueLength
(
(
int
)
Math
.
round
(
queueLength
)
);
vo
.
setQueueLength
(
Math
.
round
(
queueLength
*
100
)/
100.0
);
Integer
delayTime
=
po
.
getDelayTime
();
Integer
delayTime
=
po
.
getDelayTime
();
vo
.
setDelayTime
(
delayTime
);
vo
.
setDelayTime
(
delayTime
);
...
@@ -1566,12 +1566,12 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1566,12 +1566,12 @@ public class TrendServiceImpl implements TrendService {
vo
.
setEfficiencyEvaluateLevel
(
0.0
);
vo
.
setEfficiencyEvaluateLevel
(
0.0
);
Double
stopTimes
=
po
.
getStopTimes
();
Double
stopTimes
=
po
.
getStopTimes
();
vo
.
setStopTimes
(
(
int
)
Math
.
round
(
stopTimes
)
);
vo
.
setStopTimes
(
Math
.
round
(
stopTimes
*
100
)/
100.0
);
Double
vehheadTime
=
po
.
getVehheadTime
();
Double
vehheadTime
=
po
.
getVehheadTime
();
vo
.
setVehheadTime
(
(
int
)
Math
.
round
(
vehheadTime
)
);
vo
.
setVehheadTime
(
Math
.
round
(
vehheadTime
*
100
)/
100.0
);
//饱和度 sturation
//饱和度 sturation
if
(
po
.
getSturation
()
!=
null
)
{
if
(
po
.
getSturation
()
!=
null
)
{
vo
.
setSaturation
((
double
)
Math
.
round
(
po
.
getSturation
()
)
);
vo
.
setSaturation
((
double
)
Math
.
round
(
po
.
getSturation
()
*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setSaturation
(
0.0
);
vo
.
setSaturation
(
0.0
);
}
}
...
@@ -1585,7 +1585,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1585,7 +1585,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setCongestionTimes
(
0
);
vo
.
setCongestionTimes
(
0
);
//溢出次数
//溢出次数
if
(
po
.
getEffusionRate
()
!=
null
)
{
if
(
po
.
getEffusionRate
()
!=
null
)
{
vo
.
setOverflowTimes
(
(
int
)
Math
.
round
(
po
.
getEffusionRate
())
);
vo
.
setOverflowTimes
(
Math
.
round
(
po
.
getEffusionRate
()
*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setOverflowTimes
(
0
);
vo
.
setOverflowTimes
(
0
);
}
}
...
@@ -1595,7 +1595,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1595,7 +1595,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setFreeFlowTimes
(
0
);
vo
.
setFreeFlowTimes
(
0
);
//溢流率
//溢流率
if
(
po
.
getEffusionRate
()
!=
null
)
{
if
(
po
.
getEffusionRate
()
!=
null
)
{
vo
.
setOverflowRate
(
(
int
)
Math
.
round
(
po
.
getEffusionRate
())
);
vo
.
setOverflowRate
(
Math
.
round
(
po
.
getEffusionRate
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setOverflowRate
(
0.0
);
vo
.
setOverflowRate
(
0.0
);
}
}
...
@@ -1604,12 +1604,12 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1604,12 +1604,12 @@ public class TrendServiceImpl implements TrendService {
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
if
(
timeOccupancyDouble
!=
null
)
{
if
(
timeOccupancyDouble
!=
null
)
{
vo
.
setTimeOccupancy
(
(
int
)
Math
.
round
(
timeOccupancyDouble
*
100
)
);
vo
.
setTimeOccupancy
(
Math
.
round
(
timeOccupancyDouble
*
100
)/
100.0
);
}
}
Double
vehicleLengthRatioMean
=
po
.
getVehicleLengthRatioMean
();
Double
vehicleLengthRatioMean
=
po
.
getVehicleLengthRatioMean
();
if
(
vehicleLengthRatioMean
!=
null
)
{
if
(
vehicleLengthRatioMean
!=
null
)
{
vo
.
setVehicleNumsRatioMean
(
(
int
)
Math
.
round
(
vehicleLengthRatioMean
*
100
)
);
vo
.
setVehicleNumsRatioMean
(
Math
.
round
(
vehicleLengthRatioMean
*
100
)/
100.0
);
}
}
//路口服务水平
//路口服务水平
vo
.
setServiceLevel
(
0
);
vo
.
setServiceLevel
(
0
);
...
@@ -1622,12 +1622,12 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1622,12 +1622,12 @@ public class TrendServiceImpl implements TrendService {
//交通事故数
//交通事故数
vo
.
setTrafficAccidentNum
(
0
);
vo
.
setTrafficAccidentNum
(
0
);
//不停车通过率
//不停车通过率
vo
.
setNoStopPassRate
((
double
)
Math
.
round
(
po
.
getNoStopRate
()
)
);
vo
.
setNoStopPassRate
((
double
)
Math
.
round
(
po
.
getNoStopRate
()
*
100
)/
100.0
);
//一次停车通过率
//一次停车通过率
vo
.
setOneStopPassRate
((
double
)
Math
.
round
(
po
.
getOneStopRate
()
)
);
vo
.
setOneStopPassRate
((
double
)
Math
.
round
(
po
.
getOneStopRate
()
*
100
)/
100.0
);
//二次停车通过率
//二次停车通过率
vo
.
setTwoStopPassRate
((
double
)
Math
.
round
(
po
.
getTwoStopRate
()
)
);
vo
.
setTwoStopPassRate
((
double
)
Math
.
round
(
po
.
getTwoStopRate
()
*
100
)/
100.0
);
//路口未清空率
//路口未清空率
vo
.
setCrossNoClearRate
(
0
);
vo
.
setCrossNoClearRate
(
0
);
//平均排队长度
//平均排队长度
...
@@ -1643,9 +1643,9 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1643,9 +1643,9 @@ public class TrendServiceImpl implements TrendService {
//行人闯红灯率
//行人闯红灯率
vo
.
setPedCrossRedLightRate
(
0.0
);
vo
.
setPedCrossRedLightRate
(
0.0
);
vo
.
setVehheadDist
((
double
)
Math
.
round
(
po
.
getVehheadDist
()
)
);
vo
.
setVehheadDist
((
double
)
Math
.
round
(
po
.
getVehheadDist
()
*
100
)/
100.0
);
vo
.
setV85
(
Math
.
round
(
po
.
getV85
()
*
100
)
/
100
);
vo
.
setV85
(
Math
.
round
(
po
.
getV85
()
*
100
)
/
100
.0
);
vo
.
setAllVehiceleFlow
(
po
.
getFlow
()
+
po
.
getNonMotorFlow
());
vo
.
setAllVehiceleFlow
(
po
.
getFlow
()
+
po
.
getNonMotorFlow
());
vo
.
setTurn
(
po
.
getTurn
());
vo
.
setTurn
(
po
.
getTurn
());
...
@@ -1690,14 +1690,14 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1690,14 +1690,14 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficFlowB
(
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowB
(
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
Double
speed
=
po
.
getSpeed
();
Double
speed
=
po
.
getSpeed
();
vo
.
setSpeed
(
(
int
)
Math
.
round
(
speed
)
);
vo
.
setSpeed
(
Math
.
round
(
speed
*
100
)/
100.0
);
vo
.
setVehheadDist
(
0
d
);
//车头间距
vo
.
setVehheadDist
(
0
d
);
//车头间距
Double
queueLength
=
po
.
getQueueLength
();
Double
queueLength
=
po
.
getQueueLength
();
vo
.
setQueueLength
(
(
int
)
Math
.
round
(
queueLength
)
);
vo
.
setQueueLength
(
Math
.
round
(
queueLength
*
100
)/
100.0
);
Double
stopTimes
=
po
.
getStopTimes
();
Double
stopTimes
=
po
.
getStopTimes
();
vo
.
setStopTimes
(
(
int
)
Math
.
round
(
stopTimes
)
);
vo
.
setStopTimes
(
Math
.
round
(
stopTimes
*
100
)/
100.0
);
if
(
po
.
getVehheadTime
()
!=
null
)
{
if
(
po
.
getVehheadTime
()
!=
null
)
{
vo
.
setVehheadTime
(
(
int
)
Math
.
round
(
po
.
getVehheadTime
())
);
vo
.
setVehheadTime
(
Math
.
round
(
po
.
getVehheadTime
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setVehheadTime
(
0
);
vo
.
setVehheadTime
(
0
);
}
}
...
@@ -1748,7 +1748,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1748,7 +1748,7 @@ public class TrendServiceImpl implements TrendService {
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
if
(
timeOccupancyDouble
!=
null
)
{
if
(
timeOccupancyDouble
!=
null
)
{
vo
.
setTimeOccupancy
(
(
int
)
Math
.
round
(
0
*
100
)
);
vo
.
setTimeOccupancy
(
Math
.
round
(
timeOccupancyDouble
*
100
)/
100.0
);
}
}
// Double vehicleLengthRatioMean = po.getVehicleLengthRatioMean();
// Double vehicleLengthRatioMean = po.getVehicleLengthRatioMean();
...
@@ -1835,7 +1835,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1835,7 +1835,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setAllVehiceleFlow
(
po
.
getFlow
()
+
0
);
//车辆总和
vo
.
setAllVehiceleFlow
(
po
.
getFlow
()
+
0
);
//车辆总和
vo
.
setPedFlow
(
0
);
vo
.
setPedFlow
(
0
);
if
(
po
.
getNonMotorFlow
()
!=
null
)
{
if
(
po
.
getNonMotorFlow
()
!=
null
)
{
vo
.
setNonMotorFlow
(
(
int
)
Math
.
round
(
po
.
getNonMotorFlow
())
);
//非机动车流量
vo
.
setNonMotorFlow
(
Math
.
round
(
po
.
getNonMotorFlow
()
*
100
)/
100.0
);
//非机动车流量
}
else
{
}
else
{
vo
.
setNonMotorFlow
(
0
);
vo
.
setNonMotorFlow
(
0
);
}
}
...
@@ -1843,14 +1843,14 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1843,14 +1843,14 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficFlowB
((
int
)
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowB
((
int
)
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowC
((
int
)
po
.
getTrafficFlowC
());
vo
.
setTrafficFlowC
((
int
)
po
.
getTrafficFlowC
());
Double
speed
=
po
.
getSpeed
();
Double
speed
=
po
.
getSpeed
();
vo
.
setSpeed
(
(
int
)
Math
.
round
(
speed
)
);
vo
.
setSpeed
(
Math
.
round
(
speed
*
100
)/
100.0
);
vo
.
setVehheadDist
(
0
d
);
//车头间距
vo
.
setVehheadDist
(
0
d
);
//车头间距
Double
vehheadTime
=
0
d
;
Double
vehheadTime
=
0
d
;
vo
.
setVehheadTime
(
(
int
)
Math
.
round
(
vehheadTime
)
);
//车头时距
vo
.
setVehheadTime
(
Math
.
round
(
vehheadTime
*
100
)/
100.0
);
//车头时距
Double
queueLength
=
po
.
getQueueLength
();
Double
queueLength
=
po
.
getQueueLength
();
vo
.
setQueueLength
(
(
int
)
Math
.
round
(
queueLength
)
);
vo
.
setQueueLength
(
Math
.
round
(
queueLength
*
100
)/
100.0
);
Double
stopTimes
=
po
.
getStopTimes
();
//停车次数
Double
stopTimes
=
po
.
getStopTimes
();
//停车次数
vo
.
setStopTimes
(
(
int
)
Math
.
round
(
stopTimes
)
);
vo
.
setStopTimes
(
Math
.
round
(
stopTimes
*
100
)/
100.0
);
//----------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------
// if (po.getId().contains(crossId.concat(Constants.SystemParam.SEPARATOR_MINUS))) {
// if (po.getId().contains(crossId.concat(Constants.SystemParam.SEPARATOR_MINUS))) {
...
@@ -1870,13 +1870,13 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1870,13 +1870,13 @@ public class TrendServiceImpl implements TrendService {
vo
.
setEfficiencyEvaluateLevel
(
0.0
);
vo
.
setEfficiencyEvaluateLevel
(
0.0
);
//饱和度
//饱和度
if
(
po
.
getSturation
()
!=
null
)
{
if
(
po
.
getSturation
()
!=
null
)
{
vo
.
setSaturation
(
(
double
)
Math
.
round
(
po
.
getSturation
())
);
vo
.
setSaturation
(
Math
.
round
(
po
.
getSturation
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setSaturation
(
0.0
);
vo
.
setSaturation
(
0.0
);
}
}
//拥堵指数
//拥堵指数
if
(
po
.
getEffusionRate
()
!=
null
)
{
if
(
po
.
getEffusionRate
()
!=
null
)
{
vo
.
setCongestionIndex
(
po
.
getEffusionRate
()
);
vo
.
setCongestionIndex
(
Math
.
round
(
po
.
getEffusionRate
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setCongestionIndex
(
0.0
);
vo
.
setCongestionIndex
(
0.0
);
}
}
...
@@ -1903,7 +1903,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1903,7 +1903,7 @@ public class TrendServiceImpl implements TrendService {
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
if
(
timeOccupancyDouble
!=
null
)
{
if
(
timeOccupancyDouble
!=
null
)
{
vo
.
setTimeOccupancy
(
(
int
)
Math
.
round
(
timeOccupancyDouble
*
100
)
);
vo
.
setTimeOccupancy
(
Math
.
round
(
timeOccupancyDouble
*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setTimeOccupancy
(
0
);
vo
.
setTimeOccupancy
(
0
);
}
}
...
@@ -1924,19 +1924,19 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1924,19 +1924,19 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficAccidentNum
(
0
);
vo
.
setTrafficAccidentNum
(
0
);
//不停车通过率
//不停车通过率
if
(
po
.
getNoStopRate
()
!=
null
)
{
if
(
po
.
getNoStopRate
()
!=
null
)
{
vo
.
setNoStopPassRate
(
(
double
)
Math
.
round
(
po
.
getNoStopRate
())
);
vo
.
setNoStopPassRate
(
Math
.
round
(
po
.
getNoStopRate
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setNoStopPassRate
(
0
);
vo
.
setNoStopPassRate
(
0
);
}
}
//一次停车通过率
//一次停车通过率
if
(
po
.
getOneStopRate
()
!=
null
)
{
if
(
po
.
getOneStopRate
()
!=
null
)
{
vo
.
setOneStopPassRate
(
(
double
)
Math
.
round
(
po
.
getOneStopRate
())
);
vo
.
setOneStopPassRate
(
Math
.
round
(
po
.
getOneStopRate
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setOneStopPassRate
(
0
);
vo
.
setOneStopPassRate
(
0
);
}
}
//二次停车通过率
//二次停车通过率
if
(
po
.
getTwoStopRate
()
!=
null
)
{
if
(
po
.
getTwoStopRate
()
!=
null
)
{
vo
.
setTwoStopPassRate
(
(
double
)
Math
.
round
(
po
.
getTwoStopRate
())
);
vo
.
setTwoStopPassRate
(
Math
.
round
(
po
.
getTwoStopRate
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setTwoStopPassRate
(
0
);
vo
.
setTwoStopPassRate
(
0
);
}
}
...
@@ -1944,7 +1944,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1944,7 +1944,7 @@ public class TrendServiceImpl implements TrendService {
vo
.
setCrossNoClearRate
(
0
);
vo
.
setCrossNoClearRate
(
0
);
//平均排队长度
//平均排队长度
if
(
po
.
getQueueLength
()
!=
null
)
{
if
(
po
.
getQueueLength
()
!=
null
)
{
vo
.
setAvgQueueLength
(
(
double
)
Math
.
round
(
po
.
getQueueLength
())
);
vo
.
setAvgQueueLength
(
Math
.
round
(
po
.
getQueueLength
()*
100
)/
100.0
);
}
else
{
}
else
{
vo
.
setAvgQueueLength
(
0.0
);
vo
.
setAvgQueueLength
(
0.0
);
}
}
...
@@ -1994,15 +1994,15 @@ public class TrendServiceImpl implements TrendService {
...
@@ -1994,15 +1994,15 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficFlowB
(
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowB
(
po
.
getTrafficFlowB
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
vo
.
setTrafficFlowC
(
po
.
getTrafficFlowC
());
Double
speed
=
po
.
getSpeed
();
Double
speed
=
po
.
getSpeed
();
vo
.
setSpeed
(
(
int
)
Math
.
round
(
speed
)
);
vo
.
setSpeed
(
Math
.
round
(
speed
*
100
)/
100.0
);
vo
.
setVehheadDist
(
0
d
);
//车头间距
vo
.
setVehheadDist
(
0
d
);
//车头间距
Double
vehheadTime
=
0
d
;
Double
vehheadTime
=
0
d
;
vo
.
setVehheadTime
(
(
int
)
Math
.
round
(
vehheadTime
)
);
//车头时距
vo
.
setVehheadTime
(
Math
.
round
(
vehheadTime
*
100
)/
100.0
);
//车头时距
Double
queueLength
=
po
.
getQueueLength
();
Double
queueLength
=
po
.
getQueueLength
();
vo
.
setQueueLength
(
(
int
)
Math
.
round
(
queueLength
)
);
vo
.
setQueueLength
(
Math
.
round
(
queueLength
*
100
)/
100.0
);
Double
stopTimes
=
po
.
getStopTimes
();
Double
stopTimes
=
po
.
getStopTimes
();
if
(
stopTimes
!=
null
)
{
if
(
stopTimes
!=
null
)
{
vo
.
setStopTimes
(
(
int
)
Math
.
round
(
stopTimes
));
vo
.
setStopTimes
(
Math
.
round
(
stopTimes
*
100
)/
100.0
);
//Math.round(0.01d * 100) / 100.0
}
else
{
}
else
{
vo
.
setStopTimes
(
0
);
vo
.
setStopTimes
(
0
);
}
}
...
@@ -2028,16 +2028,28 @@ public class TrendServiceImpl implements TrendService {
...
@@ -2028,16 +2028,28 @@ public class TrendServiceImpl implements TrendService {
//饱和度
//饱和度
if
(
po
.
getSturation
()
!=
null
)
{
if
(
po
.
getSturation
()
!=
null
)
{
vo
.
setSaturation
(
(
double
)
Math
.
round
(
po
.
getSturation
()));
vo
.
setSaturation
(
Math
.
round
(
po
.
getSturation
()
*
100
)/
100.0
);
//Math.round(0.01d * 100) / 100.0
}
else
{
}
else
{
vo
.
setSaturation
(
0.0
);
vo
.
setSaturation
(
0.0
);
}
}
//拥堵指数
//拥堵指数
vo
.
setCongestionIndex
(
po
.
getCongestionIndex
());
if
(
po
.
getCongestionIndex
()
!=
null
)
{
vo
.
setCongestionIndex
(
Math
.
round
(
po
.
getCongestionIndex
()*
100
)/
100.0
);
}
else
{
vo
.
setCongestionIndex
(
0.0
);
}
//溢出指数
//溢出指数
vo
.
setOverflowIndex
(
po
.
getSpilloverIndex
());
if
(
po
.
getSpilloverIndex
()
!=
null
)
{
vo
.
setOverflowIndex
(
Math
.
round
(
po
.
getSpilloverIndex
()*
100
)/
100.0
);
}
else
{
vo
.
setOverflowIndex
(
0.0
);
}
//失衡指数
//失衡指数
vo
.
setImbalanceIndex
(
po
.
getUnbalanceIndex
());
if
(
po
.
getUnbalanceIndex
()
!=
null
)
{
vo
.
setImbalanceIndex
(
Math
.
round
(
po
.
getUnbalanceIndex
()*
100
)/
100.0
);
}
else
{
vo
.
setImbalanceIndex
(
0.0
);
}
//拥堵次数
//拥堵次数
vo
.
setCongestionTimes
(
0
);
vo
.
setCongestionTimes
(
0
);
//溢出次数
//溢出次数
...
@@ -2053,14 +2065,14 @@ public class TrendServiceImpl implements TrendService {
...
@@ -2053,14 +2065,14 @@ public class TrendServiceImpl implements TrendService {
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
Double
timeOccupancyDouble
=
po
.
getTimeOccupancy
();
if
(
timeOccupancyDouble
!=
null
)
{
if
(
timeOccupancyDouble
!=
null
)
{
vo
.
setTimeOccupancy
(
(
int
)
Math
.
round
(
timeOccupancyDouble
*
100
));
vo
.
setTimeOccupancy
(
Math
.
round
(
timeOccupancyDouble
*
100
)
/
100.0
);
//Math.round(0.01d * 100) / 100.0
}
else
{
}
else
{
vo
.
setTimeOccupancy
(
0
);
vo
.
setTimeOccupancy
(
0
);
}
}
Double
vehicleLengthRatioMean
=
po
.
getVehicleLengthRatioMean
();
Double
vehicleLengthRatioMean
=
po
.
getVehicleLengthRatioMean
();
if
(
vehicleLengthRatioMean
!=
null
)
{
if
(
vehicleLengthRatioMean
!=
null
)
{
vo
.
setVehicleNumsRatioMean
(
(
int
)
Math
.
round
(
vehicleLengthRatioMean
*
100
)
);
vo
.
setVehicleNumsRatioMean
(
Math
.
round
(
vehicleLengthRatioMean
*
100
)
/
100.0
);
}
else
{
}
else
{
vo
.
setVehicleNumsRatioMean
(
0
);
vo
.
setVehicleNumsRatioMean
(
0
);
}
}
...
@@ -2076,22 +2088,29 @@ public class TrendServiceImpl implements TrendService {
...
@@ -2076,22 +2088,29 @@ public class TrendServiceImpl implements TrendService {
vo
.
setTrafficAccidentNum
(
0
);
vo
.
setTrafficAccidentNum
(
0
);
//不停车通过率
//不停车通过率
if
(
po
.
getNoStopRate
()
!=
null
)
{
if
(
po
.
getNoStopRate
()
!=
null
)
{
vo
.
setNoStopPassRate
(
(
double
)
Math
.
round
(
po
.
getNoStopRate
()));
vo
.
setNoStopPassRate
(
Math
.
round
(
po
.
getNoStopRate
()
*
100
)
/
100.0d
);
//Math.round(0.01d * 100) / 100.0
}
else
{
}
else
{
vo
.
setNoStopPassRate
(
0
);
vo
.
setNoStopPassRate
(
0
);
}
}
//一次停车通过率
//一次停车通过率
if
(
po
.
getOneStopRate
()
!=
null
)
{
if
(
po
.
getOneStopRate
()
!=
null
)
{
vo
.
setOneStopPassRate
(
(
double
)
Math
.
round
(
po
.
getOneStopRate
()));
vo
.
setOneStopPassRate
(
Math
.
round
(
po
.
getOneStopRate
()
*
100
)/
100.0
);
//Math.round(0.01d * 100) / 100.0
}
else
{
}
else
{
vo
.
setOneStopPassRate
(
0
);
vo
.
setOneStopPassRate
(
0
);
}
}
//二次停车通过率
//二次停车通过率
if
(
po
.
getTwoStopRate
()
!=
null
)
{
if
(
po
.
getTwoStopRate
()
!=
null
)
{
vo
.
setTwoStopPassRate
(
po
.
getTwoStopRate
());
vo
.
setTwoStopPassRate
(
Math
.
round
(
po
.
getTwoStopRate
()
*
100
)/
100.0
);
//Math.round(0.01d * 100) / 100.0
}
else
{
}
else
{
vo
.
setTwoStopPassRate
(
0
);
vo
.
setTwoStopPassRate
(
0
);
}
}
//三次停车通过率
if
(
po
.
getThreeStopRate
()
!=
null
)
{
vo
.
setThreeStopRate
(
Math
.
round
(
po
.
getThreeStopRate
()*
100
)/
100.0
);
}
else
{
vo
.
setThreeStopRate
(
0.0
);
}
//路口未清空率
//路口未清空率
vo
.
setCrossNoClearRate
(
0
);
vo
.
setCrossNoClearRate
(
0
);
//平均排队长度
//平均排队长度
...
@@ -2105,7 +2124,7 @@ public class TrendServiceImpl implements TrendService {
...
@@ -2105,7 +2124,7 @@ public class TrendServiceImpl implements TrendService {
// vo.setVehheadDist(po.getVehheadDist());
// vo.setVehheadDist(po.getVehheadDist());
vo
.
setV85
(
Math
.
round
(
po
.
getV85
()
*
100
)
/
100
);
vo
.
setV85
(
Math
.
round
(
po
.
getV85
()
*
100
)
/
100
.0
);
// vo.setTurn(po.getTurn());
// vo.setTurn(po.getTurn());
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo/CrossingDirectionQueryVO.java
View file @
f0fbb621
...
@@ -47,7 +47,7 @@ public class CrossingDirectionQueryVO {
...
@@ -47,7 +47,7 @@ public class CrossingDirectionQueryVO {
@ApiModelProperty
(
value
=
"非机动车流量"
)
@ApiModelProperty
(
value
=
"非机动车流量"
)
@ExcelProperty
(
"非机动车流量"
)
@ExcelProperty
(
"非机动车流量"
)
private
int
nonMotorFlow
;
private
double
nonMotorFlow
;
@ExcelProperty
(
"小车流量"
)
@ExcelProperty
(
"小车流量"
)
private
Integer
trafficFlowC
;
private
Integer
trafficFlowC
;
...
@@ -60,7 +60,7 @@ public class CrossingDirectionQueryVO {
...
@@ -60,7 +60,7 @@ public class CrossingDirectionQueryVO {
@ApiModelProperty
(
value
=
"平均速度"
)
@ApiModelProperty
(
value
=
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
private
Integer
speed
;
private
double
speed
;
@ApiModelProperty
(
value
=
"平均车头间距"
)
@ApiModelProperty
(
value
=
"平均车头间距"
)
@ExcelProperty
(
"平均车头间距"
)
@ExcelProperty
(
"平均车头间距"
)
...
@@ -68,15 +68,15 @@ public class CrossingDirectionQueryVO {
...
@@ -68,15 +68,15 @@ public class CrossingDirectionQueryVO {
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
private
Integer
vehheadTime
;
private
double
vehheadTime
;
@ApiModelProperty
(
value
=
"最大排队"
)
@ApiModelProperty
(
value
=
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
private
Integer
queueLength
;
private
double
queueLength
;
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
private
Integer
stopTimes
;
private
double
stopTimes
;
//-----------------------------
//-----------------------------
...
@@ -122,7 +122,7 @@ public class CrossingDirectionQueryVO {
...
@@ -122,7 +122,7 @@ public class CrossingDirectionQueryVO {
@ApiModelProperty
(
value
=
"时间占有率"
)
@ApiModelProperty
(
value
=
"时间占有率"
)
@ExcelProperty
(
"平均时间占有率%"
)
@ExcelProperty
(
"平均时间占有率%"
)
private
Integer
timeOccupancy
;
private
double
timeOccupancy
;
@ApiModelProperty
(
value
=
"空间占有率"
)
@ApiModelProperty
(
value
=
"空间占有率"
)
// 空间长度占比 todo字段名称展示先不改了
// 空间长度占比 todo字段名称展示先不改了
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo/CrossingQueryVO.java
View file @
f0fbb621
...
@@ -60,7 +60,7 @@ public class CrossingQueryVO {
...
@@ -60,7 +60,7 @@ public class CrossingQueryVO {
@ApiModelProperty
(
value
=
"平均速度"
)
@ApiModelProperty
(
value
=
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
private
Integer
speed
;
private
double
speed
;
@ApiModelProperty
(
value
=
"平均车头间距"
)
@ApiModelProperty
(
value
=
"平均车头间距"
)
@ExcelProperty
(
"平均车头间距"
)
@ExcelProperty
(
"平均车头间距"
)
...
@@ -68,15 +68,15 @@ public class CrossingQueryVO {
...
@@ -68,15 +68,15 @@ public class CrossingQueryVO {
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
private
Integer
vehheadTime
;
private
double
vehheadTime
;
@ApiModelProperty
(
value
=
"最大排队"
)
@ApiModelProperty
(
value
=
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
private
Integer
queueLength
;
private
double
queueLength
;
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
private
Integer
stopTimes
;
private
double
stopTimes
;
//-----------------------------
//-----------------------------
...
@@ -122,12 +122,12 @@ public class CrossingQueryVO {
...
@@ -122,12 +122,12 @@ public class CrossingQueryVO {
@ApiModelProperty
(
value
=
"时间占有率"
)
@ApiModelProperty
(
value
=
"时间占有率"
)
@ExcelProperty
(
"平均时间占有率%"
)
@ExcelProperty
(
"平均时间占有率%"
)
private
Integer
timeOccupancy
;
private
double
timeOccupancy
;
@ApiModelProperty
(
value
=
"空间占有率"
)
@ApiModelProperty
(
value
=
"空间占有率"
)
// 空间长度占比 todo字段名称展示先不改了
// 空间长度占比 todo字段名称展示先不改了
@ExcelProperty
(
"平均空间占有率%"
)
@ExcelProperty
(
"平均空间占有率%"
)
private
Integer
vehicleNumsRatioMean
;
private
double
vehicleNumsRatioMean
;
@ExcelProperty
(
"85位速度"
)
@ExcelProperty
(
"85位速度"
)
private
double
v85
;
private
double
v85
;
...
@@ -187,6 +187,10 @@ public class CrossingQueryVO {
...
@@ -187,6 +187,10 @@ public class CrossingQueryVO {
@ExcelProperty
(
"二次停车通过率"
)
@ExcelProperty
(
"二次停车通过率"
)
private
double
twoStopPassRate
;
private
double
twoStopPassRate
;
@ApiModelProperty
(
name
=
"三次停车通过率"
)
@ExcelProperty
(
"三次停车通过率"
)
public
double
threeStopRate
;
@ApiModelProperty
(
value
=
"路口未清空率"
)
@ApiModelProperty
(
value
=
"路口未清空率"
)
@ExcelProperty
(
"路口未清空率"
)
@ExcelProperty
(
"路口未清空率"
)
private
double
crossNoClearRate
;
private
double
crossNoClearRate
;
...
@@ -211,4 +215,12 @@ public class CrossingQueryVO {
...
@@ -211,4 +215,12 @@ public class CrossingQueryVO {
@ExcelProperty
(
"车辆总和"
)
@ExcelProperty
(
"车辆总和"
)
private
int
allVehiceleFlow
;
private
int
allVehiceleFlow
;
}
}
public
static
void
main
(
String
[]
args
)
{
//保留两位小数
double
b
=
Math
.
round
(
0.01d
*
100
)
/
100.0
;
System
.
out
.
println
(
b
);
double
a
=
(
double
)
Math
.
round
(
0.01d
);
System
.
out
.
println
(
a
);
}
}
}
signal-optimize-service/src/main/java/net/wanji/opt/vo/CrossingTurnQueryVO.java
View file @
f0fbb621
...
@@ -72,7 +72,7 @@ public class CrossingTurnQueryVO {
...
@@ -72,7 +72,7 @@ public class CrossingTurnQueryVO {
@ApiModelProperty
(
value
=
"平均速度"
)
@ApiModelProperty
(
value
=
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
private
Integer
speed
;
private
double
speed
;
@ApiModelProperty
(
value
=
"平均车头间距"
)
@ApiModelProperty
(
value
=
"平均车头间距"
)
@ExcelProperty
(
"平均车头间距"
)
@ExcelProperty
(
"平均车头间距"
)
...
@@ -80,15 +80,15 @@ public class CrossingTurnQueryVO {
...
@@ -80,15 +80,15 @@ public class CrossingTurnQueryVO {
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
private
Integer
vehheadTime
;
private
double
vehheadTime
;
@ApiModelProperty
(
value
=
"最大排队"
)
@ApiModelProperty
(
value
=
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
private
Integer
queueLength
;
private
double
queueLength
;
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
private
Integer
stopTimes
;
private
double
stopTimes
;
//-----------------------------
//-----------------------------
...
@@ -134,7 +134,7 @@ public class CrossingTurnQueryVO {
...
@@ -134,7 +134,7 @@ public class CrossingTurnQueryVO {
@ApiModelProperty
(
value
=
"时间占有率"
)
@ApiModelProperty
(
value
=
"时间占有率"
)
@ExcelProperty
(
"平均时间占有率%"
)
@ExcelProperty
(
"平均时间占有率%"
)
private
Integer
timeOccupancy
;
private
double
timeOccupancy
;
@ApiModelProperty
(
value
=
"空间占有率"
)
@ApiModelProperty
(
value
=
"空间占有率"
)
// 空间长度占比 todo字段名称展示先不改了
// 空间长度占比 todo字段名称展示先不改了
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo/TableQueryVO.java
View file @
f0fbb621
...
@@ -135,7 +135,7 @@ public class TableQueryVO {
...
@@ -135,7 +135,7 @@ public class TableQueryVO {
@ApiModelProperty
(
value
=
"最大排队"
)
@ApiModelProperty
(
value
=
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
@ExcelProperty
(
"最大排队"
)
private
Integer
queueLength
;
private
double
queueLength
;
@ApiModelProperty
(
value
=
"平均延误"
)
@ApiModelProperty
(
value
=
"平均延误"
)
@ExcelProperty
(
"平均延误"
)
@ExcelProperty
(
"平均延误"
)
...
@@ -151,11 +151,11 @@ public class TableQueryVO {
...
@@ -151,11 +151,11 @@ public class TableQueryVO {
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ApiModelProperty
(
value
=
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
@ExcelProperty
(
"平均停车次数"
)
private
Integer
stopTimes
;
private
double
stopTimes
;
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ApiModelProperty
(
value
=
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
@ExcelProperty
(
"平均车头时距"
)
private
Integer
vehheadTime
;
private
double
vehheadTime
;
@ApiModelProperty
(
value
=
"饱和度"
)
@ApiModelProperty
(
value
=
"饱和度"
)
@ExcelProperty
(
"饱和度"
)
@ExcelProperty
(
"饱和度"
)
...
@@ -179,17 +179,17 @@ public class TableQueryVO {
...
@@ -179,17 +179,17 @@ public class TableQueryVO {
@ApiModelProperty
(
value
=
"时间占有率"
)
@ApiModelProperty
(
value
=
"时间占有率"
)
@ExcelProperty
(
"平均时间占有率%"
)
@ExcelProperty
(
"平均时间占有率%"
)
private
Integer
timeOccupancy
;
private
double
timeOccupancy
;
@ApiModelProperty
(
value
=
"空间占有率"
)
@ApiModelProperty
(
value
=
"空间占有率"
)
// 空间长度占比 todo字段名称展示先不改了
// 空间长度占比 todo字段名称展示先不改了
@ExcelProperty
(
"平均空间占有率%"
)
@ExcelProperty
(
"平均空间占有率%"
)
private
Integer
vehicleNumsRatioMean
;
private
double
vehicleNumsRatioMean
;
@ExcelProperty
(
"85位速度"
)
@ExcelProperty
(
"85位速度"
)
private
double
v85
;
private
double
v85
;
@ApiModelProperty
(
value
=
"速度"
)
@ApiModelProperty
(
value
=
"速度"
)
@ExcelProperty
(
"平均速度"
)
@ExcelProperty
(
"平均速度"
)
private
Integer
speed
;
private
double
speed
;
@ExcelProperty
(
"大车流量"
)
@ExcelProperty
(
"大车流量"
)
private
Integer
trafficFlowA
;
private
Integer
trafficFlowA
;
@ExcelProperty
(
"中车流量"
)
@ExcelProperty
(
"中车流量"
)
...
@@ -213,7 +213,7 @@ public class TableQueryVO {
...
@@ -213,7 +213,7 @@ public class TableQueryVO {
@ApiModelProperty
(
value
=
"溢出次数"
)
@ApiModelProperty
(
value
=
"溢出次数"
)
@ExcelProperty
(
"溢出次数"
)
@ExcelProperty
(
"溢出次数"
)
private
int
overflowTimes
;
private
double
overflowTimes
;
@ApiModelProperty
(
value
=
"失衡次数"
)
@ApiModelProperty
(
value
=
"失衡次数"
)
@ExcelProperty
(
"失衡次数"
)
@ExcelProperty
(
"失衡次数"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment