2023-08-21 17:54:15 +08:00
|
|
|
package com.genersoft.iot.vmp.service;
|
|
|
|
|
|
|
|
import com.genersoft.iot.vmp.common.CommonGbChannel;
|
|
|
|
|
2023-08-25 15:49:56 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
2023-08-21 17:54:15 +08:00
|
|
|
public interface ICommonGbChannelService {
|
|
|
|
|
|
|
|
CommonGbChannel getChannel(String channelId);
|
|
|
|
|
|
|
|
int add(CommonGbChannel channel);
|
|
|
|
|
|
|
|
int delete(String channelId);
|
|
|
|
|
|
|
|
int update(CommonGbChannel channel);
|
|
|
|
|
|
|
|
boolean checkChannelInPlatform(String channelId, String platformServerId);
|
2023-08-24 16:15:58 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 从国标设备中同步通道
|
|
|
|
*
|
2023-08-25 15:49:56 +08:00
|
|
|
* @param gbDeviceId 国标设备编号
|
|
|
|
* @param syncKeys 要同步的字段
|
2023-08-24 16:15:58 +08:00
|
|
|
*/
|
2023-08-25 15:49:56 +08:00
|
|
|
boolean SyncChannelFromGb28181Device(String gbDeviceId, List<String> syncKeys);
|
2023-08-21 17:54:15 +08:00
|
|
|
}
|