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
4921f16e
Commit
4921f16e
authored
Mar 28, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 态势检测-运行模式优化
parent
c581c849
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SituationDetectionServiceImpl.java
...wanji/web/service/impl/SituationDetectionServiceImpl.java
+1
-1
SignalOperationModeCountVO.java
...web/vo/situationDetection/SignalOperationModeCountVO.java
+1
-1
No files found.
signal-control-service/src/main/java/net/wanji/web/service/impl/SituationDetectionServiceImpl.java
View file @
4921f16e
...
...
@@ -700,7 +700,7 @@ public class SituationDetectionServiceImpl implements SituationDetectionService
}
List
<
SignalOperationModeCountVO
>
resultList
=
new
ArrayList
<>();
List
<
Integer
>
typeArr
=
Arrays
.
asList
(
1
,
2
,
3
,
4
);
List
<
Integer
>
countArr
=
Arrays
.
asList
(
centerOptCount
,
borderOptCount
,
manual
OptCount
,
specialOptCount
);
List
<
Integer
>
countArr
=
Arrays
.
asList
(
centerOptCount
,
manualOptCount
,
border
OptCount
,
specialOptCount
);
for
(
int
i
=
0
;
i
<
4
;
i
++)
{
SignalOperationModeCountVO
vo
=
new
SignalOperationModeCountVO
();
vo
.
setType
(
typeArr
.
get
(
i
));
...
...
signal-control-service/src/main/java/net/wanji/web/vo/situationDetection/SignalOperationModeCountVO.java
View file @
4921f16e
...
...
@@ -12,7 +12,7 @@ import lombok.Data;
@ApiModel
(
value
=
"信号机运行模式统计实体"
)
public
class
SignalOperationModeCountVO
{
@ApiModelProperty
(
value
=
"运行模式:1中心优化 2
边缘优化 3手动控制
4特勤控制"
,
notes
=
""
)
@ApiModelProperty
(
value
=
"运行模式:1中心优化 2
手动控制 3边缘优化
4特勤控制"
,
notes
=
""
)
private
int
type
;
@ApiModelProperty
(
value
=
"数量"
,
notes
=
""
)
private
int
count
;
...
...
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