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
| Overload | Description |
|---|---|
| OpcStateNode( | Initializes a new instance of the OpcStateNode class using the parent and name specified. |
| OpcStateNode( | 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( | Initializes a new instance of the OpcStateNode class using the parent and name specified. |
| OpcStateNode( | 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( | Initializes a new instance of the OpcStateNode class using the content as the instance to wrap. |
| OpcStateNode( | Initializes 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.
public OpcStateNode(IOpcNode parent, OpcName name)Public Sub New(parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The OpcStateNode name of the parent Node. |
name | OpcName | The 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.
public OpcStateNode(IOpcNode parent, OpcName name, OpcNodeId id)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new state node can be accessed. |
id | OpcNodeId | The 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.
public OpcStateNode(IOpcNode parent, OpcName name, uint number)Public Sub New(parent As IOpcNode, name As OpcName, number As UInteger)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The OpcStateNode name of the parent Node. |
name | OpcName | The OpcName through that the new state node can be accessed. |
number | UInt32 | A 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.
public OpcStateNode(IOpcNode parent, OpcName name, OpcNodeId id, uint number)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
number As UInteger)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new state node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state node can be identified and accessed. |
number | UInt32 | A number used to uniquely identify the state to represent. |
OpcStateNode(BaseObjectState)
Initializes a new instance of the OpcStateNode class using the content as the instance to wrap.
protected OpcStateNode(BaseObjectState content)Protected Sub New(content As BaseObjectState)Parameters
| Name | Type | Description |
|---|---|---|
content | BaseObjectState | The BaseObjectState to wrap. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcStateNode(BaseObjectState, OpcNodeModel)
Initializes a new instance of the OpcStateNode class using the content as the instance to wrap.
protected OpcStateNode(BaseObjectState content, OpcNodeModel model)Protected Sub New(content As BaseObjectState, model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | BaseObjectState | The BaseObjectState to wrap. |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
Properties
DefaultTypeDefinitionId
Gets the default identifier which identifies the type that defines the underlying node reference within this OpcInstanceNode is referenced by its parent node.
protected override OpcNodeId DefaultTypeDefinitionId { get; }Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeIdProperty value
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
StateNumber
Gets or sets an unique number for the state represented by this OpcStateNode.
public uint StateNumber { get; set; }Public Property StateNumber As UIntegerProperty value
A uint which uniquely defines the state represented in the state machine this OpcStateNode belongs to.
StateNumberNode
Gets the OpcPropertyNode of the StateNumber property.
public OpcPropertyNode StateNumberNode { get; }Public ReadOnly Property StateNumberNode As OpcPropertyNodeProperty value
An instance of the OpcPropertyNode class.

