SourceCode/Bond/Servo/CCollectionEvent.cpp
@@ -49,6 +49,22 @@ return TRUE; } void CCollectionEvent::setReport(CReport* pReport) { m_rptids.clear(); m_reports.clear(); if (pReport != nullptr) { m_rptids.push_back(pReport->getReportId()); m_reports.push_back(pReport); } } unsigned int CCollectionEvent::getPortID() { if (m_reports.empty()) return -1; return m_reports.front()->getReportId(); } BOOL CCollectionEvent::deleteReport(unsigned int nReportId) { BOOL bDelete = FALSE;