Click or drag to resize
StaMaStateMachineOptions Enumeration
Defines optional behavior or functionality for the state machines.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
[FlagsAttribute]
public enum StateMachineOptions
Members
  Member nameValueDescription
None0

Defines the default behavior for state machines.

The default behavior is optimized for event driven state machines.

UseDoActions1

Defines that the execution of do-actions is enabled.

Do-actions are executed "while" a state machine stays in a state, in particular whenever the StateMachine.SendTriggerEvent method is called, after every individual state change or once, in case no state change occurred.

Do-actions are specified like entry- and exit-actions through the StateMachineTemplate.State method.

Do-actions can e.g. be used to run digital open or closed control loop algorithms for binary or continuous values when a state machine is regularly triggered in a cycle. Opposed to this, event driven state machines are only sporadically triggered when events occur or timers elapse, thus they don't benefit from do-actions.

See Also