- Download Raw copy ElevatorSimulator.zip
- There are two executable files: ElevatorSystem.exe and ElevatorGraphics.exe
- Important: ensure that you keep both these files in the same folder
-
Run ElevatorSystem.exe
-
A console window will appear with
Enter number of elevators:
- You can enter any number between 1 and 9 inclusive
- Note: avoid running more than 2 elevators if you do not have a quad core CPU
-
A second window will appear containing an elevator/floor animation
-
The following 2-character elevator commands can be entered:
Floor Request Type | First Char | Second Char | Example |
---|---|---|---|
Inside Request | Elevator number [1..n] | Floor Number [0..9] | 12 or 26 |
Outside Request | Direction {U, D} | Floor Number [0..9] | U5 or D9 |
Halt | {F} | Elevator number [1..n] | F1 or F5 |
Clear | {C} | Elevator number [1..n] | C1 or C5 |
Exit Program | {E} | {E} | EE |