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
40c6e411
Commit
40c6e411
authored
Jun 01, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 运行模式统计优化
parent
ed7371d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SituationDetectionServiceImpl.java
...wanji/web/service/impl/SituationDetectionServiceImpl.java
+3
-3
No files found.
signal-control-service/src/main/java/net/wanji/web/service/impl/SituationDetectionServiceImpl.java
View file @
40c6e411
...
@@ -689,16 +689,16 @@ public class SituationDetectionServiceImpl implements SituationDetectionService
...
@@ -689,16 +689,16 @@ public class SituationDetectionServiceImpl implements SituationDetectionService
for
(
SignalOperationModeVO
modeVO
:
signalOperationModeVOS
)
{
for
(
SignalOperationModeVO
modeVO
:
signalOperationModeVOS
)
{
Integer
type
=
modeVO
.
getType
();
Integer
type
=
modeVO
.
getType
();
if
(
Objects
.
nonNull
(
type
))
{
if
(
Objects
.
nonNull
(
type
))
{
if
(
type
==
1
||
type
==
5
)
{
if
(
type
<
6
)
{
centerOptCount
++;
centerOptCount
++;
}
}
if
(
type
==
6
)
{
// todo 提供测试数据,边缘优化还没有
if
(
type
==
6
)
{
// todo 提供测试数据,边缘优化还没有
borderOptCount
++;
borderOptCount
++;
}
}
if
(
type
==
2
||
type
==
3
||
type
==
4
)
{
if
(
type
==
7
)
{
manualOptCount
++;
manualOptCount
++;
}
}
if
(
type
==
7
)
{
// todo 提供测试数据, 特勤
if
(
type
==
8
)
{
// todo 提供测试数据, 特勤
specialOptCount
++;
specialOptCount
++;
}
}
}
}
...
...
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