海康摄像头增加了云台控制等
This commit is contained in:
@@ -252,6 +252,9 @@ public static partial class HikNativeMethods
|
||||
/// <summary> 命令常量:获取时间配置 </summary>
|
||||
public const uint NET_DVR_GET_TIMECFG = 118;
|
||||
|
||||
/// <summary> 命令常量:设置时间 </summary>
|
||||
public const int NET_DVR_SET_TIMECFG = 119;
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- PTZ 控制相关 (PTZ Control) ---
|
||||
@@ -492,4 +495,16 @@ public static partial class HikNativeMethods
|
||||
ref uint lpBytesReturned);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
[DllImport(DllName)]
|
||||
public static extern bool NET_DVR_SetDVRConfig(int lUserID, uint dwCommand, int lChannel, System.IntPtr lpInBuffer, uint dwInBufferSize);
|
||||
|
||||
/// <summary>
|
||||
/// 设备重启
|
||||
/// </summary>
|
||||
/// <param name="lUserID"></param>
|
||||
/// <returns></returns>
|
||||
[DllImport(DllName)]
|
||||
public static extern bool NET_DVR_RebootDVR(int lUserID);
|
||||
}
|
||||
Reference in New Issue
Block a user