QuickOPC User's Guide and Reference
DAMappingContext Constructor(ServerDescriptor,DAGroupParameters,String,String,DANodeDescriptor,DAReadParameters)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMappingContext Class > DAMappingContext Constructor : DAMappingContext Constructor(ServerDescriptor,DAGroupParameters,String,String,DANodeDescriptor,DAReadParameters)
The OPC server involved in the operation.
An object containing subscription parameters, such as the requested update rate.
The template string for OPC node paths.
The template string for OPC item IDs.
The descriptor of the OPC node involved in the operation.
The read parameters (such as data source or value age).
Initializes a new instance of the class, given all its properties.
Syntax
'Declaration
 
Public Function New( _
   ByVal serverDescriptor As ServerDescriptor, _
   ByVal groupParameters As DAGroupParameters, _
   ByVal nodePathTemplateString As String, _
   ByVal itemIdTemplateString As String, _
   ByVal nodeDescriptor As DANodeDescriptor, _
   ByVal readParameters As DAReadParameters _
)
'Usage
 
Dim serverDescriptor As ServerDescriptor
Dim groupParameters As DAGroupParameters
Dim nodePathTemplateString As String
Dim itemIdTemplateString As String
Dim nodeDescriptor As DANodeDescriptor
Dim readParameters As DAReadParameters
 
Dim instance As New DAMappingContext(serverDescriptor, groupParameters, nodePathTemplateString, itemIdTemplateString, nodeDescriptor, readParameters)

Parameters

serverDescriptor
The OPC server involved in the operation.
groupParameters
An object containing subscription parameters, such as the requested update rate.
nodePathTemplateString
The template string for OPC node paths.
itemIdTemplateString
The template string for OPC item IDs.
nodeDescriptor
The descriptor of the OPC node involved in the operation.
readParameters
The read parameters (such as data source or value age).
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