rtupara1.h

来自「这是一个变电站的监控程序」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_RTUPARA_H__9958E57A_6A76_11D3_880E_0000B491678E__INCLUDED_)
#define AFX_RTUPARA_H__9958E57A_6A76_11D3_880E_0000B491678E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RtuPara.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CRtuPara dialog

class CRtuPara : public CPropertyPage
{
    DECLARE_DYNCREATE(CRtuPara)
// Construction
public:
	bool bChanCall;
	CRtuPara();   // standard constructor
	void DispARtuPara(int CurRtu);
	void SaveARtuPara(int CurRtu);
	BYTE ProtocolType;
	BYTE RtuChNo;
	int CurRtu;
	bool bTurn;
// Dialog Data
	//{{AFX_DATA(CRtuPara)
	enum { IDD = IDD_RTU_PAPA };
	CComboBox	m_RtuNo;
	BOOL	m_CheckRtuUse;
	CString	m_RtuName;
	int		m_KwhNum;
	int		m_RtuAddr;
	int		m_YcNum;
	int		m_YxNum;
	BOOL	m_TimeForbit;
	int		m_ProtocolType;
	UINT	m_SoeNum;
	BOOL	m_SoeOnYx;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRtuPara)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void ProtocolDo();
	bool bChangeFlag;
	// Generated message map functions
	//{{AFX_MSG(CRtuPara)
	afx_msg void OnCheckRtuLock();
	afx_msg void OnCheckRtuUse();
	afx_msg void OnChangeEditRtuname();
	afx_msg void OnChangeKwhnum();
	afx_msg void OnChangeRtuaddr();
	afx_msg void OnChangeYcnum();
	afx_msg void OnChangeYxnum();
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnCheckTimeforbit();
	afx_msg void OnRtuNext();
	afx_msg void OnRtuPre();
	afx_msg void OnSelchangeProtocolType();
	afx_msg void OnChangeSoenum();
	afx_msg void OnSoeonyx();
	afx_msg void OnButtonPraram();
	afx_msg void OnCloseupRtuNo();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RTUPARA_H__9958E57A_6A76_11D3_880E_0000B491678E__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?