.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaServer.ModelControllerBase Class Reference

A base class for model controllers. More...

Inherits UnifiedAutomation.UaBase.IModelMapper.

Inherited by UnifiedAutomation.UaServer.BaseEventModel, UnifiedAutomation.UaServer.BaseObjectModel, and UnifiedAutomation.UaServer.BaseVariableModel.

Public Member Functions

virtual ModelHandle GetModelHandle (StringTable namespaceUris, object instance)
 Gets the metadata handle. More...
 
virtual DataValue GetValue (IMapperContext context, ModelMapping mapping)
 Gets the value associated with the mapping. More...
 
virtual bool SetValue (IMapperContext context, ModelMapping mapping, DataValue value)
 Sets the value associated with the mapping. More...
 

Properties

ModelHandle ModelHandle [get, set]
 Gets or sets the metadata handle. More...
 
object UserData [get, set]
 Gets or sets the user data. More...
 

Detailed Description

A base class for model controllers.

Member Function Documentation

virtual ModelHandle UnifiedAutomation.UaServer.ModelControllerBase.GetModelHandle ( StringTable  namespaceUris,
object  instance 
)
inlinevirtual
virtual DataValue UnifiedAutomation.UaServer.ModelControllerBase.GetValue ( IMapperContext  context,
ModelMapping  mapping 
)
inlinevirtual

Gets the value associated with the mapping.

Parameters
contextThe request context.
mappingThe mapping.
Returns
The value. null if he mapping was not understood.

Implements UnifiedAutomation.UaBase.IModelMapper.

virtual bool UnifiedAutomation.UaServer.ModelControllerBase.SetValue ( IMapperContext  context,
ModelMapping  mapping,
DataValue  value 
)
inlinevirtual

Sets the value associated with the mapping.

Parameters
contextThe request context.
mappingThe mapping.
valueThe value.
Returns
True if the mapping was understood. False otherwise.

Implements UnifiedAutomation.UaBase.IModelMapper.

Property Documentation

ModelHandle UnifiedAutomation.UaServer.ModelControllerBase.ModelHandle
getset

Gets or sets the metadata handle.

The metadata handle.

object UnifiedAutomation.UaServer.ModelControllerBase.UserData
getset

Gets or sets the user data.

The user data.


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