Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/possen/elevator
Elevator Simulator tries to quickly serve users.
https://github.com/possen/elevator
demo elevator-problem elevator-simulation ios simulation swift uistackview
Last synced: 19 days ago
JSON representation
Elevator Simulator tries to quickly serve users.
- Host: GitHub
- URL: https://github.com/possen/elevator
- Owner: possen
- Created: 2017-06-01T10:11:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T06:19:45.000Z (over 7 years ago)
- Last Synced: 2024-11-10T00:30:16.094Z (3 months ago)
- Topics: demo, elevator-problem, elevator-simulation, ios, simulation, swift, uistackview
- Language: Swift
- Homepage:
- Size: 85.9 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Elevator
--------* This project simulates the logic of a 4 elevator system.
* it tries to minimize wait time by distributing the requests to multiple cars.
* If you start multiple requests at the same time, it determins which is available and distributes it to the various elevators.
* it demonstrates the use of UIStackViewsOperation
---------
* The up and down buttons on the left side simulate the Up and Down buttons on the floor levels.
* The 4 following columns are the current state of the elevators. If you click on the floor it simulate the buttons inside the elevator.
* The arrows next to the columns show which way the elevator is going.
* Key:
- Blue: no elevator present on the floor.
- Yellow: elevator on floor, door closed.
- Black: door open
- Green: indicates that the elevator was requested from the elevator panel.Bugs
----
* the up and down buttons on the floor panels should renable if the elevator that servieced the request changed directions.Screenshot
----------
![alt text](https://github.com/possen/Elevator/blob/master/Screenshot.png)