使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 0408576e9da10015ffa9da0079b8c985113ce4b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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();
};