Exemplo n.º 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());
        }
Exemplo n.º 2
0
Arquivo: Display.cs Projeto: rNdm74/C-
 /// <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);
 }
Exemplo n.º 3
0
Arquivo: Display.cs Projeto: rNdm74/C-
 /// <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);
 }
Exemplo n.º 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());
        }