示例#1
0
 public static extern int OpenSDK_PTZCtrl(IntPtr sid, string accessToken, string cameraId, PTZCommand command,
                                          PTZACtion action, int speed, uint pNscbMsg);
示例#2
0
 /// <summary>
 /// 云台控制
 /// </summary>
 /// <param name="cameraId"></param>
 /// <param name="command"></param>
 /// <param name="action"></param>
 /// <param name="speed"></param>
 /// <returns></returns>
 public static int PtzCtrl(string cameraId, PTZCommand command,
                           PTZACtion action, int speed)
 => HkSdk.OpenSDK_PTZCtrl(_sessionId, AccessToken, cameraId, command, action, speed, 0);