IGbChannelService.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package com.genersoft.iot.vmp.gb28181.service;
  2. import com.genersoft.iot.vmp.gb28181.bean.CommonGBChannel;
  3. import com.genersoft.iot.vmp.gb28181.bean.DeviceType;
  4. import com.genersoft.iot.vmp.gb28181.bean.IndustryCodeType;
  5. import com.genersoft.iot.vmp.gb28181.bean.NetworkIdentificationType;
  6. import com.genersoft.iot.vmp.vmanager.bean.PageInfo;
  7. import java.util.List;
  8. public interface IGbChannelService {
  9. CommonGBChannel queryByDeviceId(String gbDeviceId);
  10. int add(CommonGBChannel commonGBChannel);
  11. int delete(int gbId);
  12. void delete(List<CommonGBChannel> commonGBChannelList);
  13. int update(CommonGBChannel commonGBChannel);
  14. int offline(CommonGBChannel commonGBChannel);
  15. int offline(List<CommonGBChannel> commonGBChannelList);
  16. int online(CommonGBChannel commonGBChannel);
  17. int online(List<CommonGBChannel> commonGBChannelList);
  18. void batchAdd(List<CommonGBChannel> commonGBChannels);
  19. void updateStatus(List<CommonGBChannel> channelList);
  20. List<CommonGBChannel> queryByPlatformId(Integer platformId);
  21. CommonGBChannel getOne(int id);
  22. List<IndustryCodeType> getIndustryCodeList();
  23. List<DeviceType> getDeviceTypeList();
  24. List<NetworkIdentificationType> getNetworkIdentificationTypeList();
  25. void reset(int id);
  26. PageInfo<CommonGBChannel> queryList(int page, int count, String query, Boolean online);
  27. }