Exemplo n.º 1
0
 public void ZoomOut()
 {
     if (!isMoving)
     {
         ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Zoom: Out ZoomSpeed: {1}", CameraId, ZoomSpeed));
         isZooming = true;
     }
 }
Exemplo n.º 2
0
 public void  FocusFar()
 {
     if (!isMoving)
     {
         ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Focus: Far", CameraId));
         isFocusing = true;
     }
 }
Exemplo n.º 3
0
 public void TiltUp()
 {
     if (!isMoving)
     {
         ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Tilt: Up TiltSpeed: {1}", CameraId, TiltSpeed));
         isTilting = true;
     }
 }
Exemplo n.º 4
0
 public void PanRight()
 {
     if (!isMoving)
     {
         ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Pan: Right PanSpeed: {1}", CameraId, PanSpeed));
         isPanning = true;
     }
 }
Exemplo n.º 5
0
 /// <summary>
 /// Builds the command and triggers the parent ZoomRoom to send it
 /// </summary>
 /// <param name="id"></param>
 /// <param name="state"></param>
 /// <param name="action"></param>
 void SendCommand(eZoomRoomCameraState state, eZoomRoomCameraAction action)
 {
     LastAction = action;
     ParentCodec.SendText(string.Format("zCommand Call CameraControl Id: {0} State: {1} Action: {2}", Id, state, action));
 }
Exemplo n.º 6
0
 void Stop()
 {
     ParentCodec.SendText(string.Format("xCommand Call FarEndControl Camera Stop CallId: {0}", CallId));
 }
Exemplo n.º 7
0
 public void ZoomOut()
 {
     ParentCodec.SendText(string.Format("xCommand Call FarEndControl Camera Move Value: ZoomOut CallId: {0}", CallId));
 }
Exemplo n.º 8
0
 public void TiltUp()
 {
     ParentCodec.SendText(string.Format("xCommand Call FarEndControl Camera Move Value: Up CallId: {0}", CallId));
 }
Exemplo n.º 9
0
 public void TriggerAutoFocus()
 {
     ParentCodec.SendText(string.Format("xCommand Camera TriggerAutofocus CameraId: {0}", CameraId));
 }
Exemplo n.º 10
0
 public void FocusStop()
 {
     ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Focus: Stop", CameraId));
     isFocusing = false;
 }
Exemplo n.º 11
0
 public void ZoomStop()
 {
     ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Zoom: Stop", CameraId));
     isZooming = false;
 }
Exemplo n.º 12
0
 public void TiltStop()
 {
     ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Tilt: Stop", CameraId));
     isTilting = false;
 }
Exemplo n.º 13
0
 public void PanStop()
 {
     ParentCodec.SendText(string.Format("xCommand Camera Ramp CameraId: {0} Pan: Stop", CameraId));
     isPanning = false;
 }