예제 #1
0
        public ParkingLot(int numOfTerminals)
        {
            ParkingManager = new ParkingManager();
            Terminals      = new List <Terminal>(numOfTerminals);

            for (int i = 0; i < numOfTerminals; i++)
            {
                Terminals.Add(new Terminal(ParkingManager));
            }
        }
예제 #2
0
 public ParkingDirector(ParkingManager parkingManager)
 {
     this.parkingManager = parkingManager;
 }