Exemple #1
0
 public override void CenterAndZoomToRectangle(string deviceId, PtzRectangleData data)
 {
     if (new Guid(deviceId) == Constants.Video1)
     {
         // TODO: make request
         return;
     }
     throw new MIPDriverException("Device does not support PTZ");
 }
 public override void CenterAndZoomToRectangle(string deviceId, PtzRectangleData data)
 {
     WriteLine(deviceId, nameof(CenterAndZoomToRectangle));
     if (new Guid(deviceId) == Constants.Camera1)
     {
         return;
     }
     throw new MIPDriverException("Device does not support PTZ");
 }