UA Bundle SDK .NET  2.1.0.222
 All Classes Namespaces Functions Variables Enumerations Properties Events Groups Pages
UnifiedAutomation.UaServer.ProgramStateMachineModel Class Reference

A state machine for a program. More...

Inherits UnifiedAutomation.UaServer.FiniteStateMachineModel, and UnifiedAutomation.UaServer.IMethodDispatcher.

Public Member Functions

 ProgramStateMachineModel ()
 Initializes a new instance of the ProgramStateMachineModel class.
 
 ProgramStateMachineModel (ProgramStateMachineModel template)
 Initializes a new instance of the ProgramStateMachineModel class.
 
virtual CallMethodEventHandler GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId)
 Gets the method dispatcher.
 
virtual StatusCode DispatchMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, List< StatusCode > inputArgumentResults, List< Variant > outputArguments)
 Dispatches the method.
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.FiniteStateMachineModel
 FiniteStateMachineModel ()
 Initializes a new instance of the FiniteStateMachineModel class.
 
 FiniteStateMachineModel (FiniteStateMachineModel template)
 Initializes a new instance of the FiniteStateMachineModel class.
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.StateMachineModel
 StateMachineModel ()
 Initializes a new instance of the StateMachineModel class.
 
 StateMachineModel (StateMachineModel template)
 Initializes a new instance of the StateMachineModel class.
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase
virtual ModelHandle GetModelHandle (StringTable namespaceUris, object instance)
 Gets the metadata handle.
 
virtual DataValue GetValue (IMapperContext context, ModelMapping mapping)
 Gets the value associated with the mapping.
 
virtual bool SetValue (IMapperContext context, ModelMapping mapping, DataValue value)
 Sets the value associated with the mapping.
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.IModelMapper
ModelHandle GetModelHandle (StringTable namespaceUris, object instance)
 Gets the metadata handle.
 
DataValue GetValue (IMapperContext context, ModelMapping mapping)
 Gets the value associated with the mapping.
 
bool SetValue (IMapperContext context, ModelMapping mapping, DataValue value)
 Sets the value associated with the mapping.
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.IMethodDispatcher
CallMethodEventHandler GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId)
 Gets the method dispatcher.
 

Properties

new FiniteStateVariableModel CurrentState [get, set]
 Gets or sets the CurrentState
 
bool Deletable [get, set]
 Gets or sets the Deletable
 
BaseObjectModel FinalResultData [get, set]
 Gets or sets the FinalResultData
 
new FiniteTransitionVariableModel LastTransition [get, set]
 Gets or sets the LastTransition
 
ProgramDiagnosticModel ProgramDiagnostics [get, set]
 Gets or sets the ProgramDiagnostics
 
int RecycleCount [get, set]
 Gets or sets the RecycleCount
 
IProgramStateMachineMethods ProgramStateMachineMethods [get, set]
 Gets or sets the ProgramStateMachine methods.
 
- Properties inherited from UnifiedAutomation.UaServer.FiniteStateMachineModel
new FiniteStateVariableModel CurrentState [get, set]
 Gets or sets the CurrentState
 
new FiniteTransitionVariableModel LastTransition [get, set]
 Gets or sets the LastTransition
 
- Properties inherited from UnifiedAutomation.UaServer.StateMachineModel
StateVariableModel CurrentState [get, set]
 Gets or sets the CurrentState
 
TransitionVariableModel LastTransition [get, set]
 Gets or sets the LastTransition
 
- Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase
ModelHandle ModelHandle [get, set]
 Gets or sets the metadata handle.
 
object UserData [get, set]
 Gets or sets the user data.
 

Detailed Description

A state machine for a program.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.ProgramStateMachineModel.ProgramStateMachineModel ( )

Initializes a new instance of the ProgramStateMachineModel class.

UnifiedAutomation.UaServer.ProgramStateMachineModel.ProgramStateMachineModel ( ProgramStateMachineModel  template)

Initializes a new instance of the ProgramStateMachineModel class.

Parameters
templateThe template.

Member Function Documentation

virtual StatusCode UnifiedAutomation.UaServer.ProgramStateMachineModel.DispatchMethod ( RequestContext  context,
MethodHandle  methodHandle,
IList< Variant inputArguments,
List< StatusCode inputArgumentResults,
List< Variant outputArguments 
)
virtual

Dispatches the method.

Parameters
contextThe request context.
methodHandleThe method handle.
inputArgumentsThe input arguments.
inputArgumentResultsThe input argument results.
outputArgumentsThe output arguments.
Returns
virtual CallMethodEventHandler UnifiedAutomation.UaServer.ProgramStateMachineModel.GetMethodDispatcher ( RequestContext  context,
NodeId  objectId,
NodeId  methodId 
)
virtual

Gets the method dispatcher.

Parameters
contextThe request context.
objectIdThe object id.
methodIdThe method id.
Returns

Property Documentation

new FiniteStateVariableModel UnifiedAutomation.UaServer.ProgramStateMachineModel.CurrentState
getset

Gets or sets the CurrentState

The CurrentState

bool UnifiedAutomation.UaServer.ProgramStateMachineModel.Deletable
getset

Gets or sets the Deletable

The Deletable

BaseObjectModel UnifiedAutomation.UaServer.ProgramStateMachineModel.FinalResultData
getset

Gets or sets the FinalResultData

The FinalResultData

new FiniteTransitionVariableModel UnifiedAutomation.UaServer.ProgramStateMachineModel.LastTransition
getset

Gets or sets the LastTransition

The LastTransition

ProgramDiagnosticModel UnifiedAutomation.UaServer.ProgramStateMachineModel.ProgramDiagnostics
getset

Gets or sets the ProgramDiagnostics

The ProgramDiagnostics

IProgramStateMachineMethods UnifiedAutomation.UaServer.ProgramStateMachineModel.ProgramStateMachineMethods
getset

Gets or sets the ProgramStateMachine methods.

The ProgramStateMachine methods.

int UnifiedAutomation.UaServer.ProgramStateMachineModel.RecycleCount
getset

Gets or sets the RecycleCount

The RecycleCount


The documentation for this class was generated from the following file: