cptime.cpp
来自「接收来自下位机的数据,然后进行数据处理和通讯」· C++ 代码 · 共 50 行
CPP
50 行
// cptime.cpp : implementation file
//
#include "stdafx.h"
#include "Ultrasonic.h"
#include "cptime.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// cptime dialog
cptime::cptime(CWnd* pParent /*=NULL*/)
: CDialog(cptime::IDD, pParent)
{
//{{AFX_DATA_INIT(cptime)
m_ll = 0;
m_tt = 0;
m_vv1 = 0;
m_vv2 = 0;
//}}AFX_DATA_INIT
}
void cptime::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(cptime)
DDX_Text(pDX, IDC_length, m_ll);
DDX_Text(pDX, IDC_time, m_tt);
DDX_Text(pDX, IDC_v1, m_vv1);
DDX_Text(pDX, IDC_v2, m_vv2);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(cptime, CDialog)
//{{AFX_MSG_MAP(cptime)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// cptime message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?