using Cis.Application.Cb;
using EC.Helper.Onvif;
namespace Cis.Application.Core.Component.Onvif;
public interface IOnvifServer
{
#region Base Method
///
/// 注册 onvifClient
///
///
///
public bool Register(CbCamera camera);
///
/// 注册 onvifClient(异步)
///
///
///
public Task RegisterAsync(CbCamera camera);
///
/// 注销 onvifClient
///
///
///
public bool Delete(long cameraId);
///
/// 是否存在 onvifClient
///
///
///
public bool IsExists(long cameraId);
///
/// 获取 onvifClient
///
///
///
public OnvifClient Get(long cameraId);
///
/// 获取 onvifClient
///
///
///
///
public bool TryGet(long cameraId, out OnvifClient client);
#endregion Base Method
}