// File: DAISAECommon.idl // Change history // DAIS RTF 1.1 7086 2004-09-09 Reason is renamed to Category // DAIS RTF 1.1 7137 2004-09-09 Improved error reporting #ifndef _DAIS_AECOMMON_IDL #define _DAIS_AECOMMON_IDL #pragma prefix "omg.org" #include module DAIS { module AlarmsAndEvents { typedef ResourceID EventID; struct ResourceError { Error err; ResourceID id; string reason; }; //7137 typedef sequence ResourceErrors; //7137 // error codes const Error RES_ERROR_DAISOK = 0; //7137 const Error RES_ERROR_UNKOWN_RESOURCE = 1; //7137 typedef unsigned long SourceConditionOpState; const SourceConditionOpState CONDITION_ENABLED = 0x0001; const SourceConditionOpState CONDITION_ACTIVE = 0x0002; const SourceConditionOpState CONDITION_ACKED = 0x0004; typedef unsigned short EventFormat; //7086 const EventFormat OPC_SIMPLE_EVENT = 0x0001; //7086 const EventFormat OPC_TRACKING_EVENT = 0x0002; //7086 const EventFormat OPC_CONDITION_EVENT = 0x0004; //7086 const EventFormat OPC_ALL_EVENTS = 0x0007; //7086 };}; #endif // _DAIS_AECOMMON_IDL