| | |
| | | schedulesDTOS.add(openDto); |
| | | } |
| | | |
| | | playPlan.setSchedule(JSON.toJSONString(schedulesDTOS)); |
| | | playPlan.setSchedule(JSON.toJSONString(playPlanParam.getSchedule())); |
| | | playPlan.setSchedules(JSON.toJSONString(schedulesDTOS)); |
| | | playPlan.setStartTime(playPlanParam.getStartTime()); |
| | | playPlan.setEndTime(playPlanParam.getEndTime()); |
| | | // BeanUtils.copyProperties(playPlanParam, playPlan); |
| | |
| | | program.setPlayerIds(playerIds); |
| | | System.out.println(pushToLed.getPages()); |
| | | |
| | | //获取节目实体 |
| | | program.setPages(JSON.parseObject(pushToLed.getPages(), List.class)); |
| | | // |
| | | // test test = JSON.parseObject(pushToLed.getSchedule(), test.class); |
| | | // |
| | | // SchedulesDTO schedulesDTO = new SchedulesDTO(); |
| | | // schedulesDTO.setExecTime(A.get); |
| | | |
| | | |
| | | program.setSchedules((JSON.parseArray(pushToLed.getSchedule(), SchedulesDTO.class))); |
| | | //获取节目定时实体 |
| | | program.setSchedules((JSON.parseObject(pushToLed.getSchedules(), Map.class))); |
| | | //获取定时开关屏幕 |
| | | // program.setSchedules((JSON.parseArray(pushToLed.getSchedule(), SchedulesDTO.class))); |
| | | |
| | | |
| | | // Map map = JSON.parseObject(pushToLed.getSchedule(), Map.class); |
| | | |
| | | program.setNoticeUrl(VnnoxConstant.NOTIFY_URL); |
| | | VnnoxResultResponse vnnoxResultResponse = vnnoxProgramAPIUtil.timeProgram(program); |
| | | // VnnoxResultResponse vnnoxResultResponse = vnnoxProgramAPIUtil.timeProgram(program); |
| | | VnnoxResultResponse vnnoxResultResponse = vnnoxProgramAPIUtil.normalProgram(program); |
| | | VnnoxResult vnnoxResult = vnnoxAPIUtil.volChange(playerIds, Integer.valueOf(one.getVolume()).intValue()); |
| | | |
| | | // VnnoxResultResponse vnnoxResultResponse = vnnoxProgramAPIUtil.normalProgram(push); |
| | | List<String> success = new ArrayList<>(); |
| | | List<String> fail = new ArrayList<>(); |
| | | if (vnnoxResultResponse.getData() != null) { |
| | |
| | | |
| | | return result; |
| | | // return program; |
| | | |
| | | } |
| | | |
| | | /** |