Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Design an object oriented program that involves a device manager that controls devices such as lights bulbs. Not real light bulbs, just like an abstract

Design an object oriented program that involves a device manager that controls devices such as lights bulbs. Not real light bulbs, just like an abstract light bulb. This can be done in java or python.

The assignment is to develop/design an OO API that allows you to do the following:

  • Create a smart device instance

  • Add/remove/update delete the smart device in a group of devices

  • Move devices between groups

  • Turn on/off a device

  • Show the state of all devices

  • Set a timer for a device with a simple trigger (on/off), i.e. turn off device 30 minutes after it was turned on.

  • Set a schedule for a device (on/off), i.e. turn on a device at 12:30.

  • Here are the devices you will support:

  • Smart light bulbs with on/off switch, dimming, and (optional) color capabilities

  • Smart outlets and/or switches with up to 7 individually-controllable outlets (TP-Link sells these in 1, 2, and power strip versions).

  • Other smart devices (doorbells) that can trigger events.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions