Reference
OpcStateVariableNode Members
Defines a variable node which stores the current state of a state machine as a human readable name.
Reference
OpcStateVariableNode Members
- Type
- OpcStateVariableNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcTextVariableNode, OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcStateVariableNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the Opcname specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname and id specified. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
OpcStateVariableNode(OpcName)
Initializes a new instance of the OpcStateVariableNode class accessible by the name specified.
public OpcStateVariableNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new state variable node can be accessed. |
OpcStateVariableNode(OpcName, OpcText)
Initializes a new instance of the OpcStateVariableNode class accessible by the name specified with the initial value given by value.
public OpcStateVariableNode(OpcName name, OpcText value)Public Sub New(name As OpcName, value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new state variable node can be accessed. |
value | OpcText | The initial value of the new state variable node. |
OpcStateVariableNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcStateVariableNode class accessible by the name and id specified.
public OpcStateVariableNode(OpcName name, OpcNodeId id)Public Sub New(name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new state variable node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state variable node can be identified and accessed. |
OpcStateVariableNode(OpcName, OpcNodeId, OpcText)
Initializes a new instance of the OpcStateVariableNode class accessible by the name and id specified with the initial value given by value.
public OpcStateVariableNode(OpcName name, OpcNodeId id, OpcText value)Public Sub New(name As OpcName, id As OpcNodeId, value As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new state variable node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state variable node can be identified and accessed. |
value | OpcText | The initial value of the new state variable node. |
OpcStateVariableNode(IOpcNode, OpcName)
Initializes a new instance of the OpcStateVariableNode class accessible by the name specified as a child node of the parent node given.
public OpcStateVariableNode(IOpcNode parent, OpcName name)Public Sub New(parent As IOpcNode, name As OpcName)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 variable node can be accessed. |
OpcStateVariableNode(IOpcNode, OpcName, OpcText)
Initializes a new instance of the OpcStateVariableNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
public OpcStateVariableNode(IOpcNode parent, OpcName name, OpcText value)Public Sub New(parent As IOpcNode, name As OpcName, value As OpcText)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 variable node can be accessed. |
value | OpcText | The initial value of the new state variable node. |
OpcStateVariableNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcStateVariableNode class accessible by the name and id specified as a child node of the parent node given.
public OpcStateVariableNode(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 variable node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state variable node can be identified and accessed. |
OpcStateVariableNode(IOpcNode, OpcName, OpcNodeId, OpcText)
Initializes a new instance of the OpcStateVariableNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
public OpcStateVariableNode(
IOpcNode parent,
OpcName name,
OpcNodeId id,
OpcText value)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As OpcText)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 variable node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state variable node can be identified and accessed. |
value | OpcText | The initial value of the new state variable node. |
OpcStateVariableNode(StateVariableState)
Initializes a new instance of the OpcStateVariableNode class using the content as the instance to wrap.
protected OpcStateVariableNode(StateVariableState content)Protected Sub New(content As StateVariableState)Parameters
| Name | Type | Description |
|---|---|---|
content | State | The State |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcStateVariableNode(StateVariableState, OpcNodeModel)
Initializes a new instance of the OpcStateVariableNode class using the content as the instance to wrap.
protected OpcStateVariableNode(StateVariableState content, OpcNodeModel model)Protected Sub New(content As StateVariableState, model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | State | The State |
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 node that defines the underlying node type from that this OpcInstanceNode has been created.
protected override OpcNodeId DefaultTypeDefinitionId { get; }Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeIdProperty value
The OpcNodeId of the type node from that this OpcInstanceNode has been created from. These type node defines the typical structure of an instance node of its type definition. If there exists no specific type definition node a null reference (Nothing in Visual Basic).
Overrides
EffectiveDisplayName
Gets or sets a value which contains a human readable name for the current state of the state machine after taking the state of any sub state machines in account.
public OpcText EffectiveDisplayName { get; set; }Public Property EffectiveDisplayName As OpcTextProperty value
The effective OpcText of the state represented.
Remarks
There is no rule specified for which state or sub-state should be used. It is up to the server and will depend on the semantics of the state machine.
EffectiveDisplayNameNode
Gets the OpcTextPropertyNode of the EffectiveDisplayName property.
public OpcTextPropertyNode EffectiveDisplayNameNode { get; }Public ReadOnly Property EffectiveDisplayNameNode As OpcTextPropertyNodeProperty value
An instance of the OpcTextPropertyNode class.
Number
Gets or sets a numeric identifier which identifies the current state within the state machine.
[CLSCompliant(false)]
public uint Number { get; set; }<CLSCompliant(False)>
Public Property Number As UIntegerProperty value
The identifier of the current state within the state machine.
NumberNode
Gets the OpcPropertyNode<T> of the Number property.
public OpcPropertyNode<uint> NumberNode { get; }Public ReadOnly Property NumberNode As OpcPropertyNode(Of UInteger)Property value
An instance of the OpcPropertyNode<T> class.
VariableId
Gets or sets a value which uniquely identifies the current state within the state machine.
public object VariableId { get; set; }Public Property VariableId As ObjectProperty value
A value which uniquely identifies the current state within the state machine.
VariableIdNode
Gets the OpcPropertyNode of the VariableId property.
public OpcPropertyNode VariableIdNode { get; protected set; }Public Property VariableIdNode As OpcPropertyNodeProperty value
An instance of the OpcPropertyNode class.
VariableName
Gets or sets the name which uniquely identifies the current state within the state machine.
public OpcName VariableName { get; set; }Public Property VariableName As OpcNameProperty value
The OpcName which uniquely identifies the current state within the state machine.
VariableNameNode
Gets the OpcNamePropertyNode of the VariableName property.
public OpcNamePropertyNode VariableNameNode { get; }Public ReadOnly Property VariableNameNode As OpcNamePropertyNodeProperty value
An instance of the OpcNamePropertyNode class.

