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
a66e07a6
Commit
a66e07a6
authored
May 13, 2025
by
duwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信号评价接口/opt/runningEvaluate/crossEvaluate 优化
parent
ed0a98f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
RunningEvaluateServiceImpl.java
...et/wanji/opt/service/impl/RunningEvaluateServiceImpl.java
+3
-0
LightsStatusVO.java
...us/src/main/java/net/wanji/databus/vo/LightsStatusVO.java
+1
-1
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/service/impl/RunningEvaluateServiceImpl.java
View file @
a66e07a6
...
...
@@ -157,6 +157,9 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
.
sum
();
double
saturation
=
sumA
/
sumB
;
if
(
Double
.
isNaN
(
saturation
)){
saturation
=
0.0
;
}
String
serviceLevel
=
CrossUtil
.
getServiceLevel
(
saturation
);
vo
.
setServiceLevel
(
serviceLevel
);
...
...
wj-databus/src/main/java/net/wanji/databus/vo/LightsStatusVO.java
View file @
a66e07a6
...
...
@@ -24,7 +24,7 @@ public class LightsStatusVO extends BaseCrossInfo {
private
String
phasePlanId
;
@ApiModelProperty
(
value
=
"方案开始时间"
,
notes
=
"目前没有用到"
)
private
String
schemeStartTime
;
@ApiModelProperty
(
value
=
"
相位
周期剩余时长"
)
@ApiModelProperty
(
value
=
"周期剩余时长"
)
private
Integer
cycleCountDown
;
@ApiModelProperty
(
value
=
"相位周期剩余时长"
)
private
Integer
cyclePhaseCountDown
;
...
...
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