Use Case Description
|
- Use Case name: Request Elevator
- Summary: The user at a floor presses an up or down floor button to request an elevator.
- Dependency
- Actor: Elevator User
- Precondition: User is at a floor and wants to an elevator
- Description:
- 1.User presses an up floor button. The floor button sensor sends the user request to the system, identifying the floor number.
- 2.The system selects an elevator to visit this floor. The new request is added to the list of floors to visit. If the elevator is stationary, then include Dispatch Elevator abstract use case.
- 3.Include Stop Elevator at Floor abstract use case.
- If there are other outstanding requests, the elevator visits these floors on the way to the floor requested by the user following the above sequence of dispatching and stopping. Eventually, the elevator arrives at the floor in response to the user request.
- Alternatives:
- 1.User presses floor button to move down. System response is the same as for the main sequence.
- 2.If the elevator is at a floor and there is no new floor to move to, the elevator stays at the current floor, with the door open.
- Postcondition: Elevator has arrived at the floor in response to user request.