Пример #1
0
        /// <summary>
        /// Keeps the simulation information current for Calender, Other and CarStereo Queue
        /// </summary>
        public void Update(Calender calender, ResourceManager resourceMananger, Statistics statistics)
        {
            // Clear the lists
            Arrival.Clear();
            SwitchComplete.Clear();
            QueueOther.Clear();
            QueueCarStereo.Clear();
            ResourceOther.Clear();
            ResourceCarStereo.Clear();

            // Update the lists
            updateDisplayDataList(resourceMananger.GetQueueEntityData(ECallType.OTHER));
            updateDisplayDataList(resourceMananger.GetQueueEntityData(ECallType.CAR_STEREO));
            updateDisplayDataList(calender.GetEventData());
        }
Пример #2
0
 /// <summary>
 /// Update the information from the main simulation
 /// </summary>
 public override void Update(Calender calender, ResourceManager resourceMananger, Statistics statistics)
 {
     calenderData       = calender.GetEventData();
     otherQueueData     = resourceMananger.GetQueueEntityData(ECallType.OTHER);
     carStereoQueueData = resourceMananger.GetQueueEntityData(ECallType.CAR_STEREO);
 }
Пример #3
0
 /// <summary>
 /// Update the information from the main simulation
 /// </summary>
 public override void Update(Calender calender, ResourceManager resourceMananger, Statistics statistics)
 {
     calenderData = calender.GetEventData();
     otherQueueData = resourceMananger.GetQueueEntityData(ECallType.OTHER);
     carStereoQueueData = resourceMananger.GetQueueEntityData(ECallType.CAR_STEREO);
 }
Пример #4
0
        /// <summary>
        /// Keeps the simulation information current for Calender, Other and CarStereo Queue 
        /// </summary>
        public void Update(Calender calender, ResourceManager resourceMananger, Statistics statistics)
        {
            // Clear the lists
            Arrival.Clear();
            SwitchComplete.Clear();
            QueueOther.Clear();
            QueueCarStereo.Clear();
            ResourceOther.Clear();
            ResourceCarStereo.Clear();

            // Update the lists
            updateDisplayDataList(resourceMananger.GetQueueEntityData(ECallType.OTHER));
            updateDisplayDataList(resourceMananger.GetQueueEntityData(ECallType.CAR_STEREO));
            updateDisplayDataList(calender.GetEventData());
        }