Commit 355c2f67da37ce9515cc65358a80ecdd187877d7

Authored by 潘钊
1 parent 51ed5624

update...

src/main/java/com/bsth/controller/realcontrol/anomalyCheckController.java
1 package com.bsth.controller.realcontrol; 1 package com.bsth.controller.realcontrol;
2 2
3 -import com.bsth.data.gpsdata.client.ClientApp;  
4 import com.bsth.data.schedule.DayOfSchedule; 3 import com.bsth.data.schedule.DayOfSchedule;
5 import com.bsth.entity.realcontrol.ScheduleRealInfo; 4 import com.bsth.entity.realcontrol.ScheduleRealInfo;
6 import org.slf4j.Logger; 5 import org.slf4j.Logger;
@@ -50,27 +49,4 @@ public class anomalyCheckController { @@ -50,27 +49,4 @@ public class anomalyCheckController {
50 dayOfSchedule.replaceByNbbm(nbbm, map.values()); 49 dayOfSchedule.replaceByNbbm(nbbm, map.values());
51 } 50 }
52 } 51 }
53 -  
54 - @Autowired  
55 - ClientApp clientApp;  
56 -  
57 - @RequestMapping(value = "/gpsClientDestroy", method = RequestMethod.POST)  
58 - public void gpsClientReconn(){  
59 - clientApp.destroy();  
60 - }  
61 -  
62 - @RequestMapping(value = "/gpsClientInit", method = RequestMethod.POST)  
63 - public void gpsClientInit(){  
64 - clientApp.init();  
65 - }  
66 -  
67 - @RequestMapping(value = "/pdClose", method = RequestMethod.POST)  
68 - public void pdClose(){  
69 - ClientApp.pdClose();  
70 - }  
71 -  
72 - @RequestMapping(value = "/pfClose", method = RequestMethod.POST)  
73 - public void pfClose(){  
74 - ClientApp.pfClose();  
75 - }  
76 } 52 }