23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12.3 The Essential <strong>Specification</strong> 381<br />

12.3.3 Product Flow Scenario<br />

Figure 12.4 shows a Message Flow Diagram representing the processes and message<br />

flows that correspond to the Product Flow Scenario <strong>of</strong> a feeder station. The Feeder Station<br />

accept(PI)<br />

Product_<br />

Input_<br />

Handler<br />

productArrived<br />

Transporter_<br />

Image<br />

schedule<br />

(PIKeeperId,<br />

InitialPosition)<br />

wakeAt(Position,Id)/<br />

wakeup(Id)<br />

currentPosition<br />

(InitialPosition)<br />

productArrived<br />

move(Speed)<br />

Transporter<br />

encoderPulse<br />

free(PIKeeperI)<br />

store(PIKeeperId,PI)<br />

Service_<br />

Scheduler<br />

wakeAt(Position,Id)/<br />

wakeup(Id)<br />

Product_<br />

Info_<br />

Keeper<br />

handOver(PIKeeperId,InitialPosition)<br />

stop,start<br />

retrieve(PIKeeperId)/take(PI)<br />

Figure 12.4: Product Flow Scenario <strong>of</strong> Feeder Station<br />

Feeder_Station<br />

Feeder_Controller<br />

Product_<br />

Output_<br />

Handler<br />

accept(PI)<br />

in Figure 12.4 consists <strong>of</strong> a Feeder Controller and a Transporter terminator. The Transporter<br />

takes care <strong>of</strong> the physical transportation <strong>of</strong> local mailing products. After each<br />

unit <strong>of</strong> distance for physical transport, the Transporter sends an encoderPulse. The Transporter<br />

can also detect the arrival <strong>of</strong> a new mailing product entering the station and<br />

consequently send a productArrived message. The Transporter can accept move(Speed)<br />

messages. Through these messages the speed <strong>of</strong> the mailing products can be controlled.<br />

Inside the Feeder Controller we find a Transporter Image. This image can be considered a<br />

representative <strong>of</strong> its physical counterpart. The image is found by studying the problem<br />

domain and by applying the heuristic to represent terminators as images inside the<br />

model.<br />

Notice that the Transporter Image is the aggregate object <strong>of</strong> the (non-clustered) aggregate<br />

consisting <strong>of</strong> the Transporter and the Transporter Image. The aggregate object<br />

Transporter Image hides certain details <strong>of</strong> the Transporter (terminator), but it also ex-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!