Signal communication between State Machines – 15 min from scratch with AMUSE

AUTHOR:

Please enjoy a mini project model with Enterprise Architect and verified by simulation using AMUSE
Scenario:
We want to simulate two classes: “Person” and “CardReader”.
Both should asynchronously communicate with eachother using messages (same as UML signals)
Requirements:
When “Person” enters state “Requesting Access” a message “CardRead” is sent to the “CardReader” sending the “CardReader” to the “AuthenticatingCard” state and subsequently to either locked or unlocked depending on the card authentication result.

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>