Commit 1af80940eca84f7b4dab48c2ae98f16b00405de2
1 parent
7a9f9f69
update...
Showing
1 changed file
with
7 additions
and
7 deletions
src/main/java/com/bsth/XDApplication.java
| 1 | 1 | package com.bsth; |
| 2 | 2 | |
| 3 | 3 | import com.bsth.data.BasicData; |
| 4 | +import com.bsth.data.LineVersionsData; | |
| 4 | 5 | import com.bsth.data.ThreadMonotor; |
| 5 | 6 | import com.bsth.data.car_out_info.UpdateDBThread; |
| 6 | 7 | import com.bsth.data.directive.DirectivesPstThread; |
| 7 | 8 | import com.bsth.data.forecast.SampleTimeDataLoader; |
| 8 | 9 | import com.bsth.data.gpsdata_v2.thread.GpsDataLoaderThread; |
| 9 | 10 | import com.bsth.data.gpsdata_v2.thread.OfflineMonitorThread; |
| 10 | -import com.bsth.data.line_version.thread.FixedEnableVerionsThread; | |
| 11 | 11 | import com.bsth.data.msg_queue.DirectivePushQueue; |
| 12 | 12 | import com.bsth.data.msg_queue.WebSocketPushQueue; |
| 13 | 13 | import com.bsth.data.safe_driv.SafeDrivDataLoadThread; |
| ... | ... | @@ -73,11 +73,11 @@ public class XDApplication implements CommandLineRunner { |
| 73 | 73 | @Autowired |
| 74 | 74 | OfflineMonitorThread offlineMonitorThread; |
| 75 | 75 | |
| 76 | - //@Autowired | |
| 77 | - //LineVersionsData lineVersionsData; | |
| 78 | - | |
| 79 | 76 | @Autowired |
| 80 | - FixedEnableVerionsThread fixedEnableVerionsThread; | |
| 77 | + LineVersionsData lineVersionsData; | |
| 78 | + | |
| 79 | + /*@Autowired | |
| 80 | + FixedEnableVerionsThread fixedEnableVerionsThread;*/ | |
| 81 | 81 | |
| 82 | 82 | @Autowired |
| 83 | 83 | SafeDrivDataLoadThread safeDrivDataLoadThread; |
| ... | ... | @@ -180,9 +180,9 @@ public class XDApplication implements CommandLineRunner { |
| 180 | 180 | sexec.scheduleAtFixedRate(calcOilThread, timeDiff / 1000, 60 * 60 * 24, TimeUnit.SECONDS); |
| 181 | 181 | |
| 182 | 182 | //线路版本更新 |
| 183 | - //sexec.scheduleWithFixedDelay(lineVersionsData, 60 * 5, 60 * 15, TimeUnit.SECONDS); | |
| 183 | + sexec.scheduleWithFixedDelay(lineVersionsData, 60 * 5, 60 * 15, TimeUnit.SECONDS); | |
| 184 | 184 | |
| 185 | 185 | //线路版本更新 |
| 186 | - sexec.scheduleWithFixedDelay(fixedEnableVerionsThread, 60 * 4, 60 * 2 , TimeUnit.SECONDS); | |
| 186 | + //sexec.scheduleWithFixedDelay(fixedEnableVerionsThread, 60 * 4, 60 * 2 , TimeUnit.SECONDS); | |
| 187 | 187 | } |
| 188 | 188 | } | ... | ... |