示例#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
文件: Display.cs 项目: 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);
 }
示例#3
0
文件: Display.cs 项目: 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);
 }
示例#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());
        }