dOPC Client Toolkit Help file
TdOPCEvent Class Members
Members
TdOPCEvent Methods
TdOPCEvent Methods 
Description 
TdOPCEvent
Acknowledge acknowledges the event as the passed who with the passed comment at the server. 
CustomPropertyItemID translates the passed CustPropIndex to an TdOPCItem.ItemID. 
converts event type to string
EventTypeStr returns the EventType as a string. 
GetConditionState returns the current condition status information. 
IsGoodQuality returns True if the Quality is good, otherwise False
Topics
Topic 
Description 
The methods of the TdOPCEvent class are listed here. 
The properties of the TdOPCEvent class are listed here. 
TdOPCEvent Properties
TdOPCEvent Properties 
Description 
Acknowledged is True if the corresponding condition has been acknowledged, otherwise False
AckRequired is True if this event requires acknowledgement, otherwise False
Active is True if the corresponding condition is active, otherwise False
ActiveTime contains the time at which the condition became active (for single-state conditions) or the time of a transition into the current sub-condition (for multi-state conditions). 
ActorID contains IDs for tracking events or condition-related events which are acknowledgment notifications. 
CategoryName contains the name of the category related to this event notification. 
ChangeMask indicates what properties of the condition have changed and forced the server to send the event notification. 
ConditionName contains the name of the condition related to this event notification. 
Cookie contains the server-defined cookie associated with the event notification. 
CustomProps provides a collection of vendor specific attributes. 
Data 
Data is not used by TdOPCEvent. You can use this property for your own data. 
Enabled is True if the corresponding condition is enabled, otherwise False
EventCategory contains either the standard or the vendor-specific event category. 
EventType indicates the type of the event; condition-related, tracking-related or simple. 
ID 
ID contains the unique Id of the event. 
IsConditionEvent is True if the corresponding condition is a condition event, otherwise False
IsSimpleEvent is True if the corresponding condition is a simple event, otherwise False
IsTrackingEvent is True if the corresponding condition is a tracking event, otherwise False
Key 
This is Key, a member of class TdOPCEvent. 
LastEvent contains the values for the last occurred event. 
Msg 
Msg contains the message text which describes the event. 
NewState indicates a bit mask specifying the new state of the condition. 
NumEventAttrs provides the number of attributes of the event. 
Quality provides the latest quality read from the server. 
Severity contains a value indicating the event severity. 
Source contains a string indicating the source of the event notification. 
SubconditionName contains the name of the current sub-condition, for multi-state conditions. 
Tag 
Tag has no predefined meaning. 
Time 
Time provides the time of the event occurrence. 
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.