Namespace: Opc.UaFx.Server
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcStateMachineNodeExtension type exposes the following members.
Changes the current state of the stateMachineNode
specified using the further specified context
.
C#
public static void ChangeState(this OpcFiniteStateMachineNode stateMachineNode, OpcContext context, uint value)
Parameters
stateMachineNode
OpcFiniteStateMachineNode
The OpcFiniteStateMachineNode its CurrentState is to be modified.
context
OpcContext
The OpcContext to use to respond.
value
UInt32
Exceptions
The stateMachineNode
or context
is a null reference (Nothing in Visual Basic).
The change operation failed (see exception details for more information).