...
In this part, the mode values are set.
After editing the mode blocks, for each mode block a setup while be generated. In our current example the equivalent of this pseudo-code will appear:
...
In this part the state values are set based on the linking done between the mode and state blocks.
...
In this part the actions are done based on the current state values
Info | ||||
---|---|---|---|---|
| ||||
if (heating == "normal") { temp = 70; } else { temp = 50; } |
...