Question: 1.The irrigation system has a section labeled Modifiability Profile. This section specifies how the system architecture should respond to particular modifications. A. Update the Irrigator

1.The irrigation system has a section labeled Modifiability Profile. This section specifies how the system architecture should respond to particular modifications.

A. Update the Irrigator update sequence diagram, Figure B-11-13 to capture the behavior of a Timer-Based Irrigation mode.

Modifiability Profile: Add Timer-Based IrrigationA new timer-based mode is added to AquaLush. When in timer-based mode, AquaLush starts an automatic irrigation cycle at the preset irrigation time and irrigates each zone for a set period of time or until the zones water allocation is exceeded. A developer is able to modify the design and source code to add this mode in two weeks.

Modify Irrigation ProcessThe automatic irrigation process is changed to allow users to specify concurrent irrigation of two or more zones. A developer is able to modify the design and source code to make this change in three weeks.

NOTE: USE JAVA AND ALSO UPDATE THE DIAGRAM

1.The irrigation system has a section labeled Modifiability Profile. This section specifies

1.7 Irrigation Layer Behavior The central behavior of the Irrigation layer is its response time. The Irrigator object is an observer of the Clock. The behavior of the Irrigator update) operation is pictured in Figure B-11-13. sd update) self.lrrigator Clock z:Zonecycle:lrrigationCycle [cycle= u1] opt [mode--AUTO] t-getTime) d-getDay) opt [t=rrigationTime &dirrigationDay] cycle-create(zones)AutoCycle z-nextZone) reset) openAlValves) else tick() done ()isDone opt[done] end)I Figure B-11-13 Irrigator.update) Behavion The Irrigator calls IrrigationCycle.tick) whenever a cycle is in process. The AutoCyle.tick) operation is modeled in Figure B-11-14

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!