You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
777 B
41 lines
777 B
![]()
4 years ago
|
package com.genersoft.iot.vmp.service;
|
||
![]()
4 years ago
|
|
||
|
import com.genersoft.iot.vmp.gb28181.bean.GbStream;
|
||
|
import com.github.pagehelper.PageInfo;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 级联国标平台关联流业务接口
|
||
|
*/
|
||
|
public interface IGbStreamService {
|
||
|
|
||
|
/**
|
||
|
* 分页获取所有
|
||
|
* @param page
|
||
|
* @param count
|
||
|
* @return
|
||
|
*/
|
||
|
PageInfo<GbStream> getAll(Integer page, Integer count);
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 移除
|
||
|
* @param app
|
||
|
* @param stream
|
||
|
*/
|
||
|
void del(String app, String stream);
|
||
|
|
||
|
/**
|
||
|
* 保存国标关联
|
||
|
* @param gbStreams
|
||
|
*/
|
||
|
boolean addPlatformInfo(List<GbStream> gbStreams, String platformId);
|
||
|
|
||
|
/**
|
||
|
* 移除国标关联
|
||
|
* @param gbStreams
|
||
|
*/
|
||
|
boolean delPlatformInfo(List<GbStream> gbStreams);
|
||
|
}
|