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 alias provider to be used for resolving aliases by this reactive object.
Contains an OPC server and item descriptors.
Create a new instance of the observer that writes values into an OPC item. 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)
public DAWriteItemValueObserver<TValue>( 
   EasyDAClientSelector clientSelector,
   IAliasProvider aliasProvider,
   DAItemArguments itemArguments
)
public:
DAWriteItemValueObserver<TValue>( 
   EasyDAClientSelector^ clientSelector,
   IAliasProvider^ aliasProvider,
   DAItemArguments^ itemArguments
)

Parameters

clientSelector
The selector of the client object that is used for OPC Data Access operations.
aliasProvider
The alias provider to be used for resolving aliases by this reactive object.
itemArguments
Contains an OPC server and item descriptors.
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