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

📄 zibian1dlg.h

📁 自己编写的一个和DSP下位机进行串口通信的程序
💻 H
字号:
// zibian1Dlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_ZIBIAN1DLG_H__DBB943EA_2FC0_468C_81FA_BC3F9AD8E197__INCLUDED_)
#define AFX_ZIBIAN1DLG_H__DBB943EA_2FC0_468C_81FA_BC3F9AD8E197__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CZibian1Dlg dialog
class Cshowb
{
public:
	float dianya;
	float dianliu;
	float setdianliu;
	int reptNum;
	bool count;
} ;


class CZibian1Dlg : public CDialog
{
// Construction
public:
	int m_a;
	int m_num;
	CZibian1Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CZibian1Dlg)
	enum { IDD = IDD_ZIBIAN1_DIALOG };
	CStatic	m_setstatic6;
	CStatic	m_setstatic5;
	CStatic	m_setstatic4;
	CStatic	m_setstatic3;
	CStatic	m_setstatic2;
	CStatic	m_setstatic1;
	CEdit	m_ctrlRecvEdit6;
	CEdit	m_ctrlRecvEdit5;
	CEdit	m_ctrlRecvEdit4;
	CEdit	m_ctrlRecvEdit3;
	CEdit	m_ctrlRecvEdit2;
	CEdit	m_ctrlRecvEdit1;
	CStatic	m_ctrlRecv6;
	CStatic	m_ctrlRecv5;
	CStatic	m_ctrlRecv4;
	CStatic	m_ctrlRecv3;
	CStatic	m_ctrlRecv2;
	CStatic	m_ctrlRecv1;
	float	m_dl1;
	float	m_dl2;
	float	m_dl3;
	float	m_dl4;
	float	m_dl5;
	float	m_dl6;
	float	m_dy1;
	float	m_dy2;
	float	m_dy3;
	float	m_dy4;
	float	m_dy5;
	float	m_dy6;
	CMSComm	m_comm;
	float	m_valRecv1;
	float	m_valRecv2;
	float	m_valRecv3;
	float	m_valRecv4;
	float	m_valRecv5;
	float	m_valRecv6;
	CString	m_valNum1;
	CString	m_valNum2;
	CString	m_valNum3;
	CString	m_valNum4;
	CString	m_valNum5;
	CString	m_valNum6;
	//}}AFX_DATA
	Cshowb myshow[100];

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CZibian1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSet();
	afx_msg void OnMeasure();
	afx_msg void OnOnCommMscomm1();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnJiazai();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ZIBIAN1DLG_H__DBB943EA_2FC0_468C_81FA_BC3F9AD8E197__INCLUDED_)

⌨️ 快捷键说明

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