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
| Name | Type | Description |
|---|---|---|
number | UInt32 | The unique number of the state to define. |
name | String | The unique name of the state to define. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is an empty string. |
| Argument | The name is a null reference ( |
Properties
Name
Gets the unique name of the state to define.
csharp
public string Name { get; }vbnet
Public ReadOnly Property Name As StringProperty value
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 UIntegerProperty value
An uint used to define the unique number of the state.

