Use Case Description
|
- Use Case name: Select Destination
- Summary: The user in the elevator presses an up or down elevator button to select a destination floor to which move
- Dependency
- Actor: Elevator User
- Precondition: User in the elevator
- Description:
- 1.User presses an up elevator button. The elevator button sensor sends the elevator button request to the system, identifying the destination floor the user wishes to visit.
- 2.The new request is added to the list of floors to visit. If the elevator is stationary,
Include Dispatch Elevator abstract use.
- 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 destination floor selected by the user.
- Alternatives:
- 1.User presses down elevator 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 destination floor selected by the user.