|  |  | 
 |  |  | package com.doumee.api; | 
 |  |  |  | 
 |  |  | import com.doumee.api.BaseController; | 
 |  |  | import com.doumee.core.model.ApiResponse; | 
 |  |  | import com.doumee.service.business.DeviceService; | 
 |  |  | import com.doumee.service.business.third.model.ApiResponse; | 
 |  |  | import com.doumee.service.business.impl.hksync.HkSyncDeviceServiceImpl; | 
 |  |  | import com.doumee.service.business.impl.hksync.HkSyncParkServiceImpl; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | 
 |  |  | public class HkDeviceTimerController extends BaseController { | 
 |  |  |     @Autowired | 
 |  |  |     private HkSyncDeviceServiceImpl hkSyncDeviceService; | 
 |  |  |     @Autowired | 
 |  |  |     private DeviceService deviceService; | 
 |  |  |     @ApiOperation("开启定时查询设备状态") | 
 |  |  |     @GetMapping("/getAscDeviceStatus") | 
 |  |  |     public ApiResponse getAscDeviceStatus() { | 
 |  |  |         hkSyncDeviceService.getAscDeviceStatus(); | 
 |  |  |         return ApiResponse.success("开启定时查询设备状态成功"); | 
 |  |  |     } | 
 |  |  |     @ApiOperation("更新全部LED屏显内容为默认内容") | 
 |  |  |     @GetMapping("/setAllLedDefualtContent") | 
 |  |  |     public ApiResponse setAllLedDefualtContent() { | 
 |  |  |         deviceService.setAllLedDefualtContent(); | 
 |  |  |         return ApiResponse.success("更新全部LED屏显内容为默认内容"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |