Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angadthandi/elevatorsystem
https://github.com/angadthandi/elevatorsystem
design-patterns object-oriented object-oriented-programming ood
Last synced: about 3 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/angadthandi/elevatorsystem
- Owner: angadthandi
- Created: 2020-04-26T02:09:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T04:23:29.000Z (over 4 years ago)
- Last Synced: 2024-11-20T21:45:21.520Z (2 months ago)
- Topics: design-patterns, object-oriented, object-oriented-programming, ood
- Language: Java
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Design Elevator System
1) Elevator has a set of m buttons, one for each floor.
2) Button illuminates when pressed and cause the elevator to visit the corresponding floor. Illumination is canceled when the elevator visits the corresponding floor.
3) Each floor, except the first(ground) floor and top floor has two buttons, one to request an up-elevator and one to request a down-elevator.
4) There is only one down-call button at the top floor and one up-call button in the lobby.
5) When the car stops at a floor, the doors are opened.
6) When doors are opened, car lantern illuminates indicating the current direction the car is going, so that the passengers can get to know the current moving direction of the car.