dOPC Client Toolkit Help file
TdOPCEventFilters Class
dOPCAE.TdOPCEventFilters
C++
public: class TdOPCEventFilters : public TCollection;
C#
public class TdOPCEventFilters : TCollection;
Visual Basic
Public Class TdOPCEventFilters
Inherits TCollection

dOPCAE

TdOPCEventFilters contains and manages a collection of TdOPCEventFilter objects.

procedure TForm1.bUpdateClick(Sender: TObject);
var
  Filter : TdOPCEventFilter;
begin
  Filter := dOPCEventServer1.Filter[0]; //get first Filter
  Filter.SeverityLow := 100; //only Events with Severity >= 100
  Filter.Refresh; //if you change any Filter properties, you must call Refresh
end;
TdOPCEventFilters Methods 
Description 
Add 
Add creates and returns a new TdOPCEventFilter object and adds it to the Items collection. 
GetOwner returns the owner of the object. 
Refresh applies event filter changes. 
TdOPCEventFilters Properties 
Description 
Items contains the TdOPCEventFilter objects which can be accessed via the Index parameter. 
Tag 
Tag has no predefined meaning. 
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.