Introduction - If you have any usage issues, please Google them yourself
Simulation of a nine-school teaching building elevator system. The building has an automatic elevator, can stay in each layer. Wherein the first layer is a layer out of the building, when the elevator is idle, the future of the layer-call passengers can access any layer between years, for everyone, he can tolerate a maximum wait time, waiting for the elevator once the time is too long he will give up. The main elevator scheduling policy is to first respond to the current direction of travel along the most proximal request, if no request to change the direction, to change the direction of movement.