Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this assignment you will need to complete the following exercise. A Smart Home installations contractor Smart Builders needs to put together a small smart
For this assignment you will need to complete the following exercise. A Smart Home installations contractor Smart Builders needs to put together a small smart apartment using a Controller that they build. The apartment consists of two rooms:
A Kitchen, which contains two sensors OmniTempSensorXS by OmniTemp Inc.
A Bedroom, which contains one OmniTempSensorXS by the same brand.
An SSDCScompliant driver for OmniTempSensorXS can be found here JAR and documentation here.
The apartment also has an SSDCScompliant AC by a very well reputed brand called ArcticCool GmbH The specific model used is ArcticCool FA and the driver can be found here JAR and documentation here.
The developers of Smart Builders have developed some starter code as follows:
Room.java, which they use to model the room, as well as keep track of all the devices that are installed there.
Building.java, which is a collection of Rooms and also includes the furnace.
Controller.java, which models the controller device which collects data from sensors and sends commands to actuators via the Room, Building classes, depending on where the devices are installed.
Main.java, in which the apartment in question is built.
QuickThermostat.java, which is a stub of a temperature preference sensor for running this exercise.
You will also need a Scenario.jar plugin provided to you by the instructor. Here is a temporary Scenario.jar to assist you with building your solution. Your final submission should operate under a scenario provided by the instructor at a later time more in class
The code unfortunately is missing some key parts. Your job is to put together the java files and the libraries in eg an Eclipse project, complete the missing parts. You will need to submit:
The missing code.
The output of your solution.
Class Diagrams and Sequence diagrams describing your solution.
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