648540858
2023-02-07 922a9e8b3216ee5b6fd36ce607eaa81f6adf70ca
src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorage.java
@@ -59,7 +59,7 @@
    */
   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);
   /**
@@ -68,7 +68,7 @@
    * @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);
   /**
@@ -91,45 +91,15 @@
    * @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();
   /**
@@ -169,15 +139,6 @@
    * @param parentPlatform
    */
   boolean deleteParentPlatform(ParentPlatform parentPlatform);
   /**
    * 分页获取上级平台
    * @param page
    * @param count
    * @return
    */
   PageInfo<ParentPlatform> queryParentPlatformList(int page, int count);
   /**
    * 获取所有已启用的平台
@@ -300,38 +261,11 @@
   List<DeviceChannel> queryGbStreamListInPlatform(String platformId);
   /**
    * 批量更新推流列表
    * @param streamPushItems
    */
   void updateMediaList(List<StreamPushItem> streamPushItems);
   /**
    * 更新单个推流
    * @param streamPushItem
    */
   void updateMedia(StreamPushItem streamPushItem);
   /**
    * 移除单个推流
    * @param app
    * @param stream
    */
   int removeMedia(String app, String stream);
   /**
    * 获取但个推流
    * @param app
    * @param stream
    * @return
    */
   StreamPushItem getMedia(String app, String stream);
   /**
    * 清空推流列表
    */
   void clearMediaList();
   /**
    * 设置流离线