Unit psOPC_AE
Uses
Functions and Procedures
Variables
Description
*******************************************************
Overview
Classes, Interfaces, Objects and Records
Types
Constants
Description
Types
OPCAEBROWSEDIRECTION = TOleEnum; |
*********************************************************************// Declaration of Enumerations defined in Type Library // *********************************************************************//
|
Constants
LIBID_OPC_AE: TGUID = '{65168844-5783-11D1-84A0-00608CB8A7E9}'; |
*********************************************************************// GUIDS declared in the TypeLibrary // *********************************************************************//
|
IID_IOPCEventServer: TIID = '{65168851-5783-11D1-84A0-00608CB8A7E9}'; |
|
IID_IOPCEventSubscriptionMgt: TIID = '{65168855-5783-11D1-84A0-00608CB8A7E9}'; |
|
IID_IOPCEventAreaBrowser: TIID = '{65168857-5783-11D1-84A0-00608CB8A7E9}'; |
|
IID_IOPCEventSink: TIID = '{6516885F-5783-11D1-84A0-00608CB8A7E9}'; |
|
IID_IOPCEventServer2: TIID = '{71BBE88E-9564-4BCD-BCFC-71C558D94F2D}'; |
|
IID_IOPCEventSubscriptionMgt2: TIID = '{94C955DC-3684-4CCB-AFAB-F898CE19AAC3}'; |
|
OPCEventServerCATID: TGUID = '{58E13251-AC87-11D1-84D5-00608CB8A7E9}'; |
|
OPCAE_STATUS_RUNNING = 1; |
|
OPCAE_STATUS_NOCONFIG = 3; |
|
OPCAE_STATUS_SUSPENDED = 4; |
|
OPCAE_STATUS_COMM_FAULT = 6; |
|
OPC_QUALITY_MASK = $C0; |
*********************************************************************// OPC Quality flags // *********************************************************************// Masks for extracting quality subfields (note 'status' mask also includes 'Quality' bits)
|
OPC_QUALITY_BAD = $00; |
Values for QUALITY_MASK bit field
|
OPC_QUALITY_UNCERTAIN = $40; |
|
OPC_QUALITY_CONFIG_ERROR = $04; |
STATUS_MASK Values for Quality = BAD
|
OPC_QUALITY_NOT_CONNECTED = $08; |
|
OPC_QUALITY_DEVICE_FAILURE = $0C; |
|
OPC_QUALITY_SENSOR_FAILURE = $10; |
|
OPC_QUALITY_LAST_KNOWN = $14; |
|
OPC_QUALITY_COMM_FAILURE = $18; |
|
OPC_QUALITY_OUT_OF_SERVICE = $1C; |
|
OPC_QUALITY_LAST_USABLE = $44; |
STATUS_MASK Values for Quality = UNCERTAIN
|
OPC_QUALITY_SENSOR_CAL = $50; |
|
OPC_QUALITY_EGU_EXCEEDED = $54; |
|
OPC_QUALITY_SUB_NORMAL = $58; |
|
OPC_QUALITY_LOCAL_OVERRIDE = $D8; |
STATUS_MASK Values for Quality = GOOD
|
OPC_CONDITION_ENABLED = $0001; |
State bit masks
|
OPC_CONDITION_ACTIVE = $0002; |
|
OPC_CONDITION_ACKED = $0004; |
|
OPC_CHANGE_ACTIVE_STATE = $0001; |
bit masks for m_wChangeMask
|
OPC_CHANGE_ACK_STATE = $0002; |
|
OPC_CHANGE_ENABLE_STATE = $0004; |
|
OPC_CHANGE_QUALITY = $0008; |
|
OPC_CHANGE_SEVERITY = $0010; |
|
OPC_CHANGE_SUBCONDITION = $0020; |
|
OPC_CHANGE_MESSAGE = $0040; |
|
OPC_CHANGE_ATTRIBUTE = $0080; |
|
OPC_SIMPLE_EVENT = $0001; |
dwEventType
|
OPC_TRACKING_EVENT = $0002; |
|
OPC_CONDITION_EVENT = $0004; |
|
OPC_FILTER_BY_EVENT = $0001; |
QueryAvailableFilters() bit masks
|
OPC_FILTER_BY_CATEGORY = $0002; |
|
OPC_FILTER_BY_SEVERITY = $0004; |
|
OPC_FILTER_BY_AREA = $0008; |
|
OPC_FILTER_BY_SOURCE = $0010; |
|
Generated by PasDoc 0.14.0.