Previous Table of Contents Next


5.2.9.2 IDL


   //File: DAISAECategory.idl #ifndef _DAIS_AECATEGORY_IDL #define _DAIS_AECATEGORY_IDL #pragma prefix "omg.org" #include <DAISNode.idl>

   module DAIS {module AlarmsAndEvents {module Category{

   interface IHome : Node::IHome { Node::Descriptions get_main_categories ();

   PropertyIDs get_event_properties (in ResourceID category

   ); }; };};}; #endif // _DAIS_AECATEGORY_IDL

   IHome

   IHome is an object for browsing categories. Most of the browsing functionality is inherited from DAIS::Node.

   get_main_categories()

   Get the three main categories; simple, condition, and tracking. The three main categories appear as three different roots.

   Parameter Description

   return

   The descriptions for the three main categories. The labels for them are:

   get_event_properties()

   Get all properties that are used in the supervision of the source type for a specific category. The corresponding OPC method is IOPCEventServer::QueryEventAttributes().

Parameter

Description

category The identification of the categories to get the properties for.
return A sequence of property identifications.

   Browse categories

   get_main_reasons( )


   Figure 5-19 Browse category interaction

   Browse properties


   get_main_categories( )

   find_by_parent( )

   Figure 5-20 Browse properties interaction