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
52cb7bad
Commit
52cb7bad
authored
Apr 14, 2025
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取系统优化日志-优化
parent
430e2f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
SysLogServerImpl.java
...net/wanji/opt/servicev2/syslog/impl/SysLogServerImpl.java
+21
-3
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/servicev2/syslog/impl/SysLogServerImpl.java
View file @
52cb7bad
...
...
@@ -40,7 +40,7 @@ public class SysLogServerImpl extends ServiceImpl<SysLogMapper, SysOptimizeLog>
if
(
temp1
.
get
(
"command"
).
equals
(
1
))
{
temp
.
setCommandType
(
"步进控制"
);
}
else
if
(
temp1
.
get
(
"command"
).
equals
(
0
))
{
temp
.
setCommandType
(
"
步进恢复
"
);
temp
.
setCommandType
(
"
解除步进
"
);
}
break
;
case
"2"
:
...
...
@@ -58,8 +58,26 @@ public class SysLogServerImpl extends ServiceImpl<SysLogMapper, SysOptimizeLog>
temp
.
setCommandType
(
"临时方案下发"
);
break
;
case
"5"
:
temp
.
setCommandType
(
"定时任务恢复失败"
);
break
;
JSONObject
temp3
=
JSONObject
.
parseObject
(
temp
.
getDataInfo
());
Integer
commandType
=
temp3
.
getInteger
(
"commandType"
);
switch
(
commandType
)
{
//1-步进控制/恢复(公用);2-恢复时间表(公用);3-相位锁定/解锁(公用);4-临时方案下发(公用);5-定时任务恢复失败;10-查询环图失败记录',
case
1
:
temp
.
setCommandType
(
"定时任务 - 解除步进控制"
);
break
;
case
2
:
temp
.
setCommandType
(
"定时任务 - 恢复时间表"
);
break
;
case
3
:
temp
.
setCommandType
(
"定时任务 - 解除相位锁定"
);
break
;
case
4
:
temp
.
setCommandType
(
"定时任务 - 解除临时方案下发"
);
break
;
default
:
temp
.
setCommandType
(
"定时任务 - 解除控制指令"
);
break
;
}
default
:
temp
.
setCommandType
(
"其它操作"
);
break
;
...
...
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