/********************************************************************* * * 文 件: decision.h 跟踪处理模块 * * 版权所有: Shanghai Baosight Software Co., Ltd. * %USER% *********************************************************************/ #ifndef _COIL_TRACKING_H #define _COIL_TRACKING_H #include "T_PDO_LIST.h" #include "T_PDO_RADAR.h" #include #include #include #include #include #include #include "T_WPD_DATA.h" #include using namespace baosight; /********************************************************************* * 类 名: decision * 版权所有: Shanghai Baosight Software Co., Ltd. * 类 职 责:用于处理入出口以钢卷为单位的跟踪 * *********************************************************************/ class decision { public: decision(); int Radar(char* extId); int WriteList(); int WriteRadar(char* RADAR); int storeWPD(char* entId,int wpdno,int distance); short Proxy(int eventNo,const string& proxyName, const char* keyValue,int length); virtual ~decision(); /********************************************************************** * 概述: 跟踪功能分派 * **********************************************************************/ int dispatch(int eventNo,const ::Ice::ByteSeq& seq); public: /********************************************************************** * 概述: //钢卷上卷 **********************************************************************/ private: PDO* mp_pdobase; CMemTrk* mp_trk; MemCachedClient m_mc; RestAPI* mp_restapi; CalcScore* mp_calcscore; }; #endif