Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcStateVariableNode type exposes the following members.
Initializes a new instance of the OpcStateVariableNode class accessible by the name
specified as a child node of the parent
node given.
C#
public OpcStateVariableNode(IOpcNode parent, OpcName name)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
name
OpcName
The OpcName through that the new state variable node can be accessed.
Initializes a new instance of the OpcStateVariableNode class accessible by the name
and id
specified as a child node of the parent
node given.
C#
public OpcStateVariableNode(IOpcNode parent, OpcName name, OpcNodeId id)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
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.
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.
C#
public OpcStateVariableNode(IOpcNode parent, OpcName name, OpcNodeId id, OpcText value)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
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.
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.
C#
public OpcStateVariableNode(IOpcNode parent, OpcName name, OpcText value)
Parameters
parent
IOpcNode
The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
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.
Initializes a new instance of the OpcStateVariableNode class accessible by the name
specified.
C#
public OpcStateVariableNode(OpcName name)
Parameters
name
OpcName
The OpcName through that the new state variable node can be accessed.
Initializes a new instance of the OpcStateVariableNode class accessible by the name
and id
specified.
C#
public OpcStateVariableNode(OpcName name, OpcNodeId id)
Parameters
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.
Initializes a new instance of the OpcStateVariableNode class accessible by the name
and id
specified with the initial value given by value
.
C#
public OpcStateVariableNode(OpcName name, OpcNodeId id, OpcText value)
Parameters
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.
Initializes a new instance of the OpcStateVariableNode class accessible by the name
specified with the initial value given by value
.
C#
public OpcStateVariableNode(OpcName name, OpcText value)
Parameters
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.
Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
C#
protected override OpcNodeId DefaultTypeDefinitionId { get; }
Property 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).
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.
C#
public OpcText EffectiveDisplayName { get; set; }
Property 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.
Gets the OpcTextPropertyNode of the EffectiveDisplayName property.
C#
public OpcTextPropertyNode EffectiveDisplayNameNode { get; }
Property Value
An instance of the OpcTextPropertyNode class.
Gets or sets a numeric identifier which identifies the current state within the state machine.
C#
[CLSCompliant(false)] public uint Number { get; set; }
Property Value
The identifier of the current state within the state machine.
Gets the OpcPropertyNode´1 of the Number property.
C#
public OpcPropertyNode<uint> NumberNode { get; }
Property Value
An instance of the OpcPropertyNode´1 class.
Gets or sets a value which uniquely identifies the current state within the state machine.
C#
public object VariableId { get; set; }
Property Value
A value which uniquely identifies the current state within the state machine.
Gets the OpcPropertyNode of the VariableId property.
C#
public OpcPropertyNode VariableIdNode { get; protected set; }
Property Value
An instance of the OpcPropertyNode class.
Gets the OpcNamePropertyNode of the VariableName property.
C#
public OpcNamePropertyNode VariableNameNode { get; }
Property Value
An instance of the OpcNamePropertyNode class.