old mode 100644
new mode 100755
 |  |  | 
 |  |  |  | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.*; | 
 |  |  | import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem; | 
 |  |  | import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem; | 
 |  |  | import com.genersoft.iot.vmp.service.bean.GPSMsgInfo; | 
 |  |  | import com.genersoft.iot.vmp.storager.dao.dto.ChannelSourceInfo; | 
 |  |  | import com.genersoft.iot.vmp.vmanager.gb28181.platform.bean.ChannelReduce; | 
 |  |  | import com.genersoft.iot.vmp.web.gb28181.dto.DeviceChannelExtend; | 
 |  |  | import com.github.pagehelper.PageInfo; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | 
 |  |  |     * @param count 每页数量 | 
 |  |  |     * @return | 
 |  |  |     */ | 
 |  |  |    public PageInfo queryChannelsByDeviceId(String deviceId, String query, Boolean hasSubChannel, Boolean online, Boolean catalogUnderDevice, int page, int count); | 
 |  |  |    public PageInfo<DeviceChannel> 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,List<String> channelIds); | 
 |  |  |    public List<DeviceChannelExtend> queryChannelsByDeviceIdWithStartAndLimit(String deviceId, List<String> channelIds, String query, Boolean hasSubChannel, Boolean online, int start, int limit); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  | 
 |  |  |  | 
 |  |  |     Device queryVideoDeviceByPlatformIdAndChannelId(String platformId, String channelId); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 针对deviceinfo指令的查询接口 | 
 |  |  |     * @param platformId 平台id | 
 |  |  |     * @param channelId 通道id | 
 |  |  |     * @return 设备信息 | 
 |  |  |     */ | 
 |  |  |    Device queryDeviceInfoByPlatformIdAndChannelId(String platformId, String channelId); | 
 |  |  |    /** | 
 |  |  |     * 添加Mobile Position设备移动位置 | 
 |  |  |     * @param mobilePosition | 
 |  |  | 
 |  |  |     */ | 
 |  |  |    boolean resetChannels(String deviceId, List<DeviceChannel> deviceChannelList); | 
 |  |  |  | 
 |  |  |    boolean updateChannels(String deviceId, List<DeviceChannel> deviceChannelList); | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |     * 获取目录信息 | 
 |  |  |     * @param platformId | 
 |  |  | 
 |  |  |  | 
 |  |  |    int addCatalog(PlatformCatalog platformCatalog); | 
 |  |  |  | 
 |  |  |    PlatformCatalog getCatalog(String id); | 
 |  |  |    PlatformCatalog getCatalog(String platformId, String id); | 
 |  |  |  | 
 |  |  |    int delCatalog(String id); | 
 |  |  |    int delCatalog(String platformId, String id); | 
 |  |  |  | 
 |  |  |    int updateCatalog(PlatformCatalog platformCatalog); | 
 |  |  |  | 
 |  |  | 
 |  |  |    void cleanContentForPlatform(String serverGBId); | 
 |  |  |  | 
 |  |  |    List<DeviceChannel> queryChannelWithCatalog(String serverGBId); | 
 |  |  |  | 
 |  |  |    List<DeviceChannelExtend> queryChannelsByDeviceId(String serial, List<String> channelIds, Boolean online); | 
 |  |  |  | 
 |  |  |    List<ParentPlatform> queryEnablePlatformListWithAsMessageChannel(); | 
 |  |  |  | 
 |  |  |    List<Device> queryDeviceWithAsMessageChannel(); | 
 |  |  | } |