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

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
Rate
IN: Refresh rate in ms
UserHnd
IN: Optional RefreshEventHandler for DataChanged, ReadComplete and WriteComplete callbacks. Otherwise null (Nothing).

Glossary Item Box

Constuctor creates the associated OPC group and the base of the internal cache. The user specified call back handler is called from the internal datacallback and readcomplete event handlers.

Syntax

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

Parameters

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
Rate
IN: Refresh rate in ms
UserHnd
IN: Optional RefreshEventHandler for DataChanged, ReadComplete and WriteComplete callbacks. Otherwise null (Nothing).

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.