Commit 29e782eb9180f8bca6a28682a753728e819e0126
1 parent
e509439b
拼音全部用小写
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/com/bsth/data/gpsdata/arrival/utils/ScheduleSignalState.java
| ... | ... | @@ -75,6 +75,8 @@ public class ScheduleSignalState { |
| 75 | 75 | if (next != null && next.getXlDir().equals(sch.getXlDir())) |
| 76 | 76 | return; |
| 77 | 77 | |
| 78 | + if(next == null) | |
| 79 | + return; | |
| 78 | 80 | //时间足够下一个班次待发时间运行到当前站 |
| 79 | 81 | int runTime = reverse.getCount() * 1500 * 60; |
| 80 | 82 | if (next.getDfsjT() + runTime < t) { | ... | ... |