Skip to content

Bryan1150/Elevator-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Systems Software Engineering Project

Multi-threaded Elevator Simulation Demo

  1. 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
  1. Run ElevatorSystem.exe

  2. 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
  1. A second window will appear containing an elevator/floor animation

  2. 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

About

Multi-threaded Elevator Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages