📄 offsimudlg.h
字号:
#if !defined(AFX_OFFSIMUDLG_H__F87B93B7_13CF_4F1F_B90B_AB68ABF12DB9__INCLUDED_)
#define AFX_OFFSIMUDLG_H__F87B93B7_13CF_4F1F_B90B_AB68ABF12DB9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OffSimuDlg.h : header file
//
#include "simu.h"
class COffSimu;
/////////////////////////////////////////////////////////////////////////////
// COffSimuDlg dialog
class COffSimuDlg : public CDialog
{
// Construction
public:
COffSimuDlg(CWnd* pParent = NULL); // standard constructor
int status; //对话框的状态,0表示没有创建,1表示打开,2表示隐藏
CStatic *pa; //指向各个灯图片指针
HICON ON; //用于只是开和关的图标
HICON OFF;
COffSimu Simu;
/* int SST[3];
int SSH[2];
int SCI[2];
int I[9];
int BPORT[4];
int APORT[4];
int SWL[8];
int SWH[8];
int Y[15];
int flag[4];*/
// Dialog Data
//{{AFX_DATA(COffSimuDlg)
enum { IDD = IDD_OFFSIMU };
CStatic m_m_ctrlY9;
CStatic m_m_ctrlY8;
CStatic m_m_ctrlY7;
CStatic m_m_ctrlY6;
CStatic m_m_ctrlY5;
CStatic m_m_ctrlY4;
CStatic m_m_ctrlY3;
CStatic m_m_ctrlY2;
CStatic m_m_ctrlY15;
CStatic m_m_ctrlY14;
CStatic m_m_ctrlY13;
CStatic m_m_ctrlY12;
CStatic m_m_ctrlY11;
CStatic m_m_ctrlY10;
CStatic m_m_ctrlY1;
CStatic m_ctrlY0;
CStatic m_ctrlFlagZ;
CStatic m_ctrlFlagV;
CStatic m_ctrlFlagS;
CStatic m_ctrlFlagC;
CStatic m_ctrlOn;
CStatic m_ctrlOff;
int m_nSwh4;
int m_nSwh5;
int m_nSwh6;
int m_nSwh7;
int m_nSwh0;
int m_nSwh1;
int m_nSwh2;
int m_nSwh3;
int m_nSwl0;
int m_nSwl1;
int m_nSwl2;
int m_nSwl3;
int m_nSwl4;
int m_nSwl5;
int m_nSwl6;
int m_nSwl7;
int m_nI0;
int m_nI1;
int m_nI2;
int m_nI3;
int m_nI4;
int m_nI5;
int m_nI6;
int m_nI7;
int m_nI8;
int m_nAport0;
int m_nAport1;
int m_nAport2;
int m_nAport3;
int m_nBport0;
int m_nBport1;
int m_nBport2;
int m_nBport3;
int m_nSci0;
int m_nSci1;
int m_nSsh0;
int m_nSsh1;
int m_nSst0;
int m_nSst1;
int m_nSst2;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COffSimuDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void SetInfo();
void SetResult();
// Generated message map functions
//{{AFX_MSG(COffSimuDlg)
afx_msg void OnSwh71();
afx_msg void OnSwh70();
afx_msg void OnSwh61();
afx_msg void OnSwh60();
afx_msg void OnSwh51();
afx_msg void OnSwh50();
afx_msg void OnSwh41();
afx_msg void OnSwh40();
afx_msg void OnSwh31();
afx_msg void OnSwh30();
afx_msg void OnSwh21();
afx_msg void OnSwh20();
afx_msg void OnSwh11();
afx_msg void OnSwh10();
afx_msg void OnSwh01();
afx_msg void OnSwh00();
afx_msg void OnSwl71();
afx_msg void OnSwl70();
afx_msg void OnSwl61();
afx_msg void OnSwl60();
afx_msg void OnSwl51();
afx_msg void OnSwl50();
afx_msg void OnSwl41();
afx_msg void OnSwl40();
afx_msg void OnSwl31();
afx_msg void OnSwl30();
afx_msg void OnSwl21();
afx_msg void OnSwl20();
afx_msg void OnSwl11();
afx_msg void OnSwl10();
afx_msg void OnSwl01();
afx_msg void OnSwl00();
afx_msg void OnI81();
afx_msg void OnI80();
afx_msg void OnI71();
afx_msg void OnI70();
afx_msg void OnI61();
afx_msg void OnI60();
afx_msg void OnI51();
afx_msg void OnI50();
afx_msg void OnI41();
afx_msg void OnI40();
afx_msg void OnI31();
afx_msg void OnI30();
afx_msg void OnI21();
afx_msg void OnI20();
afx_msg void OnI11();
afx_msg void OnI10();
afx_msg void OnI01();
afx_msg void OnI00();
afx_msg void OnSst21();
afx_msg void OnSst20();
afx_msg void OnSst11();
afx_msg void OnSst10();
afx_msg void OnSst01();
afx_msg void OnSst00();
afx_msg void OnSci11();
afx_msg void OnSci10();
afx_msg void OnSci01();
afx_msg void OnSci00();
afx_msg void OnSsh11();
afx_msg void OnSsh10();
afx_msg void OnSsh01();
afx_msg void OnSsh00();
afx_msg void OnBport31();
afx_msg void OnBport30();
afx_msg void OnBport21();
afx_msg void OnBport20();
afx_msg void OnBport11();
afx_msg void OnBport10();
afx_msg void OnBport01();
afx_msg void OnBport00();
afx_msg void OnAport31();
afx_msg void OnAport30();
afx_msg void OnAport21();
afx_msg void OnAport20();
afx_msg void OnAport11();
afx_msg void OnAport10();
afx_msg void OnAport01();
afx_msg void OnAport00();
afx_msg void OnStart();
afx_msg void OnReset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OFFSIMUDLG_H__F87B93B7_13CF_4F1F_B90B_AB68ABF12DB9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -