OPCDA.NET Reference Manual
RefreshGroup Constructor(OpcServer,DataChangeEventHandler,Int32)
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > RefreshGroup Class > RefreshGroup Constructor : RefreshGroup Constructor(OpcServer,DataChangeEventHandler,Int32)

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
dChgHnd
IN: callback handler delegate
Rate
IN: Refresh rate in ms

Glossary Item Box

Constuctor creates the associated OPC group with the specified update rate and the base of the internal cache.
The user specified callback handler is installed in place of the internal handler. This disables the RefreshGroup cache update handling. The user handler has to do all required handling of the callback data.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal srv As OpcServer, _
   ByVal dChgHnd As DataChangeEventHandler, _
   ByVal Rate As Integer _
)
C# 
public RefreshGroup( 
   OpcServer srv,
   DataChangeEventHandler dChgHnd,
   int Rate
)

Parameters

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
dChgHnd
IN: callback handler delegate
Rate
IN: Refresh rate in ms

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.