⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtupara1.h

📁 这是一个变电站的监控程序
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -