예제 #1
0
 public bool TryMake(double timeScale)
 {
     EndTime = timeScale + utility.GetNextPeopleTime(wave.IsWave);
     AddPeople(timeScale, utility.GetNextPeopleCount(wave.IsWave));
     flow.ToWork(timeScale);
     statistic.IncIntervalCount();
     return(true);
 }
예제 #2
0
 public void Init(Wave wave, FlowAlterantive flow, SimulationUtility utility, Statistic statistic)
 {
     this.utility   = utility;
     this.wave      = wave;
     this.flow      = flow;
     this.statistic = statistic;
     EndTime        = utility.GetNextPeopleTime(false);
 }