/********************************************************************* * * 文 件: 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 Radar(char* extId,string& outrest); int ZoneTrack(); int PDOList(); int PDIList(); int TagMessage(); int PDIDetail(int eventNo,const ::Ice::ByteSeq& seq); int getData(int* fda); private: short Proxy(int eventNo,const string& proxyName, const char* keyValue,int length); private: CMemTable* mp_trksign; BinaryTele* mp_btele; //map >> ; map >> m_tele; MemCachedClient m_mc; CMemTrk* mp_trk; string UNIT_NO; CMemTable* mp_pdo; CMemTable* mp_pdi; CalcScore* mp_calcscore; }; #endif