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

📄 com2set.cpp

📁 自己编的把数控代码用RS232口由计算机传输到数控机床的程序
💻 CPP
字号:
// Com2Set.cpp : implementation file
//

#include "stdafx.h"
#include "NC.h"
#include "Com2Set.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCom2Set dialog


CCom2Set::CCom2Set(CWnd* pParent /*=NULL*/)
	: CDialog(CCom2Set::IDD, pParent)
{
	//{{AFX_DATA_INIT(CCom2Set)
	m_bit = _T("9600");
	m_jiaoyan = _T("ȱʡ");
	m_shuju = _T("1");
	m_tingzhi = _T("8");
	m_handshake = _T("NONE");
	//}}AFX_DATA_INIT
}


void CCom2Set::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCom2Set)
	DDX_CBString(pDX, IDC_COMBO1, m_bit);
	DDX_CBString(pDX, IDC_COMBO2, m_jiaoyan);
	DDX_CBString(pDX, IDC_COMBO3, m_tingzhi);
	DDX_CBString(pDX, IDC_COMBO4, m_shuju);
	DDX_CBString(pDX, IDC_COMBO5, m_handshake);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CCom2Set, CDialog)
	//{{AFX_MSG_MAP(CCom2Set)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCom2Set message handlers

⌨️ 快捷键说明

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