/// <summary>
 /// Método que agrega un registro a la tabla "EntradaProductoMuestra"
 /// Se agrega un solo registro por tratarse de un folio que cuya CalidadOrigen= 1
 /// </summary>
 public void AgregarNuevoRegistro(EntradaProductoInfo entradaProducto)
 {
     try
     {
         var boletaRecepcionForrajeDal = new BoletaRecepcionForrajeDAL();
         boletaRecepcionForrajeDal.AgregarNuevoRegistro(entradaProducto);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
        /// <summary>
        /// Metodos que obtiene el rango de humedad permito para el producto determinado
        /// </summary>
        /// <returns></returns>
        public RegistroVigilanciaInfo ObtenerRangos(RegistroVigilanciaInfo registroVigilanciaInfo, IndicadoresEnum indicador)
        {
            RegistroVigilanciaInfo result;

            try
            {
                var boletaRecepcionForrajeDal = new BoletaRecepcionForrajeDAL();
                result = boletaRecepcionForrajeDal.ObtenerRangos(registroVigilanciaInfo, indicador);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }
            return(result);
        }