Reference
OpcStateMachineNode Members
Defines the base class for all state machine nodes.
Reference
OpcStateMachineNode Members
- Type
- OpcStateMachineNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcObjectNode, OpcInstanceNode, OpcNode.
Constructors
OpcStateMachineNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the Opcname and id specified. |
| 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 and id specified 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. |
OpcStateMachineNode(OpcName)
Initializes a new instance of the OpcStateMachineNode class accessible by the name specified.
public OpcStateMachineNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new state machine node can be accessed. |
OpcStateMachineNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcStateMachineNode class accessible by the name and id specified.
public OpcStateMachineNode(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 machine node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state machine node can be identified and accessed. |
OpcStateMachineNode(IOpcNode, OpcName)
Initializes a new instance of the OpcStateMachineNode class accessible by the name specified as a child node of the parent node given.
public OpcStateMachineNode(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 machine node can be accessed. |
OpcStateMachineNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcStateMachineNode class accessible by the name and id specified as a child node of the parent node given.
public OpcStateMachineNode(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 machine node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new state machine node can be identified and accessed. |
OpcStateMachineNode(StateMachineState)
Initializes a new instance of the OpcStateMachineNode class using the content as the instance to wrap.
protected OpcStateMachineNode(StateMachineState content)Protected Sub New(content As StateMachineState)Parameters
| Name | Type | Description |
|---|---|---|
content | State | The State |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcStateMachineNode(StateMachineState, OpcNodeModel)
Initializes a new instance of the OpcStateMachineNode class using the content as the instance to wrap.
protected OpcStateMachineNode(StateMachineState content, OpcNodeModel model)Protected Sub New(content As StateMachineState, 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
CurrentState
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.
public virtual OpcText CurrentState { get; set; }Public Overridable Property CurrentState As OpcTextProperty value
A human readable name for the current state which may not be suitable for use in application control logic.
CurrentStateNode
Gets the OpcStateVariableNode of the CurrentState property.
public OpcStateVariableNode CurrentStateNode { get; }Public Property CurrentStateNode As OpcStateVariableNodeProperty value
An instance of the OpcStateVariableNode class.
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
LastTransition
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.
public virtual OpcText LastTransition { get; set; }Public Overridable Property LastTransition As OpcTextProperty value
A human readable name for the last transition which may not be suitable for use in application control logic.
LastTransitionNode
Gets the OpcTransitionVariableNode of the LastTransition property.
public OpcTransitionVariableNode LastTransitionNode { get; }Public Property LastTransitionNode As OpcTransitionVariableNodeProperty value
An instance of the OpcTransitionVariableNode class.

