Question: Today pls SOFE 2720 Class Activity - Component Level Design Learning Objective This activity emphasizes the design of software based on components. Exercises After carefully


Today pls
SOFE 2720 Class Activity - Component Level Design Learning Objective This activity emphasizes the design of software based on components. Exercises After carefully now studying more component-level design it is worth designing the caldera software system using components. The textbook presents 2 types of component design views: 1) Object-oriented view and 2) Traditional view. An elaborated design for the Caldera software product is shown below. Homeownerul Caldera 1 1 Thermostat Device self toat) A RealThermostat rwork Water Heater Controller mode: Mode - Low Temp. integer - High Temp: Integer - weekendDays: Day..71 Low Tempomp Temperwure High Temptamo Torperature) WeekendDaya(daya Day 0.7) PaTimetime TimePerod 1 3 Model mode: Mode) updates : Subject) 1 boorvoo tsubject Clock time 1.3 poskTimos numeration Mode Time Period STAY_LOW -start Time Integer - and Time tager STAY HIGH NORMAL cenumerations Day MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY Class Responsibilities Operational Inteze and configure the program How Operationament with the product user Waterleser Control Oats Keep track of the current mode record the lowed low and high peratures record the weekend days and keep track of up to three peas tres for wat heating Operational Allow the use chraughterfeste modelow and per Wide and parties in the coming over tmen response to notons to the clock that the time has changed Time Period Date: Record the start and en times of a ne penos (used for peak times Clock Dua Keep track of the current and day personal: Noy the Water Controller every minute that time has pared Thermostatic Operasional: Specify the infase for a vinul themmostat Realth Operation provide a vitaliteract with a hermoston are heater Modo Data: Provido constantonumeration values for traclong the Water Heater Controllers mode of operation Day Proute con numero values for the days of the 1. Design a component for the Water Heater Controller using the class design similar to Fig. 11.1 In the text book for the Printiob class. Note that the only interface provided is for the Homeownerul as the Water Heater Controller uses the Interfaces of the other classes 2. Design a component structure chart for the Caldera Water Heater using the traditional view. In this case you will have to define a few control components and include the infrastructure component such as the Thermostat. This diagram is similar to Fig. 11.2 in the text book for the Job Management System. Elaborate further one of the problem domain controllers such as setMode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
