/**
  * Metodo para examinar la accion del comando recivido por la pelicula flash para
  * seleccionar la funcion del alumno adecuada
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "PIDE_PALABRA") == 0) {
         $lag = $cmd->getAtributo();
         $alumno = substr($lag, 2);
         $this->alumnoPidePalabra($alumno);
     } else {
         if (strcmp($cmd->getAccion(), "TIENE_PALABRA") == 0) {
             $lag1 = $cmd->getAtributo();
             $alumno1 = substr($lag1, 2);
             $this->alumnoTienePalabra($alumno1);
         } else {
             if (strcmp($cmd->getAccion(), "NOTIENE_PALABRA") == 0) {
                 $lag2 = $cmd->getAtributo();
                 $alumno2 = substr($lag2, 2);
                 $this->alumnoNoTienePalabra($alumno2);
             }
         }
     }
 }
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash
  * para elegir la accion de las luces que se quiere
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "ENCENDER_SALA") == 0) {
         $this->lucesEncenderSala();
     } else {
         if (strcmp($cmd->getAccion(), "APAGAR_SALA") == 0) {
             $this->lucesApagarSala();
         } else {
             if (strcmp($cmd->getAccion(), "SUBIR") == 0) {
                 //denak batera igotzeko, ez da erabiltzen
                 $this->luzSalaNivel($cmd->getAtributo());
             } else {
                 if (strcmp($cmd->getAccion(), "BAJAR") == 0) {
                     //denak batera jeisteko, ez da erabiltzen
                     $this->luzSalaNivel($cmd->getAtributo());
                 } else {
                     if (strcmp($cmd->getAccion(), "ENCENDER") == 0) {
                         $this->luzSalaEncenderTodo($cmd->getAtributo());
                     } else {
                         if (strcmp($cmd->getAccion(), "APAGAR") == 0) {
                             $this->luzSalaApagarTodo($cmd->getAtributo());
                         } else {
                             if (strcmp($cmd->getAccion(), "SUELO") == 0) {
                                 $this->getComandoLucesSueloFlash($cmd);
                             } else {
                                 if (strcmp($cmd->getAccion(), "TECHO") == 0) {
                                     $this->getComandoLucesTechoFlash($cmd);
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
 /**
  * Metodo para crear y enviar el estado de la camara de documentos a la pantalla
  *
  * @access public
  */
 public function enviarComandoEstado()
 {
     $comando = new ComandoFlash("CAMARADOC", $this->getEstado(), "");
     $this->enviarPeticion($comando->getComando());
 }
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash
  * para seleccionar la funcion adecuada del plasma
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "ENCENDER") == 0) {
         $this->encender();
     } else {
         if (strcmp($cmd->getAccion(), "APAGAR") == 0) {
             $this->apagar();
         } else {
             if (strcmp($cmd->getAccion(), "PCSUELO") == 0) {
                 $this->verPCSalaEnPlasma();
             } else {
                 if (strcmp($cmd->getAccion(), "PORTATIL1") == 0) {
                     $this->verPortatil1EnPlasma();
                 } else {
                     if (strcmp($cmd->getAccion(), "PORTATIL2") == 0) {
                         $this->verPortatil2EnPlasma();
                     } else {
                         if (strcmp($cmd->getAccion(), "PORTATIL3") == 0) {
                             $this->verPortatil3EnPlasma();
                         } else {
                             if (strcmp($cmd->getAccion(), "PORTATIL4") == 0) {
                                 $this->verPortatil4EnPlasma();
                             } else {
                                 if (strcmp($cmd->getAccion(), "ATRIL") == 0) {
                                     $this->verAtrilEnPlasma();
                                 } else {
                                     if (strcmp($cmd->getAccion(), "THINK_CLIENT") == 0) {
                                         $this->verRedThinkClientEnPlasma();
                                     } else {
                                         if (strcmp($cmd->getAccion(), "CAMARA_DE_DOCUMENTOS") == 0) {
                                             $this->verVisorDocumentosEnPlasma();
                                         } else {
                                             if (strcmp($cmd->getAccion(), "DVD") == 0) {
                                                 $this->verDVDEnPlasma();
                                             } else {
                                                 if (strcmp($cmd->getAccion(), "DVDGRAB") == 0) {
                                                     $this->verGrabadorDVDEnPlasma();
                                                 } else {
                                                     if (strcmp($cmd->getAccion(), "CAMARA_1") == 0) {
                                                         $this->verCamara1EnPlasma();
                                                     } else {
                                                         if (strcmp($cmd->getAccion(), "CAMARA_2") == 0) {
                                                             $this->verCamara2EnPlasma();
                                                         } else {
                                                             if (strcmp($cmd->getAccion(), "CAMARA_3") == 0) {
                                                                 $this->verCamara3EnPlasma();
                                                             }
                                                         }
                                                     }
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash
  * para seleccionar la accion del sonido adecuada
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoSonidoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "SUBIR_VOLUMEN") == 0) {
         $this->subirSonidoGeneral();
     } else {
         if (strcmp($cmd->getAccion(), "BAJAR_VOLUMEN") == 0) {
             $this->bajarSonidoGeneral();
         } else {
             if (strcmp($cmd->getAccion(), "ACTIVAR") == 0) {
                 if (strcmp($cmd->getAtributo(), "ENTRANTE") == 0) {
                     $this->activarSonidoEntrante();
                 } else {
                     if (strcmp($cmd->getAtributo(), "SALIENTE") == 0) {
                         $this->activarSonidoSaliente();
                     } else {
                         if (strcmp($cmd->getAtributo(), "GENERAL") == 0) {
                             $this->activarSonidoGeneral();
                         }
                     }
                 }
             } else {
                 if (strcmp($cmd->getAccion(), "SILENCIAR") == 0) {
                     if (strcmp($cmd->getAtributo(), "ENTRANTE") == 0) {
                         $this->desactivarSonidoEntrante();
                     } else {
                         if (strcmp($cmd->getAtributo(), "SALIENTE") == 0) {
                             $this->desactivarSonidoSaliente();
                         } else {
                             if (strcmp($cmd->getAtributo(), "GENERAL") == 0) {
                                 $this->desactivarSonidoGeneral();
                             }
                         }
                     }
                 }
             }
         }
     }
 }
示例#6
0
 /**
  *
  *
  * @return
  * @access public
  */
 public function enviarComando()
 {
     $cmd = new ComandoFlash("SISTEMA", $this->getComando());
     $this->enviarPeticion($cmd->getComando());
 }
 /**
  * 
  *
  * @return 
  * @access public
  */
 public function enviarComandoCamaraDoc()
 {
     $cmd = new ComandoFlash("DISPOSITIVO", $this->getComando(), "");
     $this->enviarPeticion($cmd->getComando());
 }
示例#8
0
 /**
  *
  *
  * @param string pantalla
  * @return
  * @access public
  */
 public function enviarComandoEstado()
 {
     $cmd = new ComandoFlash($this->getPantallaActiva(), $this->getComandoEstado($this->getPantallaActiva()), "");
     $this->enviarPeticion($cmd->getComando());
 }
示例#9
0
 /**
  *
  *
  * @return
  * @access public
  */
 public function enviarComandoEstado()
 {
     $cmd = new ComandoFlash($this->getProyectorActivo(), $this->getEstado($this->getProyectorActivo()), "");
     $this->enviarPeticion($cmd->getComando());
 }
 public static function procesarComandoPantalla($comando)
 {
     $cmd = new ComandoFlash($comando);
     if (strcmp($cmd->getEntorno(), "SISTEMA") == 0) {
         self::$ctrlGuiSistema->procesarComandos($cmd);
     } else {
         if (strcmp($cmd->getEntorno(), "ESCENARIO") == 0) {
             self::$ctrlGuiEscenarios->getComandoFlash($cmd);
         } else {
             if (strcmp($cmd->getEntorno(), "MENU") == 0) {
                 self::$ctrlGuiMenu->getComandoFlash($cmd);
             } else {
                 if (strcmp($cmd->getEntorno(), "VIDEOCONFERENCIA") == 0) {
                     self::$ctrlGuiVideoconferencia->getComandoFlash($cmd);
                 } else {
                     if (strcmp($cmd->getEntorno(), "MICROFONO") == 0) {
                         self::$ctrlGuiSonido->getComandoMicroFlash($cmd);
                     } else {
                         if (strcmp($cmd->getEntorno(), "SONIDO") == 0) {
                             self::$ctrlGuiSonido->getComandoSonidoFlash($cmd);
                         } else {
                             if (strcmp($cmd->getEntorno(), "DISPOSITIVO") == 0) {
                                 self::$ctrlGuiDispositivo->getComandoFlash($cmd);
                             } else {
                                 if (strcmp($cmd->getEntorno(), "DVD") == 0) {
                                     self::$ctrlGuiDvd->getComandoFlash($cmd);
                                 } else {
                                     if (strcmp($cmd->getEntorno(), "DVDGRAB") == 0) {
                                         self::$ctrlGuiGrabador->getComandoFlash($cmd);
                                     } else {
                                         if (strcmp($cmd->getEntorno(), "PIZARRA_DIGITAL") == 0) {
                                             self::$ctrlGuiProyectores->getComandoPizarraFlash($cmd);
                                         } else {
                                             if (strcmp($cmd->getEntorno(), "PROYECTOR_CENTRAL") == 0) {
                                                 self::$ctrlGuiProyectores->getComandoCentralFlash($cmd);
                                             } else {
                                                 if (strcmp($cmd->getEntorno(), "CAMARADOC") == 0) {
                                                     self::$ctrlGuiCamaraDocumentos->getComandoFlash($cmd);
                                                 } else {
                                                     if (strcmp($cmd->getEntorno(), "RED_THINK_CLIENT") == 0) {
                                                         self::$ctrlGuiRedThinkClient->getComandoFlash($cmd);
                                                     } else {
                                                         if (strcmp($cmd->getEntorno(), "PANTALLA_PRESIDENCIA") == 0) {
                                                             self::$ctrlGuiPantallas->getComandoFlashPresidencia($cmd);
                                                         } else {
                                                             if (strcmp($cmd->getEntorno(), "PANTALLA_ENTRADA") == 0) {
                                                                 self::$ctrlGuiPantallas->getComandoFlashEntrada($cmd);
                                                             } else {
                                                                 if (strcmp($cmd->getEntorno(), "PANTALLA_ELECTRICA") == 0) {
                                                                     self::$ctrlGuiPantallas->getComandoFlashElectrica($cmd);
                                                                 } else {
                                                                     if (strcmp($cmd->getEntorno(), "LUZ") == 0) {
                                                                         self::$ctrlGuiLuces->getComandoFlash($cmd);
                                                                     } else {
                                                                         if (strcmp($cmd->getEntorno(), "PUESTO") == 0) {
                                                                             self::$ctrlGuiAlumno->getComandoFlash($cmd);
                                                                         } else {
                                                                             if (strcmp($cmd->getEntorno(), "PLASMA") == 0) {
                                                                                 self::$ctrlGuiPlasmas->getComandoFlash($cmd);
                                                                             }
                                                                         }
                                                                     }
                                                                 }
                                                             }
                                                         }
                                                     }
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash para
  * seleccionar la funcion de la camara de documentos
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "SUBIR_FOCO") == 0) {
         $this->camaraDocumentosSubirFoco();
     } else {
         if (strcmp($cmd->getAccion(), "BAJAR_FOCO") == 0) {
             $this->camaraDocumentosBajarFoco();
         } else {
             if (strcmp($cmd->getAccion(), "ACERCAR") == 0) {
                 $this->camaraDocumentosAcercarZoom();
             } else {
                 if (strcmp($cmd->getAccion(), "ALEJAR") == 0) {
                     $this->camaraDocumentosAlejarZoom();
                 } else {
                     if (strcmp($cmd->getAccion(), "DINA_A3") == 0) {
                         $this->camaraDocumentosA3();
                     } else {
                         if (strcmp($cmd->getAccion(), "DINA_A4") == 0) {
                             $this->camaraDocumentosA4();
                         } else {
                             if (strcmp($cmd->getAccion(), "ENCEDER_LAMPARA") == 0) {
                                 $this->camaraDocumentosEncenderLampara();
                             } else {
                                 if (strcmp($cmd->getAccion(), "APAGAR") == 0) {
                                     $this->camaraDocumentosApagar();
                                 } else {
                                     if (strcmp($cmd->getAccion(), "ENCENDER") == 0) {
                                         $this->camaraDocumentosEncender();
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
示例#12
0
 /**
      * Metodo que crea el comando con el estado de la videoconferencia y lo envia a
      * la pantalla
 * 
 * @access public
 */
 public function enviarEstadoVideoconferencia()
 {
     $cmd = new ComandoFlash("SISTEMA", "MENU", $this->getEstadoVideoconferencia());
     $this->enviarPeticion($cmd->getComando());
 }
示例#13
0
 /**
  * Metodo que crea el comando necesario para que la pantalla muestre la accion
  * realizada
  *
  * @access public
  */
 public function enviarComando()
 {
     $cmd = new ComandoFlash("PUESTO", $this->getComando(), $this->getPosicion());
     $this->enviarPeticion($cmd->getComando());
 }
示例#14
0
 /**
  * 
  *
  * @return 
  * @access public
  */
 public function enviarEstado()
 {
     $cmd = new ComandoFlash("PLASMA", $this->getEstado(), "");
     $this->enviarPeticion($cmd->getComando());
 }
 /**
  *
  *
  * @return
  * @access public
  */
 public function enviarNuestroSonido()
 {
     $cmd = new ComandoFlash("VIDEOCONFERENCIA", "NUESTRO_SONIDO", $this->getNuestroSonido());
     $this->enviarPeticion($cmd->getComando());
 }
 /**
  * Metodo para desmutear el proyector de la pizarra
  *
  * @access public
  */
 public function activarPizarra()
 {
     $respuesta = self::$pizarra->desmutear();
     $cmd2 = new ComandoFlash("PIZARRA_DIGITAL", "NO_MUTE");
     $bb = $cmd2->getComando();
     SocketClass::client_reply($bb);
     /*if(!empty ($respuesta)) {
           if(strcmp($respuesta,"?")==0) {
               echo "ERROR al enviar el comando ".$comando." al proyector de la pizarra, para activarla\n";
               return 1;
           }
           else return 0;
       }else return 1;*/
 }
示例#17
0
 /**
  *
  *
  * @return
  * @access public
  */
 private function enviarMenu()
 {
     $cmd = new ComandoFlash("MENU", $this->getMenu(), "");
     $this->enviarPeticion($cmd->getComando());
 }
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash
  * para seleccionar la funcion adecuada de la pantalla electrica
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlashElectrica($cmd)
 {
     if (strcmp($cmd->getAccion(), "SUBIR") == 0) {
         $this->subirPantallaElectrica();
     } else {
         if (strcmp($cmd->getAccion(), "BAJAR") == 0) {
             $this->bajarPantallaElectrica();
         }
     }
 }
 /**
  * Metodo para examinar el entorno y la accion del comando recivido por la pelicula flash para
  * seleccionar la camara y la funcion adecuada
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "ACERCAR") == 0) {
         if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
             $this->acercarCamaraAlumnos1();
         } else {
             if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                 $this->acercarCamaraAlumnos2();
             }
         }
         if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
             $this->acercarCamaraPresidencia();
         }
     } else {
         if (strcmp($cmd->getAccion(), "ALEJAR") == 0) {
             if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
                 $this->alejarCamaraAlumnos1();
             } else {
                 if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                     $this->alejarCamaraAlumnos2();
                 }
             }
             if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
                 $this->alejarCamaraPresidencia();
             }
         } else {
             if (strcmp($cmd->getAccion(), "PANR") == 0) {
                 if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
                     $this->panRightCamaraAlumnos1();
                 } else {
                     if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                         $this->panRightCamaraAlumnos2();
                     }
                 }
                 if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
                     $this->panRightCamaraPresidencia();
                 }
             } else {
                 if (strcmp($cmd->getAccion(), "PANL") == 0) {
                     if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
                         $this->panLeftCamaraAlumnos1();
                     } else {
                         if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                             $this->panLeftCamaraAlumnos2();
                         }
                     }
                     if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
                         $this->panLeftCamaraPresidencia();
                     }
                 } else {
                     if (strcmp($cmd->getAccion(), "TILTUP") == 0) {
                         if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
                             $this->tiltUpCamaraAlumnos1();
                         } else {
                             if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                                 $this->tiltUpCamaraAlumnos2();
                             }
                         }
                         if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
                             $this->tiltUpCamaraPresidencia();
                         }
                     } else {
                         if (strcmp($cmd->getAccion(), "TILTDOWN") == 0) {
                             if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
                                 $this->tiltDownCamaraAlumnos1();
                             } else {
                                 if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                                     $this->tiltDownCamaraAlumnos2();
                                 }
                             }
                             if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
                                 $this->tiltDownCamaraPresidencia();
                             }
                         } else {
                             if (strcmp($cmd->getAccion(), "POSICION") == 0) {
                                 if (strcmp($cmd->getEntorno(), "CAMARA_1") == 0) {
                                     $this->presetCamaraAlumnos1($cmd->getAtributo());
                                 } else {
                                     if (strcmp($cmd->getEntorno(), "CAMARA_2") == 0) {
                                         $this->presetCamaraAlumnos2($cmd->getAtributo());
                                     }
                                 }
                                 if (strcmp($cmd->getEntorno(), "CAMARA_3") == 0) {
                                     $this->presetCamaraPresidencia($cmd->getAtributo());
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
     // if(strcmp($tipoComando, "COMANDO")==0)
     //        $comandoFlash=$this->crearComandoFlash($cmd->getEntorno());
     //        //else if(strcmp($tipoComando, "POSICION")==0)
     //        $comandoFlash=$this->crearComandoPosicionFlash($cmd->getEntorno());
     //        return $comandoFlash;
 }
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash para
  * seleccionar el escenario de la clase
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "ENVIAR_CLASES") == 0) {
         $this->enviarClases();
     } else {
         if (strcmp($cmd->getAccion(), "RECIBIR_CLASES") == 0) {
             $this->recivirClases();
         } else {
             if (strcmp($cmd->getAccion(), "CLASE_LOCAL") == 0) {
                 $this->claseLocal();
             } else {
                 if (strcmp($cmd->getAccion(), "SEMINARIO/CLASE") == 0) {
                     $this->seminarioClase();
                 } else {
                     if (strcmp($cmd->getAccion(), "PELICULA") == 0) {
                         $this->pelicula();
                     }
                 }
             }
         }
     }
 }
示例#21
0
 /**
  * Metodo que envia el volumen del grabador de dvd a la pantalla
  *
  */
 public function enviarVolumen()
 {
     $cmd = new ComandoFlash("DVDGRAB", "VOLUMEN", $this->getVolumen());
     $this->enviarPeticion($cmd->getComando());
 }
示例#22
0
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash para
  * seleccionar la pestaña adecuada
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "INICIO") == 0) {
         //igual que menu escenarios
         $this->inicioMenu();
     } else {
         if (strcmp($cmd->getAccion(), "APAGAR") == 0) {
             $this->menuApagar();
         } else {
             if (strcmp($cmd->getAccion(), "ESCENARIOS") == 0) {
                 $this->escenarioMenu();
             } else {
                 if (strcmp($cmd->getAccion(), "LLAMARCOLGAR") == 0) {
                     $this->llamaryColgarMenu();
                 } else {
                     if (strcmp($cmd->getAccion(), "SONIDO") == 0) {
                         $this->menuSonido();
                     } else {
                         if (strcmp($cmd->getAccion(), "LUCES") == 0) {
                             $this->menuLuces();
                         } else {
                             if (strcmp($cmd->getAccion(), "PRINCIPAL") == 0) {
                                 $this->menuPrincipal();
                             }
                         }
                     }
                 }
             }
         }
     }
 }
示例#23
0
 /**
  * Metodo que crea y envia el comando con el dispositivo seleccionado a la
  * pantalla
  * 
  * @access public
  */
 public function enviarDispositivo()
 {
     $cmd = new ComandoFlash("DISPOSITIVO", $this->getDispositivo(), "");
     $this->enviarPeticion($cmd->getComando());
 }
示例#24
0
 /**
  * Metodo para examinar la accion del comando recivido por la pelicula flash para
  * seleccionar la funcion del reproductor de dvd
  *
  * @param ComandoFlash $cmd
  */
 public function getComandoFlash($cmd)
 {
     if (strcmp($cmd->getAccion(), "SUBIR_VOLUMEN") == 0) {
         $this->subirvolumenDVD();
     } else {
         if (strcmp($cmd->getAccion(), "BAJAR_VOLUMEN") == 0) {
             $this->bajarvolumenDVD();
         } else {
             if (strcmp($cmd->getAccion(), "ENCENDER") == 0) {
                 $this->encenderDVD();
             } else {
                 if (strcmp($cmd->getAccion(), "ON") == 0) {
                     $this->OnOffDVD();
                 } else {
                     if (strcmp($cmd->getAccion(), "APAGAR") == 0) {
                         $this->apagarDVD();
                     } else {
                         if (strcmp($cmd->getAccion(), "NORTE") == 0) {
                             $this->arribaDVD();
                         } else {
                             if (strcmp($cmd->getAccion(), "SUR") == 0) {
                                 $this->abajoDVD();
                             } else {
                                 if (strcmp($cmd->getAccion(), "ESTE") == 0) {
                                     $this->derechaDVD();
                                 } else {
                                     if (strcmp($cmd->getAccion(), "OESTE") == 0) {
                                         $this->izquierdaDVD();
                                     } else {
                                         if (strcmp($cmd->getAccion(), "ACEPTAR") == 0) {
                                             $this->aceptarDVD();
                                         } else {
                                             if (strcmp($cmd->getAccion(), "ACTIVAR") == 0) {
                                                 $this->playDVD();
                                             } else {
                                                 if (strcmp($cmd->getAccion(), "PARAR") == 0) {
                                                     $this->stopDVD();
                                                 } else {
                                                     if (strcmp($cmd->getAccion(), "PAUSA") == 0) {
                                                         $this->pausarDVD();
                                                     } else {
                                                         if (strcmp($cmd->getAccion(), "RETROCEDER") == 0) {
                                                             $this->atrasDVD();
                                                         } else {
                                                             if (strcmp($cmd->getAccion(), "AVANZAR") == 0) {
                                                                 $this->adelanteDVD();
                                                             } else {
                                                                 if (strcmp($cmd->getAccion(), "RSTEP") == 0) {
                                                                     $this->anteriorDVD();
                                                                 } else {
                                                                     if (strcmp($cmd->getAccion(), "FSTEP") == 0) {
                                                                         $this->siguienteDVD();
                                                                     } else {
                                                                         if (strcmp($cmd->getAccion(), "MENU_PANTALLA") == 0) {
                                                                             $this->menuDVD();
                                                                         }
                                                                     }
                                                                 }
                                                             }
                                                         }
                                                     }
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }