/********************************************************************* * * 文 件: MemZone.h * * 版权所有: Shanghai Baosight Software Co., Ltd. * *********************************************************************/ #ifndef _H_COLLECT_ZONE_H #define _H_COLLECT_ZONE_H #include #include #include #include #include #include #include using namespace baosight; struct ADDR{ short mode; short event; short addr; short addrbit; }; class AD_MODE{ public: static const short NORMAL = 0; static const short UNKNOW = 1; static const short BINARY = 2; }; class CollectZone { public: CollectZone(void); public: ~CollectZone(void); public: int dispatch(int eventNo,const ::Ice::ByteSeq&); void Insert(coatWt coatwt,int start,int end); private: int fdaacase(int eventNo,const ::Ice::ByteSeq&); int cachecase(int eventNo,const ::Ice::ByteSeq&); int telecase(int eventNo,const ::Ice::ByteSeq&); int getTHData(string key); private: vector v_memzone; BinaryTele* p_tele; BinaryTele* p_btel; CMemTable* pt_pdi; /*map > */; map > v_zpos; /*map >*/ // map > v_zaddr; map > v_zaddr; vector v_btel; mapmp_th; mapmp_PDIData; /*map>>*/ // map > > v_zonetel; }; #endif