Reference
OpcStateMachineTransitionsAttribute Members
Defines unique transitions that a custom OpcStateMachineNode can perform using an enumeration type.
Reference
OpcStateMachineTransitionsAttribute Members
- Type
- OpcStateMachineTransitionsAttribute
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from Attribute.
Constructors
OpcStateMachineTransitionsAttribute
Initializes a new instance of the OpcStateMachineTransitionsAttribute class using the specified statesType.
public OpcStateMachineTransitionsAttribute(Type statesType)Public Sub New(statesType As Type)Parameters
| Name | Type | Description |
|---|---|---|
statesType | Type | The enumeration Type which defines the states used as the possible 'from' and 'to' states of the transitions to define. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The statesType is not an enumeration type. |
| Argument | The statesType is a null reference ( |
Properties
IsLoop
Gets or sets a value indicating whether the states defined in the StatesType can be reached in a loop.
public bool IsLoop { get; set; }Public Property IsLoop As BooleanProperty value
The value true if the states defined in the StatesType can be reached in a loop; otherwise the value false.
Remarks
The transitions defined for a loop of states result into a state machine which can re-enter the first state after reaching the last state defined in the StatesType.
StatesType
Gets the Type which defines the different states used as the possible 'from' and 'to' states of the transitions to define.
public Type StatesType { get; }Public ReadOnly Property StatesType As TypeProperty value
An enumeration Type used to define the different transitions.

