public Boolean GuardarDB(fa_registro_unidades_x_equipo_Info info)
        {
            try
            {
                info.IdEmpresa = param.IdEmpresa;
                info.ip        = param.ip;
                info.nom_pc    = param.nom_pc;
                bool res = oData.GuardarDB(info);
                if (res)
                {
                    foreach (var item in info.Lst_det_x_Af_ini)
                    {
                        item.IdRegistro = info.IdRegistro;
                    }
                    res = bus_Ini.GuardarDB(info.Lst_det_x_Af_ini);
                }

                if (res && info.IdEstadoRegistro_cat == "EST_CERRADO")
                {
                    res = bus_af.Actualizar_Unidades(info.Lst_det);
                }
                return(res);
            }
            catch (Exception ex)
            {
                string mensaje = "";
                mensaje = ex.ToString();
                tb_sis_Log_Error_Vzen_Data oDataLog      = new tb_sis_Log_Error_Vzen_Data();
                tb_sis_Log_Error_Vzen_Info Log_Error_sis = new tb_sis_Log_Error_Vzen_Info(ex.ToString(), "", mensaje, "", "", "", "", "", DateTime.Now);
                oDataLog.Guardar_Log_Error(Log_Error_sis, ref mensaje);
                throw new Exception(mensaje);
            }
        }