17.01.2015 Views

Dynamic Modeling - Chair for Applied Software Engineering

Dynamic Modeling - Chair for Applied Software Engineering

Dynamic Modeling - Chair for Applied Software Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example of a StateChart Diagram<br />

Idle<br />

coins_in(amount) / set balance<br />

cancel / refund coins<br />

Collect Money<br />

coins_in(amount) / add to balance<br />

[item empty]<br />

[select(item)]<br />

[change0]<br />

do: dispense item<br />

do: make change<br />

© 2006 Bernd Bruegge <strong>Software</strong> <strong>Engineering</strong> WS 2006/2007<br />

28

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

Saved successfully!

Ooh no, something went wrong!