fuzzy2004view.h

来自「自动化节水灌溉模糊控制系统」· C头文件 代码 · 共 90 行

H
90
字号
// fuzzy2004View.h : interface of the CFuzzy2004View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_FUZZY2004VIEW_H__C4417585_2A0B_4EFE_AA2B_2F3B31F21078__INCLUDED_)
#define AFX_FUZZY2004VIEW_H__C4417585_2A0B_4EFE_AA2B_2F3B31F21078__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CFuzzy2004Set;

class CFuzzy2004View : public CRecordView
{
protected: // create from serialization only
	CFuzzy2004View();
	DECLARE_DYNCREATE(CFuzzy2004View)

public:
	//{{AFX_DATA(CFuzzy2004View)
	enum { IDD = IDD_FUZZY2004_FORM };
	CButton	m_count;
	CButton	m_get;
	CButton	m_read;
	CFuzzy2004Set* m_pSet;
	//}}AFX_DATA

// Attributes
public:
	CFuzzy2004Doc* GetDocument();

// Operations
public:
public:
	float m_shuiwei;//得到田间水位信息
	int id;//选择田间耗水量的程度
	int timeorder;//控制水稻生长时期
	float m_rain;//降雨量信息
	float m_biaozhun;//正常的田间水位信息,以便与实际田间水位进行比较
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFuzzy2004View)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CFuzzy2004View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFuzzy2004View)
	afx_msg void OnButtonGet1();
	afx_msg void OnButtonRead();
	afx_msg void OnButtonCount();
	afx_msg void OnButtonExit();
	afx_msg void OnButton1();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnCancelMode();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in fuzzy2004View.cpp
inline CFuzzy2004Doc* CFuzzy2004View::GetDocument()
   { return (CFuzzy2004Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_FUZZY2004VIEW_H__C4417585_2A0B_4EFE_AA2B_2F3B31F21078__INCLUDED_)

⌨️ 快捷键说明

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