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
40535fd4
Commit
40535fd4
authored
Mar 21, 2025
by
Zheng Yi Fan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增交通流量参数
parent
ef79c171
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
CrossServiceImpl.java
...java/net/wanji/opt/servicev2/implv2/CrossServiceImpl.java
+2
-1
CrossStatusDistributionVO.java
...ain/java/net/wanji/opt/vo2/CrossStatusDistributionVO.java
+2
-4
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/servicev2/implv2/CrossServiceImpl.java
View file @
40535fd4
...
...
@@ -93,7 +93,7 @@ public class CrossServiceImpl implements CrossService {
params
.
put
(
"endDate"
,
date
+
" 23:59:59"
);
params
.
put
(
"groupType"
,
groupType
);
params
.
put
(
"objectType"
,
objectType
);
// 方向级时多传一个dir参数
if
(
objectType
==
1
)
params
.
put
(
"dir"
,
condition
);
if
(
objectType
==
2
)
params
.
put
(
"dir"
,
condition
.
split
(
":"
)[
0
]);
if
(
objectType
==
3
)
params
.
put
(
"dir"
,
condition
.
split
(
":"
)[
0
]);
...
...
@@ -114,6 +114,7 @@ public class CrossServiceImpl implements CrossService {
cd
.
setStopTimes
(
c
.
getStopTimes
());
cd
.
setQueueLength
(
c
.
getAvgQueueLength
());
cd
.
setLaneNo
(
c
.
getLaneNo
());
cd
.
setFlow
(
c
.
getFlow
());
results
.
add
(
cd
);
}
...
...
signal-optimize-service/src/main/java/net/wanji/opt/vo2/CrossStatusDistributionVO.java
View file @
40535fd4
...
...
@@ -3,10 +3,6 @@ package net.wanji.opt.vo2;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
net.wanji.opt.synthesis.pojo.CrossStatusDisOptTimeEntity
;
import
java.util.Date
;
import
java.util.List
;
@Data
@ApiModel
(
value
=
"CrossStatusDistributionVO"
,
description
=
"监测详情-路口事件详情-路口状态分布"
)
...
...
@@ -31,4 +27,6 @@ public class CrossStatusDistributionVO {
private
Integer
turnType
;
@ApiModelProperty
(
value
=
"转向功能描述"
,
notes
=
""
)
private
String
turnTypeName
;
@ApiModelProperty
(
value
=
"交通流量"
)
private
Integer
flow
;
}
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