📄 chandialog.h
字号:
#if !defined(AFX_CHANDIALOG_H__B21BB4C5_7BB7_11D3_B232_F2DAAE80C245__INCLUDED_)
#define AFX_CHANDIALOG_H__B21BB4C5_7BB7_11D3_B232_F2DAAE80C245__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChanDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CChanDialog dialog
class CChanDialog : public CDialog
{
// Construction
public:
CChanDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CChanDialog)
enum { IDD = IDD_DIALOG_CHANNEL };
CComboBox m_ChannelNo;
BOOL m_bChannelUse;
int m_EndBit;
int m_Bps;
int m_DataBit;
int m_ParityBit;
int m_Rtu1No;
int m_Rtu2No;
int m_Rtu3No;
int m_Rtu4No;
int m_Rtu5No;
int m_Rtu6No;
int m_Rtu7No;
int m_Rtu8No;
int m_RtuNum;
int m_WorkType;
int m_Syn;
int m_ChanType;
//}}AFX_DATA
int m_StandardName;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChanDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void DispAChannel();
int CurChannelNo;
bool bCurChannelModi;
bool bCurChannelInit;
bool SaveAChannel();
void CheckUseDisp();
bool CheckRtuNo(int RtuNo,int RtuNoSub);
void WriteChannelPara();
// void WriteRtuPara();
// Generated message map functions
//{{AFX_MSG(CChanDialog)
afx_msg void OnCheckUse();
afx_msg void OnButtonPre();
afx_msg void OnButtonNext();
afx_msg void OnRadioAsy();
afx_msg void OnRadioSyn();
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnButtonc();
afx_msg void OnDestroy();
afx_msg void OnChangeControl();
afx_msg void OnSelchangeComboChanNo();
afx_msg void OnCloseupComboRtuNum();
afx_msg void OnCloseupComboWorktype();
afx_msg void OnSelchangeComboChanType();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CComboBox *TempComboPtr;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHANDIALOG_H__B21BB4C5_7BB7_11D3_B232_F2DAAE80C245__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -