OPC Studio User's Guide and Reference
UAMapperExtension Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping.Extensions Namespace : UAMapperExtension Class
Extension methods on OpcLabs.EasyOpc.UA.LiveMapping.UAClientMapper objects. A static class.
Syntax
'Declaration
 
<ExtensionAttribute()>
<ComVisibleAttribute(False)>
Public MustInherit NotInheritable Class UAMapperExtension 
'Usage
 
Dim instance As UAMapperExtension
[Extension()]
[ComVisible(false)]
public static class UAMapperExtension 
[Extension()]
[ComVisible(false)]
public ref class UAMapperExtension abstract sealed 
Remarks

This class contains extension methods (info: C#, VB.NET). In languages that have support for extensions methods (such as C# and VB.NET), you can use the extension method as if it were a regular method on the object that is its first parameter. In other languages (such as with Python.NET), you will call the extension as a static method, and pass it the object on which it acts as its first parameter.

The mapper object is at the center of the live mapping mode. You will typically use it for two main purposes:

  1. Establish the correspondences between the source OPC data, and you target .NET objects: see Mapping Your Objects.
  2. Perform various operations using the mappings established earlier: Invoking the Operations.

For mapping of OPC Data Access (OPC-DA) sources, the actual mapper class is DAClientMapper. You can create an instance of DAClientMapper simply by instantiating it with one of its constructor overloads. You can also use a static DAClientMapper.SharedInstance object and avoid the need of instantiation.

For mapping of OPC Unified Architecture (OPC-UA) sources, the actual mapper class is UAClientMapper. You can create an instance of UAClientMapper simply by instantiating it with one of its constructor overloads. You can also use a static UAClientMapper.SharedInstance object and avoid the need of instantiation.

 

Inheritance Hierarchy

System.Object
   OpcLabs.EasyOpc.UA.LiveMapping.Extensions.UAMapperExtension

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also