using EC.Helper.CameraSDK;
namespace Cis.Application.Core.Component.PtzServer;
///
/// 相机 sdk 服务接口
///
public interface ICameraSdkServer
{
#region Base Method
///
/// 注册相机
///
///
///
public bool Register(CameraInfo cameraInfo);
///
/// 注销相机
///
///
///
public bool Delete(string ip);
///
/// 是否存在相机
///
///
///
public bool IsExists(string ip);
#endregion Base Method
#region Main Method
///
/// 获取 ptz
///
///
///
public PtzInfo GetPtzInfoByIp(string ip);
///
/// 获取 ptz
///
///
///
public Task GetPtzInfoByIpAsync(string ip);
///
/// 获取 ptz
///
///
///
///
public bool TryGetPtzInfoByIp(string ip, out PtzInfo ptzInfo);
///
/// 获取 ptz
///
///
///
public Task GetPtzInfoByIdAsync(string cameraId);
///
/// 获取 ptz
///
///
///
///
public bool TryGetPtzInfoById(string cameraId, out PtzInfo ptzInfo);
#endregion Main Method
}