|
|
|
|
#pragma once
|
|
|
|
|
#include "MyDlgView.h"
|
|
|
|
|
#include "afxdtctl.h"
|
|
|
|
|
|
|
|
|
|
enum eLogListType
|
|
|
|
|
{
|
|
|
|
|
_LogListType_LaipuLaser = 0,
|
|
|
|
|
_LogListType_LaipuDrawing,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CDlgChildEventLog : public CMyDlgView
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNAMIC(CDlgChildEventLog)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
CDlgChildEventLog(CWnd* pParent = NULL); // <20><><EFBFBD><D7BC><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
virtual ~CDlgChildEventLog();
|
|
|
|
|
virtual void OnViewOpen();//<2F><>Ӧview <20><EFBFBD>ʱ<EFBFBD><CAB1>
|
|
|
|
|
void InsertLogToListExt(CString &LogStr,CListCtrl &List);
|
|
|
|
|
void InsertLogToList(CString &LogStr,eLogListType LogListType);
|
|
|
|
|
void InitLogList(CListCtrl &List);
|
|
|
|
|
CListCtrl &GetLogList(eLogListType LogListType);
|
|
|
|
|
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
enum { IDD = IDD_CHILD_EVENT_LOG };
|
|
|
|
|
private:
|
|
|
|
|
CListCtrl m_LaipuLaserLogList;
|
|
|
|
|
CListCtrl m_LaipuDrawingLogList;
|
|
|
|
|
|
|
|
|
|
CComboBox m_SelLogTypeComb;
|
|
|
|
|
|
|
|
|
|
eLogListType m_CurLogListType;
|
|
|
|
|
bool m_bStopRevLog;//<2F><>ͣ<EFBFBD><CDA3><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD>log (<28><>Ӱ<EFBFBD><D3B0>log <20><><EFBFBD>浽<EFBFBD>ļ<EFBFBD>)
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
afx_msg void OnBnClickedClearListBtn();
|
|
|
|
|
afx_msg void OnBnClickedOpenLogDirBtn();
|
|
|
|
|
afx_msg void OnCbnSelchangeLogTypeCombo();
|
|
|
|
|
afx_msg void OnBnClickedStopRevLogBtn();
|
|
|
|
|
};
|