encoderconfig.h

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

H
61
字号
#if !defined(AFX_ENCODERCONFIG_H__9C194BB9_512D_4BB8_A03D_1122F8C31B88__INCLUDED_)
#define AFX_ENCODERCONFIG_H__9C194BB9_512D_4BB8_A03D_1122F8C31B88__INCLUDED_

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

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

// Dialog Data
	//{{AFX_DATA(CEncoderConfig)
	enum { IDD = IDD_ENCODERCONFIG };
	int		m_swap;
	int		m_input;
	int		m_channel;
	//}}AFX_DATA
    ChannelCollection m_channels;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEncoderConfig)
	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(CEncoderConfig)
	afx_msg void OnButton2();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnSelchangeCombo3();
	afx_msg void OnDropdownCombo3();
	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_ENCODERCONFIG_H__9C194BB9_512D_4BB8_A03D_1122F8C31B88__INCLUDED_)

⌨️ 快捷键说明

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