| | |
| | | unsigned int getCEID(int RPTID); |
| | | |
| | | // define Report |
| | | void defineReport(unsigned int VID, unsigned int RPTID); |
| | | SERVO::CReport* defineReport(unsigned int RPTID, std::vector<unsigned int>& vids); |
| | | |
| | | // 取消 define report |
| | | void deleteReport(unsigned int RPTID); |
| | | bool removeReport(int rptid); |
| | | void clearAllReport(); |
| | | |
| | | // 从文件中加载CVariable列表 |
| | | int loadVarialbles(const char* pszFilepath); |
| | |
| | | // 从文件中加载CReport列表 |
| | | int loadReports(const char* pszFilepath); |
| | | |
| | | // 取消/删除所有 define report |
| | | void deleteAllReport(); |
| | | |
| | | // 取得Report列表 |
| | | std::vector<SERVO::CReport*>& getReports(); |
| | | |
| | |
| | | |
| | | // 取消/删除所有CollectionEvent |
| | | void clearAllCollectionEvent(); |
| | | |
| | | |
| | | SERVO::CReport* getReport(int rptid); |
| | | |
| | |
| | | int onRecvMsg(IMessage* pMessage); |
| | | void clearAllVariabel(); |
| | | std::vector<unsigned int> parseVidList(CString& strNums); |
| | | void clearAllReport(); |
| | | |
| | | private: |
| | | CModel* m_pModel; |
| | |
| | | |
| | | // RPTID to Report |
| | | std::map<unsigned int, REPORT> m_mapReport; |
| | | |
| | | // VID to RPTID |
| | | std::map<unsigned int, unsigned int> m_mapValueIdToPRTID; |
| | | |
| | | // VID to Report |
| | | std::map<unsigned int, VALUE> m_mapValue; |