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.

53 lines
1.3 KiB

3 years ago
using EC.App.Core;
using Furion.DependencyInjection;
using System.Threading.Tasks;
3 years ago
namespace EC.App.ThatBLL.Onvif
3 years ago
{
public interface IPTZBLL : IBLL, ISingleton
{
/// <summary>
/// 是否连接
/// </summary>
/// <param name="ip"></param>
/// <returns></returns>
bool IsConnected(string ip);
/// <summary>
/// 绝对移动
/// </summary>
/// <param name="ip"></param>
/// <param name="pan"></param>
/// <param name="tilt"></param>
/// <param name="zoom"></param>
/// <returns></returns>
Task<bool> AbsoluteMove(string ip, float pan, float tilt, float zoom);
/// <summary>
/// 相对移动
/// </summary>
/// <param name="ip"></param>
/// <param name="pan"></param>
/// <param name="tilt"></param>
/// <param name="zoom"></param>
/// <returns></returns>
Task<bool> RelativeMove(string ip, float pan, float tilt, float zoom);
/// <summary>
/// 持续移动
/// </summary>
/// <param name="ip"></param>
/// <param name="pan"></param>
/// <param name="tilt"></param>
/// <param name="zoom"></param>
/// <returns></returns>
Task<bool> ContinuousMove(string ip, float pan, float tilt, float zoom);
/// <summary>
/// 停止移动
/// </summary>
/// <param name="ip"></param>
/// <returns></returns>
Task<bool> StopMove(string ip);
}
}