Exemplo n.º 1
0
        public void LeftSideBarrierCarGetBack()
        {
            if (LeftSideBarrier.Car == null)
            {
                Notification.AllPlacesIsBusy();
            }

            Move(LeftSideBarrier, FreeCars.Last());
        }
Exemplo n.º 2
0
        public void RightSideBarrierCarGetBack()
        {
            if (RightSideBarrier.Car == null || ParkingPlaceCars.All(ppc => ppc.Car == null))
            {
                Notification.AllPlacesIsBusy();
            }

            Move(RightSideBarrier, ParkingPlaceCars.Last(ppc => ppc.Car == null));
        }