.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaBase.IModelMapper Interface Reference

An interface that allows the caller to customize the object to UA mapping. More...

Inherited by UnifiedAutomation.UaBase.ModelMapper, and UnifiedAutomation.UaServer.ModelControllerBase.

Public Member Functions

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

Detailed Description

An interface that allows the caller to customize the object to UA mapping.

Member Function Documentation

ModelHandle UnifiedAutomation.UaBase.IModelMapper.GetModelHandle ( StringTable  namespaceUris,
object  instance 
)
DataValue UnifiedAutomation.UaBase.IModelMapper.GetValue ( IMapperContext  context,
ModelMapping  mapping 
)

Gets the value associated with the mapping.

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

Implemented in UnifiedAutomation.UaBase.ModelMapper, and UnifiedAutomation.UaServer.ModelControllerBase.

bool UnifiedAutomation.UaBase.IModelMapper.SetValue ( IMapperContext  context,
ModelMapping  mapping,
DataValue  value 
)

Sets the value associated with the mapping.

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

Implemented in UnifiedAutomation.UaBase.ModelMapper, and UnifiedAutomation.UaServer.ModelControllerBase.


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