OpcFiniteStateMachineNode Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcFiniteStateMachineNode type exposes the following members.

OpcFiniteStateMachineNode(FiniteStateMachineState)

Initializes a new instance of the OpcFiniteStateMachineNode class using the content as the instance to wrap.

C#

protected OpcFiniteStateMachineNode(FiniteStateMachineState content)


Parameters

content FiniteStateMachineState

The FiniteStateMachineState to wrap.


Exceptions

ArgumentNullException

The content is a null reference (Nothing in Visual Basic).

OpcFiniteStateMachineNode(FiniteStateMachineState, OpcNodeModel)

Initializes a new instance of the OpcFiniteStateMachineNode class using the content as the instance to wrap.

C#

protected OpcFiniteStateMachineNode(FiniteStateMachineState content, OpcNodeModel model)


Parameters

content FiniteStateMachineState

The FiniteStateMachineState to wrap.

model OpcNodeModel

The OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.


Exceptions

ArgumentNullException

The content is a null reference (Nothing in Visual Basic).

OpcFiniteStateMachineNode(IOpcNode, OpcName)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name specified as a child node of the parent node given.

C#

public OpcFiniteStateMachineNode(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 finite state machine node can be accessed.

OpcFiniteStateMachineNode(IOpcNode, OpcName, OpcNodeId)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name and id specified as a child node of the parent node given.

C#

public OpcFiniteStateMachineNode(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 finite state machine node can be accessed.

id OpcNodeId

The OpcNodeId through that the new finite state machine node can be identified and accessed.

OpcFiniteStateMachineNode(OpcName)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name specified.

C#

public OpcFiniteStateMachineNode(OpcName name)


Parameters

name OpcName

The OpcName through that the new finite state machine node can be accessed.

OpcFiniteStateMachineNode(OpcName, OpcNodeId)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name and id specified.

C#

public OpcFiniteStateMachineNode(OpcName name, OpcNodeId id)


Parameters

name OpcName

The OpcName through that the new finite state machine node can be accessed.

id OpcNodeId

The OpcNodeId through that the new finite state machine node can be identified and accessed.

OpcFiniteStateMachineNode(OpcNodeModel, IOpcNode, OpcName)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name specified as a child node of the parent node given.

C#

protected OpcFiniteStateMachineNode(OpcNodeModel model, IOpcNode parent, OpcName name)


Parameters

model OpcNodeModel

The OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

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 finite state machine node can be accessed.

OpcFiniteStateMachineNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name and id specified as a child node of the parent node given.

C#

protected OpcFiniteStateMachineNode(OpcNodeModel model, IOpcNode parent, OpcName name, OpcNodeId id)


Parameters

model OpcNodeModel

The OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

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 finite state machine node can be accessed.

id OpcNodeId

The OpcNodeId through that the new finite state machine node can be identified and accessed.

OpcFiniteStateMachineNode(OpcNodeModel, OpcName)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name specified.

C#

protected OpcFiniteStateMachineNode(OpcNodeModel model, OpcName name)


Parameters

model OpcNodeModel

The OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

name OpcName

The OpcName through that the new finite state machine node can be accessed.

OpcFiniteStateMachineNode(OpcNodeModel, OpcName, OpcNodeId)

Initializes a new instance of the OpcFiniteStateMachineNode class accessible by the name and id specified.

C#

protected OpcFiniteStateMachineNode(OpcNodeModel model, OpcName name, OpcNodeId id)


Parameters

model OpcNodeModel

The OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

name OpcName

The OpcName through that the new finite state machine node can be accessed.

id OpcNodeId

The OpcNodeId through that the new finite state machine node can be identified and accessed.

CurrentState

Gets 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. Applications should use the VariableId property of the CurrentStateNode if they need a unique identifier for the state.

C#

public override OpcText CurrentState { get; set; }


Property Value

OpcText

A human readable name for the current state which may not be suitable for use in application control logic.

CurrentStateNode

Gets the OpcFiniteStateVariableNode of the CurrentState property.

C#

public OpcFiniteStateVariableNode CurrentStateNode { get; }


Property Value

OpcFiniteStateVariableNode

An instance of the OpcFiniteStateVariableNode class.

DefaultTypeDefinitionId

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

OpcNodeId

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).

LastTransition

Gets 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 override OpcText LastTransition { get; set; }


Property Value

OpcText

A human readable name for the last transition which may not be suitable for use in application control logic.

LastTransitionNode

Gets the OpcFiniteTransitionVariableNode of the LastTransition property.

C#

public OpcFiniteTransitionVariableNode LastTransitionNode { get; }


Property Value

OpcFiniteTransitionVariableNode

An instance of the OpcFiniteTransitionVariableNode class, or null if this node is not present.

ChangeStateTo(OpcContext, object)

Changes the CurrentState to the newState specified using the further specified context.

C#

public void ChangeStateTo(OpcContext context, object newState)


Parameters

context OpcContext

The OpcContext to use to change.

newState Object

The state number or enum of the state to change to.



Exceptions

ArgumentNullException

The context or newState is a null reference (Nothing in Visual Basic).

OpcException

The change operation failed (see exception details for more information).

OnBeforeAdded(OpcNodeAddedEventArgs)

Raises the BeforeAdded event using the event data specified.

C#

protected override void OnBeforeAdded(OpcNodeAddedEventArgs e)


Parameters

e OpcNodeAddedEventArgs

The OpcNodeAddedEventArgs with the event data.