Create a UML class diagram using arrows to show the relationships between classes for the following scenario. The class diagram is attached for reference. A parking deck system manages an entry/exit gate, which opens to let a vehicle (i.e., car) into or out of the deck and closes when the car has passed through. A driver must push a button to print a parking permit. When the driver takes the parking permit, the system raises the gate. The system lowers the gate after the vehicle has passed through. A permit id and time of entry is printed on the parking permit, and is also encoded on the permit’s bar code. When the vehicle leaves the parking deck, the driver inserts the parking permit into a bar code reader, which scans the bar code, and then transmits the bar code to the parking system. The parking system calculates a fee that is based on the number of hours that have elapsed since the vehicle entered the parking deck, and displays the fee to the operator and driver. The driver must pay the operator with cash or check. The operator accepts the payment, and if necessary returns change to the driver. Then, the operator enters a command to raise the gate to allow the vehicle to leave the parking deck. You may assume that the system has the following external devices at the entry gate: a sensor to detect the presence of a car, a parking ticket printer to print the parking permit, an actuator to open and close the gate, and a sensor to detect that the car has departed. You may assume that the system has the following external devices at the exit gate: a bar code scanner to read the permit bar code id, a display to show the parking fee to the operator and driver, an actuator to open and close the gate, and a sensor to detect that the car has departed.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Create a UML class diagram using arrows to show the relationships between classes for the following scenario. The class diagram is attached for reference.

A parking deck system manages an entry/exit gate, which opens to let a vehicle (i.e., car) into or out of the deck and closes when the car has passed through. A driver must push a button to print a parking permit. When the driver takes the parking permit, the system raises the gate. The system lowers the gate after the vehicle has passed through. A permit id and time of entry is printed on the parking permit, and is also encoded on the permit’s bar code. When the vehicle leaves the parking deck, the driver inserts the parking permit into a bar code reader, which scans the bar code, and then transmits the bar code to the parking system. The parking system calculates a fee that is based on the number of hours that have elapsed since the vehicle entered the parking deck, and displays the fee to the operator and driver. The driver must pay the operator with cash or check. The operator accepts the payment, and if necessary returns change to the driver. Then, the operator enters a command to raise the gate to allow the vehicle to leave the parking deck.

You may assume that the system has the following external devices at the entry gate: a sensor to detect the presence of a car, a parking ticket printer to print the parking permit, an actuator to open and close the gate, and a sensor to detect that the car has departed. You may assume that the system has the following external devices at the exit gate: a bar code scanner to read the permit bar code id, a display to show the parking fee to the operator and driver, an actuator to open and close the gate, and a sensor to detect that the car has departed. 

 

 

### Diagram Description: Automated Parking System

This diagram illustrates the workflow of an automated parking system, involving both drivers and parking operators. It details the steps a driver takes to enter and exit a parking facility, as well as the operator's intervention when necessary.

#### Key Components:

- **Driver:** The individual using the parking system.
- **Operator:** The personnel managing parking operations, providing assistance if needed.

#### Workflow Steps:

1. **Push Button to Print Parking Permit:**
   - The driver initiates the process by pushing a button to print a parking permit.

2. **Raise Gate:**
   - Once the permit is printed, the system includes a step to raise the gate, allowing entry.

3. **Barcode Reader Scans Ticket, Fee is Calculated:**
   - When the driver is ready to exit, the barcode reader scans the parking ticket to calculate the fee.

4. **Pay Fee:**
   - The driver pays the calculated fee to proceed.

5. **Enter Command to Raise Gate:**
   - After payment, a command is given to raise the gate for the driver to exit.

6. **Lower Gate:**
   - Once the vehicle exits, the gate is lowered back to its original position.

#### Operator's Role:

- The operator may need to enter a command to raise the gate if there are any issues or manual interventions required.

This system ensures a seamless parking experience with minimal operator assistance, streamlining the entry and exit process for drivers.
Transcribed Image Text:### Diagram Description: Automated Parking System This diagram illustrates the workflow of an automated parking system, involving both drivers and parking operators. It details the steps a driver takes to enter and exit a parking facility, as well as the operator's intervention when necessary. #### Key Components: - **Driver:** The individual using the parking system. - **Operator:** The personnel managing parking operations, providing assistance if needed. #### Workflow Steps: 1. **Push Button to Print Parking Permit:** - The driver initiates the process by pushing a button to print a parking permit. 2. **Raise Gate:** - Once the permit is printed, the system includes a step to raise the gate, allowing entry. 3. **Barcode Reader Scans Ticket, Fee is Calculated:** - When the driver is ready to exit, the barcode reader scans the parking ticket to calculate the fee. 4. **Pay Fee:** - The driver pays the calculated fee to proceed. 5. **Enter Command to Raise Gate:** - After payment, a command is given to raise the gate for the driver to exit. 6. **Lower Gate:** - Once the vehicle exits, the gate is lowered back to its original position. #### Operator's Role: - The operator may need to enter a command to raise the gate if there are any issues or manual interventions required. This system ensures a seamless parking experience with minimal operator assistance, streamlining the entry and exit process for drivers.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Distributed Database Concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education