Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcStateMachineNode type exposes the following members.
Initializes a new instance of the OpcStateMachineNode class accessible by the name
specified as a child node of the parent
node given.
C#
public OpcStateMachineNode(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 machine node can be accessed.
Initializes a new instance of the OpcStateMachineNode class accessible by the name
and id
specified as a child node of the parent
node given.
C#
public OpcStateMachineNode(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 machine node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new state machine node can be identified and accessed.
Initializes a new instance of the OpcStateMachineNode class accessible by the name
specified.
C#
public OpcStateMachineNode(OpcName name)
Parameters
name
OpcName
The OpcName through that the new state machine node can be accessed.
Initializes a new instance of the OpcStateMachineNode class accessible by the name
and id
specified.
C#
public OpcStateMachineNode(OpcName name, OpcNodeId id)
Parameters
name
OpcName
The OpcName through that the new state machine node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new state machine node can be identified and accessed.
Gets or sets the current state of the OpcStateMachineNode and provides a human readable name for the current state which may not be suitable for use in application control logic. Applications should use the VariableId property of the CurrentStateNode if they need a unique identifier for the state.
C#
public virtual OpcText CurrentState { get; set; }
Property Value
A human readable name for the current state which may not be suitable for use in application control logic.
Gets the OpcStateVariableNode of the CurrentState property.
C#
public OpcStateVariableNode CurrentStateNode { get; }
Property Value
An instance of the OpcStateVariableNode class.
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 the last transition which occurred in an instance and provides a human readable name for the last transition which may not be suitable for use in application control logic. Applications should use the VariableId property of the LastTransitionNode if they need a unique identifier for the transition.
C#
public virtual OpcText LastTransition { get; set; }
Property Value
A human readable name for the last transition which may not be suitable for use in application control logic.
Gets the OpcTransitionVariableNode of the LastTransition property.
C#
public OpcTransitionVariableNode LastTransitionNode { get; }
Property Value
An instance of the OpcTransitionVariableNode class.