| | |
| | | @Value("${led.id}") |
| | | private String ledId; |
| | | |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | //@Scheduled(cron = "0/2 * * * * ? ") |
| | | private void send() { |
| | | |
| | | //饼图 |
| | |
| | | |
| | | } |
| | | |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | //@Scheduled(cron = "0/2 * * * * ? ") |
| | | private void ErrorSend(){ |
| | | Map<String,Object> map=new HashMap<>(); |
| | | map.put("to",ledId); |
| | |
| | | } |
| | | |
| | | |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | //@Scheduled(cron = "0/2 * * * * ? ") |
| | | private void TaskSend(){ |
| | | Map<String,Object> map=new HashMap<>(); |
| | | map.put("to",ledId); |
| | |
| | | } |
| | | List<LedCommand> commandList = new ArrayList<>(); |
| | | |
| | | if (basDevp.getWrkNo() != 0){ |
| | | if (basDevp.getWrkNo() != 0 && basDevp.getLoading().equals("Y")){ |
| | | WrkMast wrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>().eq("wrk_no", basDevp.getWrkNo())); |
| | | if (null != wrkMast){ |
| | | commandList = getCommandList(basDevp.getWrkNo().toString()); |