mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-20 04:17:50 +08:00
34 lines
898 B
Java
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);
|
|
}
|