示例#1
0
        internal override Queue <IArea> GetProcessFlow()
        {
            IArea area8 = GetInstance(AreaName.Area8);
            IArea area4 = GetInstance(AreaName.Area4);
            IArea area9 = GetInstance(AreaName.Area9);

            QueueOfAreas.Enqueue(area8);
            QueueOfAreas.Enqueue(area4);
            QueueOfAreas.Enqueue(area9);

            //ListOfAreas.Add(area8);
            //ListOfAreas.Add(area4);
            //ListOfAreas.Add(area9);
            return(QueueOfAreas);
        }
示例#2
0
        internal override Queue <IArea> GetProcessFlow()
        {
            IArea area1 = GetInstance(AreaName.Area1);
            IArea area2 = GetInstance(AreaName.Area2);
            IArea area3 = GetInstance(AreaName.Area3);
            IArea area4 = GetInstance(AreaName.Area4);
            IArea area5 = GetInstance(AreaName.Area5);

            QueueOfAreas.Enqueue(area1);
            QueueOfAreas.Enqueue(area2);
            QueueOfAreas.Enqueue(area3);
            QueueOfAreas.Enqueue(area4);
            QueueOfAreas.Enqueue(area5);

            return(QueueOfAreas);
        }