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.

354 SHE Framework<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 />

encoderPuls<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 11.12: Feeder Station: Product Flow Scenario<br />

Feeder_Station<br />

Feeder_Controller<br />

Product_<br />

Output_<br />

Handler<br />

accept(PI)<br />

The reason that the design <strong>of</strong> MFDs is a key issue in SHE is because the design <strong>of</strong><br />

message flows concerns all four activities simultaneously. We describe some aspects <strong>of</strong><br />

the relation between message flow design and each <strong>of</strong> the four key activities.<br />

Frequently a message flow arises from the need to have a partner to perform a<br />

particular operation. This can lead to the need to define a new process object class.<br />

Message flows are denoted with their name and with parameters that are data<br />

object classes. Therefore many data object classes emerge from the definition <strong>of</strong><br />

flows.<br />

Messages activate various kinds <strong>of</strong> operations such as accessors and transformers.<br />

They access or transform attributes. So the sorts <strong>of</strong> properties <strong>of</strong> objects, modelled<br />

as attributes, are affected by the definition <strong>of</strong> messages. Modelling MFDs simultaneously<br />

with Object Class Diagrams is recommended to produce well-balanced<br />

objects that adequately represent their (real-world) counterparts.<br />

The definition <strong>of</strong> a new message extends the behaviour <strong>of</strong> both the classes <strong>of</strong><br />

the sender and the receiver. The definition <strong>of</strong> a message requires reflection about

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

Saved successfully!

Ooh no, something went wrong!