OPC Studio User's Guide and Reference
DAClientMapper Constructor(IEasyDAClient,DAMappingContext)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAClientMapper Class > DAClientMapper Constructor : DAClientMapper Constructor(IEasyDAClient,DAMappingContext)
The client object that this mapper will use to make OPC operations.

This is typically the OpcLabs.EasyOpc.DataAccess.EasyDAClient object.

The value of this parameter cannot be null (Nothing in Visual Basic).

The mapping context template.

The value of this parameter can be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given client object and mapping context template.
Syntax
'Declaration
 
Public Function New( _
   ByVal client As IEasyDAClient, _
   ByVal mappingContextTemplate As DAMappingContext _
)
'Usage
 
Dim client As IEasyDAClient
Dim mappingContextTemplate As DAMappingContext
 
Dim instance As New DAClientMapper(client, mappingContextTemplate)

Parameters

client
The client object that this mapper will use to make OPC operations.

This is typically the OpcLabs.EasyOpc.DataAccess.EasyDAClient object.

The value of this parameter cannot be null (Nothing in Visual Basic).

mappingContextTemplate
The mapping context template.

The value of this parameter can be null (Nothing in Visual Basic).

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