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
e9320c3c
Commit
e9320c3c
authored
Feb 12, 2023
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] 信号机告警数据
parent
51721381
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
CommonEventWarnTask.java
...src/main/java/net/wanji/web/task/CommonEventWarnTask.java
+10
-3
No files found.
signal-control-service/src/main/java/net/wanji/web/task/CommonEventWarnTask.java
View file @
e9320c3c
...
@@ -90,10 +90,17 @@ public class CommonEventWarnTask {
...
@@ -90,10 +90,17 @@ public class CommonEventWarnTask {
if
(
true
)
{
if
(
true
)
{
CommonEventAlarmOutVo
commonEventAlarmOutVo
=
new
CommonEventAlarmOutVo
();
CommonEventAlarmOutVo
commonEventAlarmOutVo
=
new
CommonEventAlarmOutVo
();
commonEventAlarmOutVo
.
setEventType
(
3
);
commonEventAlarmOutVo
.
setEventType
(
3
);
commonEventAlarmOutVo
.
setEventId
(
"1
3FNK0C679
0"
);
commonEventAlarmOutVo
.
setEventId
(
"1
4Q3709IOR
0"
);
commonEventAlarmOutVo
.
setEventName
(
"
信号机故障
"
);
commonEventAlarmOutVo
.
setEventName
(
"
相融路与蠡太路交叉口
"
);
commonEventAlarmOutVo
.
setStatus
(
"3"
);
commonEventAlarmOutVo
.
setStatus
(
"3"
);
commonEventAlarmOutVo
.
setCoordinate
(
"116.16528182,40.19912597"
);
commonEventAlarmOutVo
.
setCoordinate
(
"120.630807,31.422317"
);
CommonEventAlarmOutVo
commonEventAlarmOutVo1
=
new
CommonEventAlarmOutVo
();
commonEventAlarmOutVo1
.
setEventType
(
3
);
commonEventAlarmOutVo1
.
setEventId
(
"8"
);
commonEventAlarmOutVo1
.
setEventName
(
"青龙港路与云集街交叉口"
);
commonEventAlarmOutVo1
.
setStatus
(
"3"
);
commonEventAlarmOutVo1
.
setCoordinate
(
"120.640305,31.418544"
);
results
.
add
(
commonEventAlarmOutVo
);
results
.
add
(
commonEventAlarmOutVo
);
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
...
...
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