Пример #1
0
 public override void MoveAbsolute(string deviceId, PtzMoveAbsoluteData ptzargs)
 {
     if (new Guid(deviceId) == Constants.Video1)
     {
         // TODO: make request
         return;
     }
     throw new MIPDriverException("Device does not support PTZ");
 }
Пример #2
0
 public override void MoveAbsolute(string deviceId, PtzMoveAbsoluteData ptzargs)
 {
     WriteLine(deviceId, nameof(MoveAbsolute));
     if (new Guid(deviceId) == Constants.Camera1)
     {
         return;
     }
     throw new MIPDriverException("Device does not support PTZ");
 }