Commit d6a6a88288353b8816f638258580314abdf14272
1 parent
3b2743e1
进出站加日志信息
Showing
2 changed files
with
2 additions
and
0 deletions
src/main/java/com/bsth/data/gpsdata_v2/handlers/InStationProcess.java
| @@ -81,6 +81,7 @@ public class InStationProcess { | @@ -81,6 +81,7 @@ public class InStationProcess { | ||
| 81 | * @param prev | 81 | * @param prev |
| 82 | */ | 82 | */ |
| 83 | private void inStation(GpsEntity gps, GpsEntity prev) { | 83 | private void inStation(GpsEntity gps, GpsEntity prev) { |
| 84 | + logger.info("进站记录(到达时间:" + gps.getArrTime() + " 进出站状态:" + gps.getInstation() + " 站点编号:" + gps.getStopNo() + " deviceId:" + gps.getDeviceId() + " nbbm:" + gps.getNbbm() + ")"); | ||
| 84 | ScheduleRealInfo sch = dayOfSchedule.executeCurr(gps.getNbbm()); | 85 | ScheduleRealInfo sch = dayOfSchedule.executeCurr(gps.getNbbm()); |
| 85 | boolean flow = true; | 86 | boolean flow = true; |
| 86 | //要经过2个中途站才能进 | 87 | //要经过2个中途站才能进 |
src/main/java/com/bsth/data/gpsdata_v2/handlers/OutStationProcess.java
| @@ -74,6 +74,7 @@ public class OutStationProcess { | @@ -74,6 +74,7 @@ public class OutStationProcess { | ||
| 74 | * @param gps | 74 | * @param gps |
| 75 | */ | 75 | */ |
| 76 | private void outStation(GpsEntity gps, GpsEntity prev) { | 76 | private void outStation(GpsEntity gps, GpsEntity prev) { |
| 77 | + logger.info("进站记录(到达时间:" + gps.getArrTime() + " 进出站状态:" + gps.getInstation() + " 站点编号:" + gps.getStopNo() + " deviceId:" + gps.getDeviceId() + " nbbm:" + gps.getNbbm() + ")"); | ||
| 77 | ScheduleRealInfo sch = dayOfSchedule.executeCurr(gps.getNbbm()); | 78 | ScheduleRealInfo sch = dayOfSchedule.executeCurr(gps.getNbbm()); |
| 78 | 79 | ||
| 79 | //起点发车 | 80 | //起点发车 |