OPC Studio User's Guide and Reference
DAWriteItemValueObserver<TValue> Constructor(EasyDAClientSelector,IAliasProvider,DAItemArguments)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Reactive Namespace > DAWriteItemValueObserver<TValue> Class > DAWriteItemValueObserver<TValue> Constructor : DAWriteItemValueObserver<TValue> Constructor(EasyDAClientSelector,IAliasProvider,DAItemArguments)
The selector of the client object that is used for OPC Data Access operations.

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

The alias provider to be used for resolving aliases by this reactive object.

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

Contains an OPC server and item descriptors.

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

Create a new instance of the observer that writes values into an OPC item given by OpcLabs.EasyOpc.DataAccess.OperationModel.DAItemArguments object.
Syntax
'Declaration
 
Public Function New( _
   ByVal clientSelector As EasyDAClientSelector, _
   ByVal aliasProvider As IAliasProvider, _
   ByVal itemArguments As DAItemArguments _
)
'Usage
 
Dim clientSelector As EasyDAClientSelector
Dim aliasProvider As IAliasProvider
Dim itemArguments As DAItemArguments
 
Dim instance As New DAWriteItemValueObserver(Of TValue)(clientSelector, aliasProvider, itemArguments)

Parameters

clientSelector
The selector of the client object that is used for OPC Data Access operations.

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

aliasProvider
The alias provider to be used for resolving aliases by this reactive object.

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

itemArguments
Contains an OPC server and item descriptors.

The value of this parameter cannot 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