.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaBase.ModelHandle Class Reference

A handle which can be used to read/write/subscribe to an object. More...

Public Member Functions

 ModelHandle (object instance)
 Initializes a new instance of the ModelHandle class. More...
 
 ModelHandle (object instance, IModelMapper mapper)
 Initializes a new instance of the ModelHandle class. More...
 

Properties

IModelMapper Mapper [get]
 Gets a custom IModelMapper object for use with the instance. More...
 
object Instance [get]
 Gets the instance which is mapped to the model. More...
 
List< ModelMappingMappings [get]
 A flat list of all mapped properties within the instance. More...
 
List< StatusCodeLastResults [get]
 A list of results for the last operation performed with the handle. More...
 
object UserData [get, set]
 Gets or sets the user data associated with the handle. More...
 

Detailed Description

A handle which can be used to read/write/subscribe to an object.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.ModelHandle.ModelHandle ( object  instance)

Initializes a new instance of the ModelHandle class.

Parameters
instanceThe instance which is mapped to a model.
UnifiedAutomation.UaBase.ModelHandle.ModelHandle ( object  instance,
IModelMapper  mapper 
)

Initializes a new instance of the ModelHandle class.

Parameters
instanceThe instance which is mapped to a model.
mapperThe custom IModelMapper implementation for use with the mapper.

If the mapper is null the default mapping is used.

Property Documentation

object UnifiedAutomation.UaBase.ModelHandle.Instance
get

Gets the instance which is mapped to the model.

List<StatusCode> UnifiedAutomation.UaBase.ModelHandle.LastResults
get

A list of results for the last operation performed with the handle.

There is one entry for each entry in the Mappings list.

IModelMapper UnifiedAutomation.UaBase.ModelHandle.Mapper
get

Gets a custom IModelMapper object for use with the instance.

If this value is null the default mapping is used.

List<ModelMapping> UnifiedAutomation.UaBase.ModelHandle.Mappings
get

A flat list of all mapped properties within the instance.

object UnifiedAutomation.UaBase.ModelHandle.UserData
getset

Gets or sets the user data associated with the handle.

The user data associated with the handle.


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