Skip to content

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.

csharp
public OpcStateMachineTransitionsAttribute(Type statesType)
vbnet
Public Sub New(statesType As Type)

Parameters

NameTypeDescription
statesTypeTypeThe enumeration Type which defines the states used as the possible 'from' and 'to' states of the transitions to define.

Exceptions

ExceptionCondition
ArgumentExceptionThe statesType is not an enumeration type.
ArgumentNullExceptionThe statesType is a null reference (Nothing in Visual Basic).

Properties ​

IsLoop ​

Gets or sets a value indicating whether the states defined in the StatesType can be reached in a loop.

csharp
public bool IsLoop { get; set; }
vbnet
Public Property IsLoop As Boolean

Property value

Boolean

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.

csharp
public Type StatesType { get; }
vbnet
Public ReadOnly Property StatesType As Type

Property value

Type

An enumeration Type used to define the different transitions.