Skip to content

Reference

OpcStateMachineStateAttribute Members

Defines an unique state that a custom OpcStateMachineNode can enter.

Reference

OpcStateMachineStateAttribute Members ​

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

Inherits members from Attribute.

Constructors ​

OpcStateMachineStateAttribute ​

Initializes a new instance of the OpcStateMachineStateAttribute class using the number and name of the state to define.

csharp
public OpcStateMachineStateAttribute(uint number, string name)
vbnet
Public Sub New(number As UInteger, name As String)

Parameters

NameTypeDescription
numberUInt32The unique number of the state to define.
nameStringThe unique name of the state to define.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is an empty string.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

Properties ​

Name ​

Gets the unique name of the state to define.

csharp
public string Name { get; }
vbnet
Public ReadOnly Property Name As String

Property value

String

A string used to define the unique name of the state.

Number ​

Gets the unique number of the state to define.

csharp
public uint Number { get; }
vbnet
Public ReadOnly Property Number As UInteger

Property value

UInt32

An uint used to define the unique number of the state.