| | |
| | | return map; |
| | | } |
| | | |
| | | // //重启 |
| | | // public VnnoxResult reboot(List<LedPlayerEntity> playerList) { |
| | | // return vnnoxAPIUtil.reboot( |
| | | // playerList.stream().map( |
| | | // item -> item.getPlayerId() |
| | | // ).collect(Collectors.toList()) |
| | | // ); |
| | | // } |
| | | |
| | | //重启 |
| | | public VnnoxResult reboot(List<LedPlayerEntity> playerList) { |
| | | return vnnoxAPIUtil.reboot( |
| | | playerList.stream().map( |
| | | item -> item.getPlayerId() |
| | | ).collect(Collectors.toList()) |
| | | ); |
| | | public VnnoxResult reboot(List<String> playerList) { |
| | | return vnnoxAPIUtil.reboot(playerList); |
| | | } |
| | | |
| | | /** |
| | | * 同步播放 |
| | | * @param |
| | | * @return |
| | | */ |
| | | public VnnoxResult syncPlay(List<String> playerList,Integer option) { |
| | | return vnnoxAPIUtil.syncPlay(playerList,option); |
| | | } |
| | | |
| | | /** |
| | | * 对时 |
| | | * @param |
| | | * @return |
| | | */ |
| | | public VnnoxResult ntpSync(List<String> playerList,boolean enable) { |
| | | return vnnoxAPIUtil.ntpSync(playerList,enable); |
| | | } |
| | | |
| | | |
| | | public boolean updateDataName(Long id, String name) { |
| | | LedPlayerEntity byId = ledPlayerEntityService.getById(id); |
| | | if (byId == null) { |