Skip to content

Reference

OpcStateNode Members

Defines an unique state across all states defined in a state machine (e.g. OpcStateMachineNode).

Reference

OpcStateNode Members ​

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

Inherits members from OpcObjectNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcStateNode ​

6 overloads

OverloadDescription
OpcStateNode(IOpcNode, OpcName)Initializes a new instance of the OpcStateNode class using the parent and name specified.
OpcStateNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcStateNode class accessible by the name and id specified as a child node of the parent node given.
OpcStateNode(IOpcNode, OpcName, uint)Initializes a new instance of the OpcStateNode class using the parent and name specified.
OpcStateNode(IOpcNode, OpcName, OpcNodeId, uint)Initializes a new instance of the OpcStateNode class accessible by the name and id specified as a child node of the parent node given.
OpcStateNode(BaseObjectState)protected · since v2.50Initializes a new instance of the OpcStateNode class using the content as the instance to wrap.
OpcStateNode(BaseObjectState, OpcNodeModel)protected · since v2.50Initializes a new instance of the OpcStateNode class using the content as the instance to wrap.

OpcStateNode(IOpcNode, OpcName) ​

Initializes a new instance of the OpcStateNode class using the parent and name specified.

csharp
public OpcStateNode(IOpcNode parent, OpcName name)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
parentIOpcNodeThe OpcStateNode name of the parent Node.
nameOpcNameThe OpcName through that the new state node can be accessed.

OpcStateNode(IOpcNode, OpcName, OpcNodeId) ​

Initializes a new instance of the OpcStateNode class accessible by the name and id specified as a child node of the parent node given.

csharp
public OpcStateNode(IOpcNode parent, OpcName name, OpcNodeId id)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new state node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new state node can be identified and accessed.

OpcStateNode(IOpcNode, OpcName, uint) ​

Initializes a new instance of the OpcStateNode class using the parent and name specified.

csharp
public OpcStateNode(IOpcNode parent, OpcName name, uint number)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, number As UInteger)

Parameters

NameTypeDescription
parentIOpcNodeThe OpcStateNode name of the parent Node.
nameOpcNameThe OpcName through that the new state node can be accessed.
numberUInt32A number used to uniquely identify the state to represent.

OpcStateNode(IOpcNode, OpcName, OpcNodeId, uint) ​

Initializes a new instance of the OpcStateNode class accessible by the name and id specified as a child node of the parent node given.

csharp
public OpcStateNode(IOpcNode parent, OpcName name, OpcNodeId id, uint number)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    number As UInteger)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new state node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new state node can be identified and accessed.
numberUInt32A number used to uniquely identify the state to represent.

OpcStateNode(BaseObjectState) ​

protected · since v2.50

Initializes a new instance of the OpcStateNode class using the content as the instance to wrap.

csharp
protected OpcStateNode(BaseObjectState content)
vbnet
Protected Sub New(content As BaseObjectState)

Parameters

NameTypeDescription
contentBaseObjectStateThe BaseObjectState to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcStateNode(BaseObjectState, OpcNodeModel) ​

protected · since v2.50

Initializes a new instance of the OpcStateNode class using the content as the instance to wrap.

csharp
protected OpcStateNode(BaseObjectState content, OpcNodeModel model)
vbnet
Protected Sub New(content As BaseObjectState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentBaseObjectStateThe BaseObjectState to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

Properties ​

DefaultTypeDefinitionId ​

protected · override

Gets the default identifier which identifies the type that defines the underlying node reference within this OpcInstanceNode is referenced by its parent node.

csharp
protected override OpcNodeId DefaultTypeDefinitionId { get; }
vbnet
Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the reference wihin this OpcInstanceNode is referenced. These reference defines the typical behaviour of an instance node and its role in the address space regarding its parent. If there exists no specific reference type a null reference (Nothing in Visual Basic).

Overrides

DefaultTypeDefinitionId

StateNumber ​

Gets or sets an unique number for the state represented by this OpcStateNode.

csharp
public uint StateNumber { get; set; }
vbnet
Public Property StateNumber As UInteger

Property value

UInt32

A uint which uniquely defines the state represented in the state machine this OpcStateNode belongs to.

StateNumberNode ​

Gets the OpcPropertyNode of the StateNumber property.

csharp
public OpcPropertyNode StateNumberNode { get; }
vbnet
Public ReadOnly Property StateNumberNode As OpcPropertyNode

Property value

OpcPropertyNode

An instance of the OpcPropertyNode class.