| | |
| | | @Autowired |
| | | private LocDetlService locDetlService; |
| | | |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | // @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void send() { |
| | | |
| | | //饼图 |
| | |
| | | webSocketServer.onMessage(JSONObject.toJSONString(map),null,"all"); |
| | | |
| | | } |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | // @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void errorSend(){ |
| | | Map<String,Object> map=new HashMap<String, Object>(); |
| | | // for (LedSlave slave : slaveProperties.getLed()) { |
| | |
| | | // } |
| | | } |
| | | |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | // @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void TaskSend(){ |
| | | Map<String,Object> map=new HashMap<String, Object>(); |
| | | // List<LedCommand> commandList = null; |