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

📄 modeldlg.h

📁 开发的锌流量计算程序
💻 H
字号:
#if !defined(AFX_MODELDLG_H__E2C7BE15_A66D_4723_989E_A4E457B5B2F2__INCLUDED_)
#define AFX_MODELDLG_H__E2C7BE15_A66D_4723_989E_A4E457B5B2F2__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CModelDlg dialog

class CModelDlg : public CDialog
{
// Construction
public:
	CModelDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CModelDlg)
	enum { IDD = IDD_MODELING };
	CButton	m_button2;
	CButton	m_button1;
	float   m_flux;
	float	m_volt;
	float	m_weight;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CModelDlg)
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void  flux_modeling();
	void  data_process();
	int   m_count;//采样个数,1-50
	float volt_array[50];//电压采样值,一秒钟采样50个点
	float weight_array[1000];//重量采样值,用于建模
	float flux_array[1000];//流量值,用于建模
	int   sample_time;//采样点数,用于建模的样本数
};

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

#endif // !defined(AFX_MODELDLG_H__E2C7BE15_A66D_4723_989E_A4E457B5B2F2__INCLUDED_)

⌨️ 快捷键说明

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