Skip to content

Reference

OpcStateMachineStatesAttribute Members

Defines unique states that a custom OpcStateMachineNode can enter using an enumeration type.

Reference

OpcStateMachineStatesAttribute Members ​

Type
OpcStateMachineStatesAttribute
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from Attribute.

Constructors ​

OpcStateMachineStatesAttribute ​

Initializes a new instance of the OpcStateMachineStatesAttribute class using the specified statesType.

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

Parameters

NameTypeDescription
statesTypeTypeThe enumeration Type used to define the different states.

Exceptions

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

Properties ​

StatesType ​

Gets the Type which defines the different states.

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

Property value

Type

An enumeration Type used to define the different states.