Question
---------Answer the following questions draw using computer not hand ---------- A. Draw the class diagram for the following elevator control system: The elevator control system
---------Answer the following questions draw using computer not hand ----------
A. Draw the class diagram for the following elevator control system:
The elevator control system shall allow the passenger to call the elevator and to select the destination floor. When the passenger pushes the external button (to call the elevator), or the internal button (to select the destination floor), the central control system switches the button light on; When the passenger calls the elevator or selects the destination floor, the central control system opens/closes the elevator door. When the passenger calls the elevator or selects the destination floor, the central control system moves/stops the elevator to/at the passenger call floor or to/at the passenger destination floor. When the passenger leaves the elevator, the central control system switches the button light off.
B. According to the following description of the Select Floor use case, draw the Sequence diagram:
1. The passenger pushes the destination floor button (internal button);
2. The internal button sends the system the order to select the direction (up/down);
3. The system changes the elevator status (from idle to busy);
4. The system switches the floor button (internal button) light on;
5. The system closes the elevator door;
6. The system moves the elevator according to the destination floor direction (up/down);
7. The elevator sends the system the order to control if the floor that the elevator is going to get through is the destination one;
8. The system stops the elevator at the destination floor;
9. The system opens the door at the destination floor;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started