wvp-GB28181-pro/src/main/java/com/genersoft/iot/vmp/service/ICommonGbChannelService.java
2023-08-31 09:45:51 +08:00

34 lines
898 B
Java

package com.genersoft.iot.vmp.service;
import com.genersoft.iot.vmp.common.CommonGbChannel;
import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
import java.util.List;
public interface ICommonGbChannelService {
CommonGbChannel getChannel(String channelId);
int add(CommonGbChannel channel);
int addFromGbChannel(DeviceChannel channel);
int delete(String channelId);
int update(CommonGbChannel channel);
boolean checkChannelInPlatform(String channelId, String platformServerId);
/**
* 从国标设备中同步通道
*
* @param gbDeviceId 国标设备编号
* @param syncKeys 要同步的字段
*/
boolean SyncChannelFromGb28181Device(String gbDeviceId, List<String> syncKeys);
List<CommonGbChannel> getChannelsInRegion(String civilCode);
List<CommonGbChannel> getChannelsInBusinessGroup(String businessGroupID);
}