Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

---------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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications Dasfaa 2023 International Workshops Bdms 2023 Bdqm 2023 Gdma 2023 Bundlers 2023 Tianjin China April 17 20 2023 Proceedings Lncs 13922

Authors: Amr El Abbadi ,Gillian Dobbie ,Zhiyong Feng ,Lu Chen ,Xiaohui Tao ,Yingxia Shao ,Hongzhi Yin

1st Edition

3031354141, 978-3031354144

Students also viewed these Databases questions

Question

java

Answered: 1 week ago