#pragma once
|
#include "stdafx.h"
|
#include "MBDocExtendEvents.h"
|
#include "MBFireSftAdapter.h"
|
#include "VaultExeConnect.h"
|
|
/************************************************************************/
|
/* Èí¼þÉÕÖÆ */
|
/************************************************************************/
|
class CMBFireSftWnd
|
: public SHostDialog
|
, public TAutoEventMapReg<CMBFireSftWnd>
|
{
|
public:
|
CMBFireSftWnd(void);
|
~CMBFireSftWnd(void);
|
private:
|
BOOL m_bLayoutInited; // ³õʼ»¯±êʶ
|
private:
|
SMCListView *m_pMcLvLst;
|
CMBFireSftAdapter *m_pAdapter;
|
private:
|
CMBServerMgr *m_pSvrMgr; // ·þÎñ¹ÜÀíÆ÷
|
private:
|
CMBFireLstData *m_pFireData;
|
CMBGridStyleAttrMgr2 *m_pGridStyleAttrMgr;
|
CVaultExeConnect *m_pValutExeConnet;
|
CMBTNXXXXXXMgr *m_pTN6XMgr;
|
CMBFireAppExtParam *m_pAppExtParam;
|
public:
|
//bool m_bFtnFireSoft; // ÉÕÖÆÈí¼þ¹¦ÄÜ
|
public:
|
int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
BOOL OnInitDialog(HWND hWnd, LPARAM lParam);
|
void OnSize(UINT nType, SOUI::CSize size);
|
public:
|
void OnBtnFire();
|
void OnBtnPrint();
|
void OnBtnPreview();
|
protected:
|
//souiÏûÏ¢
|
EVENT_MAP_BEGIN()
|
EVENT_NAME_COMMAND(_T("btn_firesft_fire"),OnBtnFire)
|
EVENT_NAME_COMMAND(_T("btn_firesft_print"),OnBtnPrint)
|
EVENT_NAME_COMMAND(_T("btn_firesft_preview"),OnBtnPreview)
|
|
EVENT_MAP_END()
|
protected:
|
//HostWndÕæÊµ´°¿ÚÏûÏ¢´¦Àí
|
BEGIN_MSG_MAP_EX(CMBFireSftWnd)
|
MSG_WM_CREATE(OnCreate)
|
MSG_WM_INITDIALOG(OnInitDialog)
|
CHAIN_MSG_MAP(SHostDialog)
|
MSG_WM_SIZE(OnSize)
|
MSG_WM_TIMER_EX(OnTimer)
|
REFLECT_NOTIFICATIONS_EX()
|
END_MSG_MAP()
|
public:
|
bool RegisterNotifyCenter();
|
bool UnRegisterNotifyCenter();
|
public:
|
void SetSvrMgr( CMBServerMgr *pSvrMgr ); // ÉèÖ÷þÎñ¹ÜÀíÆ÷
|
void SetFireLstData(CMBFireLstData *pFireData);
|
void SetGridStyleAttrMgr(CMBGridStyleAttrMgr2 *pGridStyleAttrMgr);
|
void SetVaultExeConnect(CVaultExeConnect *pValutExeConnet);
|
void SetAppExtParam(CMBFireAppExtParam *pAppExtParam);
|
public:
|
void OnTimer(UINT_PTR nIDEvent);
|
protected:
|
bool OnEventKeyDown(EventArgs *pEvt);
|
public:
|
void InitDataToLst(); // ³õʼ»¯Êý¾Ý
|
void InitTNXXXXXX();
|
void InitAttachQr(); // ³õʼ»¯¸½¼ÓQr
|
void InitQr(); // ³õʼ»¯¶þάÂë
|
public:
|
void AddAttachQrToUI(int nIndex,CString strValue); // Ìí¼Ó¸½¼ÓQr
|
public:
|
CString GetQrStr(); // µÃµ½¶þάÂë
|
void GetQrText( CStringArray &ar );
|
};
|