Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTwoStateVariableNode type exposes the following members.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
specified as a child node of the parent
node given.
C#
public OpcTwoStateVariableNode(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 two state variable node can be accessed.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
and id
specified as a child node of the parent
node given.
C#
public OpcTwoStateVariableNode(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 two state variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new two state variable node can be identified and accessed.
Initializes a new instance of the OpcTwoStateVariableNode 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 OpcTwoStateVariableNode(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 two state variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new two state variable node can be identified and accessed.
value
OpcText
The initial value of the new two state variable node.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
specified with the initial value defined by value
as a child node of the parent
node given.
C#
public OpcTwoStateVariableNode(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 two state variable node can be accessed.
value
OpcText
The initial value of the new two state variable node.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
specified.
C#
public OpcTwoStateVariableNode(OpcName name)
Parameters
name
OpcName
The OpcName through that the new two state variable node can be accessed.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
and id
specified.
C#
public OpcTwoStateVariableNode(OpcName name, OpcNodeId id)
Parameters
name
OpcName
The OpcName through that the new two state variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new two state variable node can be identified and accessed.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
and id
specified with the initial value given by value
.
C#
public OpcTwoStateVariableNode(OpcName name, OpcNodeId id, OpcText value)
Parameters
name
OpcName
The OpcName through that the new two state variable node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new two state variable node can be identified and accessed.
value
OpcText
The initial value of the new two state variable node.
Initializes a new instance of the OpcTwoStateVariableNode class accessible by the name
specified with the initial value given by value
.
C#
public OpcTwoStateVariableNode(OpcName name, OpcText value)
Parameters
name
OpcName
The OpcName through that the new two state variable node can be accessed.
value
OpcText
The initial value of the new two 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 specifies the time when the current state or one of its substates was entered.
C#
public DateTime EffectiveTransitionTime { get; set; }
Property Value
The effective DateTime of the time the current state has been entered.
Remarks
If, for example, a level alarm is active and - while active - switches several times between high and highhigh, then the TransitionTime stays at the point in time where the alarm became active whereas the EffectiveTransitionTime changes with each shift of a sub state.
Gets the OpcPropertyNode´1 of the EffectiveTransitionTime property.
C#
public OpcPropertyNode<DateTime> EffectiveTransitionTimeNode { get; }
Property Value
An instance of the OpcPropertyNode´1 class.
Gets or sets a value which contains a human readable representation for the variable value when its VariableId property has the value true.
C#
public OpcText FalseState { get; set; }
Property Value
The human readable representation for the value true.
Gets the OpcTextPropertyNode of the FalseState property.
C#
public OpcTextPropertyNode FalseStateNode { get; }
Property Value
An instance of the OpcTextPropertyNode class.
Gets the OpcPropertyNode´1 of the TransitionTime property.
C#
public OpcPropertyNode<DateTime> TransitionTimeNode { get; }
Property Value
An instance of the OpcPropertyNode´1 class.
Gets or sets a value which contains a human readable representation for the variable value when its VariableId property has the value true.
C#
public OpcText TrueState { get; set; }
Property Value
The human readable representation for the value true.
Gets the OpcTextPropertyNode of the TrueState property.
C#
public OpcTextPropertyNode TrueStateNode { get; }
Property Value
An instance of the OpcTextPropertyNode class.
Initializes the default values used by the OpcTwoStateVariableNode.
C#
protected override void InitializeDefaults()
Remarks
This method is used to ensure the availability of appropriate node specific default values. For more information like when this method is to be overwritten see InitializeDefaults.