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.
61 lines
1.4 KiB
61 lines
1.4 KiB
3 years ago
|
using EC.App.Core;
|
||
|
using Furion.DependencyInjection;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace EC.App.ThatBLL.Onvif.Impl
|
||
|
{
|
||
|
public interface IPTZBLL : IBLL, ISingleton
|
||
|
{
|
||
|
#region Operate
|
||
|
|
||
|
/// <summary>
|
||
|
/// 是否连接
|
||
|
/// </summary>
|
||
|
/// <param name="ip"></param>
|
||
|
/// <returns></returns>
|
||
|
bool IsConnected(string ip);
|
||
|
|
||
|
#endregion Operate
|
||
|
|
||
|
#region Move
|
||
|
|
||
|
/// <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);
|
||
|
|
||
|
#endregion Move
|
||
|
}
|
||
|
}
|