/*************************************************
File name:	omcMain.h
Author: 	Cui Ticun
Version:	9.00.00 
Date:  		2007-8-1
Description:It calls the plat Module:SNMP,MTP3,SCCP,DEBUG,SMPP
				 and the faultMgr	:beatSend,beatProc,dualSrv
						
History:               
No. 
Author  
Date    
Version   
Description
*************************************************/

#include <stdlib.h>

#include "../../../../plat/public/src/include/pub_include.h" 
#include "../../../../plat/debug/src/include/debug.h"
#include "../../../../plat/snmp/src/include/snmp.h"
#include "../../../../plat/snmp/src/include/macro.h"
#include "../../../../plat/mtp3/src/include/mtp3.h"
#include "../../../../plat/sccp/src/include/sccp.h"
#include "../../../../plat/iptrans/src/include/iptrans.h"
#include "../../../../plat/smpp/src/include/smpp.h"

#include "../../../omcLib/c_program/omcLib/omcLib.h"
#include "../../../faultMgr/c_program/beatProc/beatProc.h"
#include "../../../faultMgr/c_program/beatSend/beatSend.h"
#include "../../../faultMgr/c_program/dualsrv/dualsrv.h"
#include "../../../performanceMgr/c_program/cstaCollector/csta.h"
#include "../../../accountMgr/c_program/wsms/wsms.h"

#include "../../../faultMgr/c_program/raidAgent/raid_agent.h"

#ifndef omcMain_DEBUG
	#define omcMain_DEBUG	0
#endif

/* by simon at 23/9/26 */
// struct timeval starttime,endtime;
// int nouse;
/* end by simon */

#define START gettimeofday(&starttime,NULL)
#define END(label) nouse=(gettimeofday(&endtime,NULL),printf("[%s]consume time=%f\n",label,((endtime.tv_sec-starttime.tv_sec)*1000000+endtime.tv_usec-starttime.tv_usec)/1000000.0));


#define  OMCD_CONF_FILE  "./conf/omcd.conf"

//OMC runMode Define
#define nSingleOmc			0
#define nDualOmc			1

#define omcMaxSubSysNum		2

#define	HD_SN_CHECK_FLAG	1

