Commit e9320c3c authored by duanruiming's avatar duanruiming

[test] 信号机告警数据

parent 51721381
...@@ -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("13FNK0C6790"); commonEventAlarmOutVo.setEventId("14Q3709IOR0");
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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment