wiki:news:07nov2012
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:news:07nov2012 [2012/12/06 21:45] – pmueller | wiki:news:07nov2012 [2012/12/06 21:48] – [Using multiple regions] pmueller | ||
---|---|---|---|
Line 7: | Line 7: | ||
A UML state may be divided into regions. Each region contains sub-states. Regions are executed in parallel. You can think of regions as independent state machines displayed in one diagram. The state machine below (Fig. 1) shows several regions each running in parallel in the state '' | A UML state may be divided into regions. Each region contains sub-states. Regions are executed in parallel. You can think of regions as independent state machines displayed in one diagram. The state machine below (Fig. 1) shows several regions each running in parallel in the state '' | ||
- | ==== Using multiple regions ==== | + | |
Consider a microwave oven. The power setting, light and microwave radiator are be considered as independent (concurrent) parts of the oven, each with its own states. The door and timer as the main external trigger are used in the regions to trigger state transitions. For example the radiator is switched on if the door gets closed and the timer is > zero. | Consider a microwave oven. The power setting, light and microwave radiator are be considered as independent (concurrent) parts of the oven, each with its own states. The door and timer as the main external trigger are used in the regions to trigger state transitions. For example the radiator is switched on if the door gets closed and the timer is > zero. | ||
Line 30: | Line 30: | ||
Supported state diagram features: | Supported state diagram features: | ||
* Hierarchical states | * Hierarchical states | ||
- | * Regions (CX only) | + | * Regions (CX language backend |
* Sub-machines in a top level state | * Sub-machines in a top level state | ||
* (Signal-)Events with event name, guard and action | * (Signal-)Events with event name, guard and action | ||
Line 36: | Line 36: | ||
* History states | * History states | ||
* Choices | * Choices | ||
+ | |||
+ | For a quick start download the latest release version and import the microwave oven | ||
+ | into your Modelio workspace. | ||
wiki/news/07nov2012.txt · Last modified: 2013/01/29 18:09 by pmueller