Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Company ASEM (Advanced Software for Equipment Management) is designing software to monitor and control a custom-build system consisting of multiple hardware components (e.g., Equipment1, Equipment

Company ASEM (Advanced Software for Equipment Management) is designing software to monitor and control a custom-build system consisting of multiple hardware components (e.g., Equipment1, Equipment 2, and Equipment3).

Each equipment component provides unique status, accepts unique commands, and implements a specific interface for communicating, such as USB, Serial, and TCP/IP.

Regardless of the communication type, each class representing an equipment must provide functionality to get specific status (e.g., getEquipment1_Status1, getEquipment2_Status1) and send specific commands to the device (e.g., sendEquipment1_Cmd1, sendEquipment2_Cmd1). The software to be developed by ASEM will contain a GUI that polls each hardware component for its status data and also provides means for sending commands to the components.

Since hardware development is expected to take longer than the expected development of the GUI, management has decided to simulate the components. That is, there are two streams of equipment: real equipment, composed of Equipment1, Equipment2, and Equipment3; and simulated equipment, composed of SimEquipment1, SimEquipment2, and SimEquipment3.

Develop a design for the software so that the GUI can work the same way using real or simulated components, regardless of the type of component. Your design should be based on an appropriate object-oriented design pattern. Write a program in Java or Python to demonstrate the implementation of your design.

Step by Step Solution

3.39 Rating (146 Votes )

There are 3 Steps involved in it

Step: 1

To design the software to work with both real and simulated components seamlessly you can use the Adapter design pattern The Adapter pattern allows in... 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

Ethics in Information Technology

Authors: George Reynolds

5th edition

1285197151, 9781305142992 , 978-1285197159

More Books

Students also viewed these Operating System questions

Question

1. define events after the end of the reporting period;

Answered: 1 week ago