Exemple #1
0
        private bool ElevatorManagerInitialisation()
        {
            try
            {
                controlledElevators = _elevatorService.GetElevators();

                requestList = new List <Request>();

                return(true);
            }
            catch (Exception)
            {
                //Log error or rasie Error event
                Console.WriteLine("Initialisation Error\n\nPress any key to Exit..\n");

                return(false);
            }
        }