Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • add the isStateMachine marker

Add

...

the mode and state blocks

The state machine can have one or multiple modes and one or multiple states.

...

In this example we have one state named "heating" with two values "normal" and "economical"

Link the mode and state blocks

...

In this example we link the daytime and weekend values to economical, and the daytime to normal. We want to have "normal" heating in the weekdays and daytime, and "economical" heating in weekends or nighttime, as it's an office building.

...