Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

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

Students also viewed these Databases questions

Question

2 What are the implications for logistics strategy?

Answered: 1 week ago