/********************************************************************* * * 文 件: RestAPI.h 跟踪处理模块 * * 版权所有: Shanghai Baosight Software Co., Ltd. * %USER% *********************************************************************/ #ifndef _REST_API_H #define _REST_API_H #include "T_PDO_LIST.h" #include "T_DAT_RADAR.h" #include #include #include #include #include #include #include #include #include using namespace baosight; /********************************************************************* * 类 名: RestAPI * 版权所有: Shanghai Baosight Software Co., Ltd. * 类 职 责:用rest 接口显示zone 里面的最新钢卷数据(FDaaitem对应的数据),显示所有zone区域的机组最新数据 * *********************************************************************/ class RestAPI { public: RestAPI(); virtual ~RestAPI(); int ZoneTag(void); int PotCoat(char* data); int Radar(char* extId,string& outrest); int ZoneTrack(); int PDOList(); int PDIList(); int TagMessage(); int PDIZONE(int eventNo,const ::Ice::ByteSeq& seq); float getFdaaData(int eventNo,string itemName); private: vector v_memzone; CMemTable* mp_table; BinaryTele* p_tele; BinaryTele* mp_btele; std::string tagmsg; // map > v_zones; map >> m_tele; MemCachedClient m_mc; CMemTrk* mp_trk; FDA_DATA* mp_data; PDO* mp_pdobase; PDI* mp_pdibase; }; #endif