public DataTable ObtenerCarroPendienteSecador(int iCodigoPlanta) { try { if (common.EstaServicioDisponible()) { HHsvc.SCPP_HH proxy = ConfigDataAccess.ObtenerServiceProxy(); DataTable dtCarrosPendientes = proxy.ObtenerCarrosPendientesSecador(iCodigoPlanta, true); return(dtCarrosPendientes); } else { throw new Exception("No se tiene conexion a la red, intente mas tarde."); } } catch (Exception ex) { throw ex; } }