package com.genersoft.iot.vmp.gb28181.service; import com.genersoft.iot.vmp.gb28181.bean.CommonGBChannel; import com.genersoft.iot.vmp.gb28181.bean.DeviceType; import com.genersoft.iot.vmp.gb28181.bean.IndustryCodeType; import com.genersoft.iot.vmp.gb28181.bean.NetworkIdentificationType; import com.genersoft.iot.vmp.vmanager.bean.PageInfo; import java.util.List; public interface IGbChannelService { CommonGBChannel queryByDeviceId(String gbDeviceId); int add(CommonGBChannel commonGBChannel); int delete(int gbId); void delete(List commonGBChannelList); int update(CommonGBChannel commonGBChannel); int offline(CommonGBChannel commonGBChannel); int offline(List commonGBChannelList); int online(CommonGBChannel commonGBChannel); int online(List commonGBChannelList); void batchAdd(List commonGBChannels); void updateStatus(List channelList); List queryByPlatformId(Integer platformId); CommonGBChannel getOne(int id); List getIndustryCodeList(); List getDeviceTypeList(); List getNetworkIdentificationTypeList(); void reset(int id); PageInfo queryList(int page, int count, String query, Boolean online); }