public VarEcoregionDate(string label, DateTime[] DateRange)
 {
     values = new Library.Biomass.Ecoregions.AuxParm <VarDate <T> >(PlugIn.modelCore.Ecoregions);
     foreach (IEcoregion eco in PlugIn.ModelCore.Ecoregions)
     {
         values[eco] = new VarDate <T>(label, DateRange);
     }
 }
        public VarSpeciesDate(string label, DateTime[] DateRange)
        {
            values = new Library.Biomass.Species.AuxParm <VarDate <T> >(PlugIn.ModelCore.Species);

            foreach (ISpecies spc in PlugIn.ModelCore.Species)
            {
                values[spc] = new VarDate <T>(label, DateRange);
            }
        }
예제 #3
0
        public VarEcoregionSpeciesDate(string label, DateTime[] DateRange)
        {
            values = new VarEcoregionSpecies <VarDate <T> >(label);

            foreach (ISpecies s in PlugIn.modelCore.Species)
            {
                foreach (IEcoregion eco in PlugIn.ModelCore.Ecoregions)
                {
                    values[eco, s] = new VarDate <T>(label, DateRange);
                }
            }
        }