Previous Table of Contents Next


5.2.5.2 IDL


   //File: DAISAEArea.idl #ifndef _DAIS_AEAREA_IDL #define _DAIS_AEAREA_IDL #pragma prefix "omg.org" #include <DAISNode.idl> #include <DAISAECommon.idl>

   module DAIS { module AlarmsAndEvents { module Area {

   interface IHome : Node::IHome { ResourceID get_root();

   ResourceErrors enable_condition ( in ResourceIDs areas );

   ResourceErrors disable_condition (

   in ResourceIDs areas

   );

   };

   };};};

   #endif // _DAIS_AEAREA_IDL

   IHome

   An object for browsing areas.

   get_root()

   A method to get the root node for the area tree.


   enable_condition()

   A method for enabling the sources contained by the specified areas. The corresponding OPC method is IOPCEventServer::EnableConditionByArea().

Member

Description

areas A sequence of area identifications.
return The resource identifications that failed.

   disable_condition()

   A method for disabling the sources contained by the specified areas. The corresponding OPC method is IOPCEventServer::DisableConditionByArea().

Member

Description

areas A sequence of area identifications.
return The resource identifications that failed.

   Browse areas

   get_root( )


   Figure 5-9 Browse areas interaction