| | |
| | | */ |
| | | public PageInfo queryChannelsByDeviceId(String deviceId, String query, Boolean hasSubChannel, Boolean online, Boolean catalogUnderDevice, int page, int count); |
| | | |
| | | public List<DeviceChannel> queryChannelsByDeviceIdWithStartAndLimit(String deviceId, String query, Boolean hasSubChannel, Boolean online, int start, int limit); |
| | | public List<DeviceChannel> queryChannelsByDeviceIdWithStartAndLimit(String deviceId, String query, Boolean hasSubChannel, Boolean online, int start, int limit,List<String> channelIds); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param deviceId 设备ID |
| | | * @return |
| | | */ |
| | | public List<DeviceChannel> queryChannelsByDeviceId(String deviceId); |
| | | public List<DeviceChannel> queryChannelsByDeviceId(String deviceId,Boolean online,List<String> channelIds); |
| | | public List<DeviceChannel> queryOnlineChannelsByDeviceId(String deviceId); |
| | | |
| | | /** |
| | |
| | | * @param count 每页数量 |
| | | * @return List<Device> 设备对象数组 |
| | | */ |
| | | public PageInfo<Device> queryVideoDeviceList(int page, int count); |
| | | public PageInfo<Device> queryVideoDeviceList(int page, int count,Boolean online); |
| | | |
| | | /** |
| | | * 获取多个设备 |
| | | * |
| | | * @return List<Device> 设备对象数组 |
| | | */ |
| | | public List<Device> queryVideoDeviceList(); |
| | | public List<Device> queryVideoDeviceList(Boolean online); |
| | | |
| | | /** |
| | | * 删除设备 |
| | | * |
| | | * @param deviceId 设备ID |
| | | * @return true:删除成功 false:删除失败 |
| | | */ |
| | | public boolean delete(String deviceId); |
| | | |
| | | /** |
| | | * 更新设备在线 |
| | | * |
| | | * @param deviceId 设备ID |
| | | * @return true:更新成功 false:更新失败 |
| | | */ |
| | | public boolean online(String deviceId); |
| | | |
| | | /** |
| | | * 更新设备离线 |
| | | * |
| | | * @param deviceId 设备ID |
| | | * @return true:更新成功 false:更新失败 |
| | | */ |
| | | public boolean outline(String deviceId); |
| | | |
| | | /** |
| | | * 更新所有设备离线 |
| | | * |
| | | * @return true:更新成功 false:更新失败 |
| | | */ |
| | | public boolean outlineForAll(); |
| | | |
| | | |
| | | /** |