예제 #1
0
        private void AddNewGeneration(List <IDemographicCategoryGeneration> list, int age)
        {
            SchoolGeneration gen = new SchoolGeneration();

            gen.Root                  = this.Root;
            gen.Age                   = age;
            gen.SaveProduction        = this.SaveProduction;
            gen.StudentDailyRates     = this.LoadDailyRates.GiveData();
            gen.StudentTimeOfDayRates = this.LoadTimeOfDayRates.GiveData();
            list.Add(gen);
        }
예제 #2
0
        private void AddNewGeneration(List <IDemographicCategoryGeneration> list, int age)
        {
            SchoolGeneration gen = new SchoolGeneration
            {
                Root                  = Root,
                Age                   = age,
                SaveProduction        = SaveProduction,
                StudentDailyRates     = LoadDailyRates.GiveData(),
                StudentTimeOfDayRates = LoadTimeOfDayRates.GiveData()
            };

            list.Add(gen);
        }
예제 #3
0
 private void AddNewGeneration(List<IDemographicCategoryGeneration> list, int age)
 {
     SchoolGeneration gen = new SchoolGeneration();
     gen.Root = this.Root;
     gen.Age = age;
     gen.SaveProduction = this.SaveProduction;
     gen.StudentDailyRates = this.LoadDailyRates.GiveData();
     gen.StudentTimeOfDayRates = this.LoadTimeOfDayRates.GiveData();
     list.Add( gen );
 }