예제 #1
0
        private Hour _scheduleOP(AppealCase appealCase)
        {
            // TODO: make a proper scheduler
            Hour startHour = SimulationTime.Future(OPLEADTIME);

            _scheduledOPs[appealCase] = startHour;
            return(startHour);
        }
예제 #2
0
        internal void Run()
        {
            _initialise();

            while (SimulationTime.Current.Value < _hoursToSimulate)
            {
                _log.Add(_board.DoWork());
                SimulationTime.Increment();
            }
        }
예제 #3
0
 private void _initialise()
 {
     SimulationTime.Reset();
 }