|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "MyBttom.h"
|
|
|
|
|
#include "MyPictrueBttom.h"
|
|
|
|
|
#include "MyDlgView.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CDlgDeviceMain : public CMyDlgView
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNAMIC(CDlgDeviceMain)
|
|
|
|
|
public:
|
|
|
|
|
CDlgDeviceMain(CWnd* pParent = NULL); // <20><><EFBFBD><D7BC><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
virtual ~CDlgDeviceMain();
|
|
|
|
|
virtual void SetTextCtrlItemID();
|
|
|
|
|
virtual void OnCancel();
|
|
|
|
|
virtual void UpdateLanguageTxt();//<2F>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ
|
|
|
|
|
void ChangeItemState();
|
|
|
|
|
void FuncExecute();
|
|
|
|
|
void SwitchChildDlg(EChildViewType ViewType);
|
|
|
|
|
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
enum { IDD = IDD_DEVICE_MAIN_DLG};
|
|
|
|
|
private:
|
|
|
|
|
void UpdateInfoExt();
|
|
|
|
|
|
|
|
|
|
void SetWndSize();
|
|
|
|
|
void ChangeItemStateExt();
|
|
|
|
|
void AdjustLayout();
|
|
|
|
|
void ResetModuleChildView();
|
|
|
|
|
void UpdateModuleChildView();
|
|
|
|
|
void InitPcsTestComb();
|
|
|
|
|
|
|
|
|
|
void InitChildArea();
|
|
|
|
|
CString GetModuleChildViewName(EChildViewType ChildViewType);
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
|
|
|
|
|
void OnTimer(UINT nIDEvent);
|
|
|
|
|
afx_msg BOOL OnInitDialog();
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
private:
|
|
|
|
|
CComboBox m_PcsTestComb;//<2F><><EFBFBD>Թ<EFBFBD><D4B9><EFBFBD>
|
|
|
|
|
CString m_TestStr1;
|
|
|
|
|
CString m_TestStr2;
|
|
|
|
|
CString m_EquipMsg;
|
|
|
|
|
|
|
|
|
|
int m_WarningTimes;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD>ʱ<EFBFBD><CAB1>ť<EFBFBD><C5A5>˸
|
|
|
|
|
vector<EChildViewType> m_ModuleChildViewVec;//<2F><>ǰģ<C7B0><C4A3><EFBFBD><EFBFBD><EFBFBD>ӽ<EFBFBD><D3BD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnBnClickedDeviceStateBtn();
|
|
|
|
|
afx_msg void OnBnClickedPCS();
|
|
|
|
|
afx_msg void OnBnClickedLoginBtn();
|
|
|
|
|
afx_msg void OnBnClickedRecordBtn();
|
|
|
|
|
afx_msg void OnBnClickedConfigBtn();
|
|
|
|
|
afx_msg void OnBnClickedRecipeBtn();
|
|
|
|
|
afx_msg void OnBnClickedLogoBtn();
|
|
|
|
|
afx_msg void OnBnClickedPcsTestBtn();
|
|
|
|
|
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn1();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn2();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn3();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn4();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn5();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn6();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn7();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn8();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn9();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn10();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn11();
|
|
|
|
|
afx_msg void OnBnClickedModuleChildViewBtn12();
|
|
|
|
|
afx_msg void OnBnClickedCloseAppBtn();
|
|
|
|
|
afx_msg void OnBnClickedShowWindowMinBtn();
|
|
|
|
|
afx_msg void OnBnClickedUserMgrBtn();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern CDlgDeviceMain *gDlgDeviceMain;
|