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
jinan
traffic-signal-platform
Commits
7fdf6bf8
Commit
7fdf6bf8
authored
Apr 28, 2025
by
fengyasheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
干线周报2.1周报拥堵次数
parent
781129d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GreenWaveWeekDataServiceImpl.java
...t/servicev2/report/impl/GreenWaveWeekDataServiceImpl.java
+1
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/servicev2/report/impl/GreenWaveWeekDataServiceImpl.java
View file @
7fdf6bf8
...
...
@@ -306,7 +306,7 @@ public class GreenWaveWeekDataServiceImpl extends ServiceImpl<GreenWaveWeekDataM
double
avgCongestDuration
=
greenWaveWeekDataVO
.
getAvgCongestDuration
()
/
list
.
size
();
greenWaveWeekDataVO
.
setCongestIndex
(
Math
.
round
(
congestIndex
*
100.0
)/
100.0
);
greenWaveWeekDataVO
.
setMaxCongestIndex
(
Math
.
round
(
maxCongestIndex
*
100.0
)/
100.0
);
greenWaveWeekDataVO
.
setCongestCount
(
Math
.
round
(
congestCount
)*
1.0
);
//
greenWaveWeekDataVO.setCongestCount(Math.round(congestCount)*1.0);
greenWaveWeekDataVO
.
setCongestDuration
(
Math
.
round
(
congestDuration
*
100.0
)/
100.0
);
greenWaveWeekDataVO
.
setMaxCongestDuration
(
Math
.
round
(
maxCongestDuration
*
100.0
)/
100.0
);
greenWaveWeekDataVO
.
setAvgCongestDuration
(
Math
.
round
(
avgCongestDuration
*
100.0
)/
100.0
);
...
...
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