setsystem.h

来自「最近做的一款温湿度变送器的上位软件」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_SETSYSTEM_H__BA50D440_46A0_41E8_AC0B_44EE1CEBA74B__INCLUDED_)
#define AFX_SETSYSTEM_H__BA50D440_46A0_41E8_AC0B_44EE1CEBA74B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// SetSystem dialog

class SetSystem : public CPropertyPage
{
	DECLARE_DYNCREATE(SetSystem)

// Construction
public:
	int port;
	SetSystem();
	~SetSystem();

// Dialog Data
	//{{AFX_DATA(SetSystem)
	enum { IDD = IDD_DIALOG_SetSystem };
	CComboBox	m_CurrentTypeRH;
	CComboBox	m_CurrentTypeTC;
	float	m_Zero_temperature;
	float	m_Zero_humidity;
	float	m_Mini_temperature;
	float	m_Max_temperature;
	float	m_Mini_humidity;
	float	m_Max_humidity;
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(SetSystem)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnStorData();
	afx_msg void OnReadStorData();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_SETSYSTEM_H__BA50D440_46A0_41E8_AC0B_44EE1CEBA74B__INCLUDED_)

⌨️ 快捷键说明

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