#pragma once
|
#include "stdafx.h"
|
#include "MBErrFileInfo.h"
|
|
/************************************************************************/
|
/* ´«Êä´íÎó¹ÜÀíÆ÷ */
|
/************************************************************************/
|
class AFX_EXT_CLASS CMBErrTransMgr
|
{
|
public:
|
CMBErrTransMgr(void);
|
~CMBErrTransMgr(void);
|
private:
|
CCriticalSection m_cs;
|
CMBErrFileAutoPtrVector m_vectorTransInfo; // ´íÎóÎļþ¶ÓÁÐ
|
UINT m_nDisplayErrorCount;
|
public:
|
void Init(UINT nDisplayErrorCount);
|
public:
|
bool AddErrFile(CAutoRefPtr<CMBErrFileInfo> & pErrFileInfo); // Ìí¼ÓÊý¾Ý
|
bool AddRealTimeErr(CAutoRefPtr<CMBErrFileInfo> & pErrFileInfo); // Ìí¼ÓʵʱÊý¾Ý
|
CMBErrFileInfo *GetErrFile( CString strID ); // ²éÕÒ
|
bool RemoveAllErrFile(); // ÒÆ³ý
|
bool RemoveErrFile( CString strID ); // ÒÆ³ý
|
void CopyErrTransVector( CMBErrFileAutoPtrVector &vectorTransInfo ); // ¿½±´Ò»·Ý´íÎó¶ÓÁÐ
|
void GetErrFileIDS( CString &strUploadIDS,CString &strDownLoadIDS ); // µÃµ½ÎļþÏÂÔØºÍÉÏ´«µÄids
|
int GetCount();
|
};
|