Skip to content

Reference

OpcFiniteStateMachineNode Class

Defines a specialization of the OpcStateMachineNode that provides a mechanism to explicitly define the states and transitions.

Reference

OpcFiniteStateMachineNode Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcFiniteStateMachineNode Members

Defines a specialization of the OpcStateMachineNode that provides a mechanism to explicitly define the states and transitions. A server should use this mechanism if it knows what the possible states are and the state machine is not trivial.

Syntax ​

csharp
[OpcNodeType(2771)]
public class OpcFiniteStateMachineNode : OpcStateMachineNode
vbnet
<OpcNodeType(2771)>
Public Class OpcFiniteStateMachineNode
    Inherits OpcStateMachineNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcObjectNode → OpcStateMachineNode → OpcFiniteStateMachineNode

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcFiniteStateMachineNode10 overloadsInitializes a new instance of the OpcFiniteStateMachineNode class accessible by the name specified.

Properties ​

NameDescription
AvailableStatessince v2.54Gets the available states of the OpcFiniteStateMachineNode.
AvailableStatesNodesince v2.54Gets the OpcNodeIdArrayVariableNode of the AvailableStates property.
AvailableTransitionssince v2.54Gets the available transitions of the OpcFiniteStateMachineNode.
AvailableTransitionsNodesince v2.54Gets the OpcNodeIdArrayVariableNode of the AvailableTransitions property.
CurrentStateoverrideGets the current state of the OpcFiniteStateMachineNode and provides a human readable name for the current state which may not be suitable for use in application control logic.
CurrentStateNodeGets the OpcFiniteStateVariableNode of the CurrentState property.
DefaultTypeDefinitionIdprotected · overrideGets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
LastTransitionoverrideGets 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.
LastTransitionNodeGets the OpcFiniteTransitionVariableNode of the LastTransition property.
SupportsCurrentStatevirtual · since v2.54Gets a value indicating whether the current OpcFiniteStateMachineNode does support changes of the CurrentState;

Methods ​

NameDescription
CanChangeStateTo2 overloads · since v2.54Determines whether the CurrentState can be changed to the newState specified using the further specified context.
ChangeStateTosince v2.29Changes the CurrentState to the newState specified using the further specified context.
CreateSubStatesMachineNodeprotected · virtual · since v2.54When overridden in a derived class, creates the state machine of the sub-states of the state specified.
GetSubStatesMachineNode2 overloads · since v2.54Gets the state machine of the sub-states of the current state.
IsAccessibleoverride · since v2.54Determines whether the node is accessible using the context specified within the view identified by the viewId specified.
OnBeforeAddedprotected · override · since v2.29Raises the BeforeAdded event using the event data specified.

Inherits members from OpcObjectNode, OpcInstanceNode, OpcNode.

Extension methods ​

NameDescription
OpcStateMachineNodeExtension.ChangeStateChanges the current state of the stateMachineNode specified using the further specified context.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59