예제 #1
0
 CarparkManager()
 {
     carparks = new Carpark[5];
     for (int i = 0; i < 5; i++)
     {
         carparks[i] = new Carpark(CARPARKNAMES[i], CARPARKNAMES[i].Length * 10);
     }
 }
예제 #2
0
 LocalInterface(int carparkName)
 {
     _carpark = CarparkManager.Instance.GetCarpark(carparkName);
 }