Commit d522c6e33adbd503aeb5c5fd442c27f0dbc167c4
1 parent
1e5cb526
update
Showing
1 changed file
with
6 additions
and
0 deletions
src/main/java/com/bsth/data/schedule/late_adjust/LateAdjustHandle.java
| @@ -135,6 +135,12 @@ public class LateAdjustHandle implements ApplicationContextAware{ | @@ -135,6 +135,12 @@ public class LateAdjustHandle implements ApplicationContextAware{ | ||
| 135 | if(sch == null) | 135 | if(sch == null) |
| 136 | return; | 136 | return; |
| 137 | 137 | ||
| 138 | + //可能是延迟信号,gps时间没有误点 | ||
| 139 | + if(gps.getTimestamp() <= sch.getDfsjT()){ | ||
| 140 | + sch.setLate2(false); | ||
| 141 | + lateSchMap.remove(sch.getClZbh()); | ||
| 142 | + return; | ||
| 143 | + } | ||
| 138 | //进的是班次起点(名称一样即可) | 144 | //进的是班次起点(名称一样即可) |
| 139 | gps.setStationName(BasicData.stationCode2NameMap.get(gps.getLineId() + "_" + gps.getUpDown() + "_" + gps.getStopNo())); | 145 | gps.setStationName(BasicData.stationCode2NameMap.get(gps.getLineId() + "_" + gps.getUpDown() + "_" + gps.getStopNo())); |
| 140 | if(gps.getStationName().equals(sch.getQdzName()) | 146 | if(gps.getStationName().equals(sch.getQdzName()) |