homeconfig.h

来自「机械手IPC控制器伺服运动程序」· C头文件 代码 · 共 76 行

H
76
字号
#if !defined(AFX_HOMECONFIG_H__E6FF89C9_ADE6_4CB2_B9AD_686564AC873F__INCLUDED_)
#define AFX_HOMECONFIG_H__E6FF89C9_ADE6_4CB2_B9AD_686564AC873F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HomeConfig.h : header file
//
#include "MyEditFull.h"
#include "channel.h"
#include "afxtempl.h"
typedef CTypedPtrMap<CMapWordToOb,int,Cchannel*>ChannelCollection;
/////////////////////////////////////////////////////////////////////////////
// CHomeConfig dialog

class CHomeConfig : public CDialog
{
// Construction
public:
	void SaveRecords();
	void LoadRecords();
	BOOL CanSerialize();
	CHomeConfig(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CHomeConfig)
	enum { IDD = IDD_HOMECONFIG };
	CMyEditFull	m_edt7;
	CMyEditFull	m_edt6;
	CMyEditFull	m_edt5;
	CMyEditFull	m_edt4;
	CMyEditFull	m_edt3;
	CMyEditFull	m_edt2;
	CMyEditFull	m_edt1;
	int		m_mode;
	int		m_index;
	int		m_highspd;
	int		m_lowspd;
	float	m_acc;
	float	m_dec;
	double	m_offset;
	int		m_channel;
	int		m_direction;
	int		m_sensor;
	//}}AFX_DATA
    ChannelCollection m_channels;
 
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHomeConfig)
	public:
	virtual void Serialize(CArchive& ar);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CHomeConfig)
	afx_msg void OnButton2();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnDropdownCombo1();
	afx_msg void OnBtnOk();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_HOMECONFIG_H__E6FF89C9_ADE6_4CB2_B9AD_686564AC873F__INCLUDED_)

⌨️ 快捷键说明

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