예제 #1
0
     ///DIEGO ALVAREZ TARA AZONA//
 ///DIEGO ALVAREZ TARA AZONA//
 case 'cargarMantenimientoIP':
     require_once "../../cvista/mantenimientogeneral/cargarMantenimientoIP.php";
     break;
 case 'cargarTablaIPs':
     require_once "ActionMantenimientoGeneral.php";
     header("Content-type: text/xml");
     $ActionMantenimientoGeneral = new ActionMantenimientoGeneral();
     $resultado = $ActionMantenimientoGeneral->cargarTablaIPs();
     break;
 case 'cargarTablaAmbientes':
     require_once "ActionMantenimientoGeneral.php";
     header("Content-type: text/xml");
     $ActionMantenimientoGeneral = new ActionMantenimientoGeneral();
     $resultado = $ActionMantenimientoGeneral->cargarTablaAmbientes();
     break;
 case 'guardarMantenimientoIp':
     require_once "ActionMantenimientoGeneral.php";
     $ActionMantenimientoGeneral = new ActionMantenimientoGeneral();
     $datos["textIP"] = $parametros["p2"];
     $datos["textPC"] = $parametros["p3"];
     $datos["textIDAmbiente"] = $parametros["p4"];
     $resultado = $ActionMantenimientoGeneral->aguardarMantenimientoIp($datos);
     break;
 case 'actualizarMantenimiento':
     require_once "ActionMantenimientoGeneral.php";
     $ActionMantenimientoGeneral = new ActionMantenimientoGeneral();
     $datos["textIP"] = $parametros["p2"];
     $datos["textPC"] = $parametros["p3"];
     $datos["textID"] = $parametros["p4"];