/// <summary>
        /// Restaura los datos de muestreo de tipo formula
        /// </summary>
        /// <param name="muestreoFormulaInfo"></param>
        private void RestaurarMuestreoFormula(MuestreoFibraFormulaInfo muestreoFormulaInfo)
        {
            LimpiarFormulaDatosMuestreos();
            formulaInfoSeleccionado = new FormulaInfo()
            {
                FormulaId   = muestreoFormulaInfo.Formula.FormulaId,
                Descripcion = muestreoFormulaInfo.Formula.Descripcion
            };
            skAyudaFormula.Info        = formulaInfoSeleccionado;
            skAyudaFormula.Clave       = muestreoFormulaInfo.Formula.FormulaId.ToString();
            skAyudaFormula.Descripcion = muestreoFormulaInfo.Formula.Descripcion;

            chkFormulaGrande.IsChecked           = muestreoFormulaInfo.Grande;
            txtFormulaPesoFibraGrande.IsEnabled  = muestreoFormulaInfo.Grande;
            chkFormulaMediana.IsChecked          = muestreoFormulaInfo.Mediana;
            txtFormulaPesoFibraMediana.IsEnabled = muestreoFormulaInfo.Mediana;
            chkFormulaFinosTamiz.IsChecked       = muestreoFormulaInfo.FinoTamiz;
            txtFormulaPesoFinosTamiz.IsEnabled   = muestreoFormulaInfo.FinoTamiz;
            chkFormulaFinosBase.IsChecked        = muestreoFormulaInfo.FinoBase;
            txtFormulaPesoFinosBase.IsEnabled    = muestreoFormulaInfo.FinoBase;

            txtFormulaPesoInicial.Value      = muestreoFormulaInfo.PesoInicial;
            txtFormulaPesoFibraGrande.Value  = muestreoFormulaInfo.PesoFibraGrande;
            txtFormulaPesoFibraMediana.Value = muestreoFormulaInfo.PesoFibraMediana;
            txtFormulaPesoFinosTamiz.Value   = muestreoFormulaInfo.PesoFinoTamiz;
            txtFormulaPesoFinosBase.Value    = muestreoFormulaInfo.PesoFinoBase;
            txtFormulaOrigen.Text            = muestreoFormulaInfo.Origen;
            btnAgregarActualizar.Content     = Properties.Resources.MuestreoFibra_btnActualizar;
        }
        /// <summary>
        /// Obtiene los datos de muestreo de tipo formula
        /// </summary>
        /// <param name="formulaInfo"></param>
        /// <returns></returns>
        private MuestreoFibraFormulaInfo ObtenerMuestreoFormula(FormulaInfo formulaInfo)
        {
            MuestreoFibraFormulaInfo muestraFormulaInfo = new MuestreoFibraFormulaInfo()
            {
                Organizacion = new OrganizacionInfo()
                {
                    OrganizacionID = organizacionID
                },
                Formula          = formulaInfo,
                PesoInicial      = (decimal)txtFormulaPesoInicial.Value,
                Grande           = chkFormulaGrande.IsChecked.Value,
                PesoFibraGrande  = (decimal)txtFormulaPesoFibraGrande.Value,
                Mediana          = chkFormulaMediana.IsChecked.Value,
                PesoFibraMediana = (decimal)txtFormulaPesoFibraMediana.Value,
                FinoTamiz        = chkFormulaFinosTamiz.IsChecked.Value,
                PesoFinoTamiz    = (decimal)txtFormulaPesoFinosTamiz.Value,
                FinoBase         = chkFormulaFinosBase.IsChecked.Value,
                PesoFinoBase     = (decimal)txtFormulaPesoFinosBase.Value,
                Origen           = txtFormulaOrigen.Text,
                Activo           = true,
                UsuarioCreacion  = new UsuarioInfo()
                {
                    UsuarioID = usuarioID
                }
            };

            muestraFormulaInfo.PesoNeto  = 0;
            muestraFormulaInfo.PesoNeto += muestraFormulaInfo.PesoFibraGrande;
            muestraFormulaInfo.PesoNeto += muestraFormulaInfo.PesoFibraMediana;
            muestraFormulaInfo.PesoNeto += muestraFormulaInfo.PesoFinoBase;
            muestraFormulaInfo.PesoNeto += muestraFormulaInfo.PesoFinoTamiz;
            return(muestraFormulaInfo);
        }