chenluhua1980
2025-12-11 33f080ddc32f3545b685b2e0a7a5df3c35894270
SourceCode/Bond/Servo/HsmsPassive.h
@@ -135,6 +135,9 @@
   // 取消 define report
   bool removeReport(int rptid);
   int deleteReport(int rptid);
   int addReport(int rptid, const std::vector<unsigned int>& vids);
   int updateReport(int rptid, const std::vector<unsigned int>& vids);
   void clearAllReport();
   // 从文件中加载CVariable列表
@@ -161,6 +164,7 @@
   // 取得Report列表
   std::vector<SERVO::CReport*>& getReports();
   unsigned int getMaxReportId() const;
   // 从文件中加载CCollectionEvent列表
   int loadCollectionEvents(const char* pszFilepath);
@@ -170,13 +174,13 @@
   // 取消/删除所有CollectionEvent
   void clearAllCollectionEvent();
   int deleteCollectionEvent(unsigned short CEID);
   // 取得CCollectionEvent
   SERVO::CCollectionEvent* getEvent(unsigned short CEID);
   // 取得Report
   SERVO::CReport* getReport(int rptid);
   int deleteReport(int rptid);
   void setListener(SECSListener listener);
   unsigned OnCimWork();
@@ -241,6 +245,7 @@
   std::vector<unsigned int> parseVidList(CString& strNums);
   int writeVariablesToFile(const std::string& filepath);
   int writeReportsToFile(const std::string& filepath);
   int writeCollectionEventsToFile(const std::string& filepath);
private:
   CModel* m_pModel;
@@ -264,6 +269,9 @@
   std::string m_strReportFilepath;
   bool m_bReportUtf8{ false };
   bool m_bReportUtf8Bom{ false };
   std::string m_strCollectionEventFilepath;
   bool m_bCollectionUtf8{ false };
   bool m_bCollectionUtf8Bom{ false };
   BOOL m_bCimWorking;
   HANDLE m_hCimWorkEvent;
   HANDLE m_hCimWorkThreadHandle;