| | |
| | | import com.qianwen.mdc.collect.mapper.iotdb.ProcessParamMapper; |
| | | import com.qianwen.mdc.collect.mapper.mgr.CalendarMapper; |
| | | import com.qianwen.mdc.collect.mqtt.MqttMessageSender; |
| | | import com.qianwen.mdc.collect.service.DeviceOfflineCheckService; |
| | | import com.qianwen.mdc.collect.service.DeviceStateFixPointService; |
| | | import com.qianwen.mdc.collect.service.IOTMqttReceiveService; |
| | | import com.qianwen.mdc.collect.service.IotDBCommonService; |
| | |
| | | public class CalController { |
| | | @Autowired |
| | | private TimeSliceCache timeSliceCache; |
| | | |
| | | @Autowired |
| | | DeviceOfflineCheckService offService; |
| | | String calCode= "1"; |
| | | |
| | | @GetMapping("/gett") |
| | |
| | | |
| | | return "settOK,targetDate="+targetDate; |
| | | } |
| | | |
| | | @GetMapping("/offline") |
| | | public Object off(long wid) { |
| | | offService.handleWorkstationOffline(wid); |
| | | return "1"; |
| | | } |
| | | } |