Commit 52404acaf25cd385998d3d5e18d8e907dfdec04b
1 parent
0ccf4fdc
1.加入历史到离站信息查询接口
Showing
2 changed files
with
66 additions
and
2 deletions
src/main/java/com/bsth/server_rs/gps/entity/HistoryArrivalEntity.java
0 → 100644
| 1 | +package com.bsth.server_rs.gps.entity; | |
| 2 | + | |
| 3 | +public class HistoryArrivalEntity { | |
| 4 | + | |
| 5 | + private String deviceId; | |
| 6 | + | |
| 7 | + private int lineId; | |
| 8 | + | |
| 9 | + private String stopNo; | |
| 10 | + | |
| 11 | + private int upDown; | |
| 12 | + | |
| 13 | + private int inOut; | |
| 14 | + | |
| 15 | + private long ts; | |
| 16 | + | |
| 17 | + public String getDeviceId() { | |
| 18 | + return deviceId; | |
| 19 | + } | |
| 20 | + | |
| 21 | + public void setDeviceId(String deviceId) { | |
| 22 | + this.deviceId = deviceId; | |
| 23 | + } | |
| 24 | + | |
| 25 | + public int getLineId() { | |
| 26 | + return lineId; | |
| 27 | + } | |
| 28 | + | |
| 29 | + public void setLineId(int lineId) { | |
| 30 | + this.lineId = lineId; | |
| 31 | + } | |
| 32 | + | |
| 33 | + public String getStopNo() { | |
| 34 | + return stopNo; | |
| 35 | + } | |
| 36 | + | |
| 37 | + public void setStopNo(String stopNo) { | |
| 38 | + this.stopNo = stopNo; | |
| 39 | + } | |
| 40 | + | |
| 41 | + public int getUpDown() { | |
| 42 | + return upDown; | |
| 43 | + } | |
| 44 | + | |
| 45 | + public void setUpDown(int upDown) { | |
| 46 | + this.upDown = upDown; | |
| 47 | + } | |
| 48 | + | |
| 49 | + public int getInOut() { | |
| 50 | + return inOut; | |
| 51 | + } | |
| 52 | + | |
| 53 | + public void setInOut(int inOut) { | |
| 54 | + this.inOut = inOut; | |
| 55 | + } | |
| 56 | + | |
| 57 | + public long getTs() { | |
| 58 | + return ts; | |
| 59 | + } | |
| 60 | + | |
| 61 | + public void setTs(long ts) { | |
| 62 | + this.ts = ts; | |
| 63 | + } | |
| 64 | +} | ... | ... |
src/main/java/com/bsth/server_rs/schedule/real/ScheduleRealService.java
| ... | ... | @@ -360,7 +360,7 @@ public class ScheduleRealService implements InitializingBean { |
| 360 | 360 | |
| 361 | 361 | @Override |
| 362 | 362 | public void afterPropertiesSet() throws Exception { |
| 363 | - /*Application.mainServices.scheduleWithFixedDelay(new Runnable() { | |
| 363 | + Application.mainServices.scheduleWithFixedDelay(new Runnable() { | |
| 364 | 364 | @Override |
| 365 | 365 | public void run() { |
| 366 | 366 | try { |
| ... | ... | @@ -419,6 +419,6 @@ public class ScheduleRealService implements InitializingBean { |
| 419 | 419 | logger.error("kafka发电子路单调度异常", e); |
| 420 | 420 | } |
| 421 | 421 | } |
| 422 | - }, 30, 240, TimeUnit.SECONDS);*/ | |
| 422 | + }, 30, 240, TimeUnit.SECONDS); | |
| 423 | 423 | } |
| 424 | 424 | } | ... | ... |