Пример #1
0
        /// <summary>
        /// Set the n uptake for today
        /// </summary>
        public void SetActualNitrogenUptakes(List <ZoneWaterAndN> info)
        {
            NO3Uptake = info[0].NO3N;
            NH4Uptake = info[0].NH4N;

            solutes.Subtract("NO3", SoluteManager.SoluteSetterType.Plant, NO3Uptake);
            solutes.Subtract("NH4", SoluteManager.SoluteSetterType.Plant, NH4Uptake);
        }
Пример #2
0
        /// <summary>
        /// Set the n uptake for today
        /// </summary>
        public void SetNUptake(List <ZoneWaterAndN> info)
        {
            NO3Uptake = info[0].NO3N;
            NH4Uptake = info[0].NH4N;

            solutes.Subtract("NO3", NO3Uptake);
            solutes.Subtract("NH4", NH4Uptake);
        }