📄 syspropertypage1.cpp
字号:
// SysPropertyPage1.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "SysPropertyPage1.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CSysPropertyPage1, CPropertyPage)
IMPLEMENT_DYNCREATE(CSysPropertyPage2, CPropertyPage)
IMPLEMENT_DYNCREATE(CSysPropertyPage3, CPropertyPage)
/////////////////////////////////////////////////////////////////////////////
// CSysPropertyPage1 property page
CSysPropertyPage1::CSysPropertyPage1() : CPropertyPage(CSysPropertyPage1::IDD)
{
//{{AFX_DATA_INIT(CSysPropertyPage1)
m_zeroSpeed = 0.0;
m_scanSpeedX = 0.0;
m_scanSpeedY = 0.0;
//}}AFX_DATA_INIT
}
CSysPropertyPage1::~CSysPropertyPage1()
{
}
void CSysPropertyPage1::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSysPropertyPage1)
DDX_Text(pDX, IDC_ZERO_SPEED, m_zeroSpeed);
DDX_Text(pDX, IDC_SCAN_SPEED_X, m_scanSpeedX);
DDX_Text(pDX, IDC_SCAN_SPEED_Y, m_scanSpeedY);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSysPropertyPage1, CPropertyPage)
//{{AFX_MSG_MAP(CSysPropertyPage1)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSysPropertyPage2 property page
CSysPropertyPage2::CSysPropertyPage2() : CPropertyPage(CSysPropertyPage2::IDD)
{
//{{AFX_DATA_INIT(CSysPropertyPage2)
m_powderUp = 0.0;
m_platformDown = 0.0;
//}}AFX_DATA_INIT
}
CSysPropertyPage2::~CSysPropertyPage2()
{
}
void CSysPropertyPage2::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSysPropertyPage2)
DDX_Text(pDX, IDC_POWDER_UP, m_powderUp);
DDX_Text(pDX, IDC_PLATFORM_DOWN, m_platformDown);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSysPropertyPage2, CPropertyPage)
//{{AFX_MSG_MAP(CSysPropertyPage2)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSysPropertyPage3 property page
CSysPropertyPage3::CSysPropertyPage3() : CPropertyPage(CSysPropertyPage3::IDD)
{
//{{AFX_DATA_INIT(CSysPropertyPage3)
m_layerThickness = 0.0;
m_scanWidth = 0.0;
m_laserPowerXDir = 0.0;
m_laserPowerYDir = 0.0;
m_rotateAngle = 0.0;
//}}AFX_DATA_INIT
}
CSysPropertyPage3::~CSysPropertyPage3()
{
}
void CSysPropertyPage3::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSysPropertyPage3)
DDX_Text(pDX, IDC_LAYER_THICKNESS, m_layerThickness);
DDX_Text(pDX, IDC_SCAN_WIDTH, m_scanWidth);
DDX_Text(pDX, IDC_LASER_POWER_X, m_laserPowerXDir);
DDX_Text(pDX, IDC_LASER_POWER_Y, m_laserPowerYDir);
DDX_Text(pDX, IDC_ROTATE_ANGLE, m_rotateAngle);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSysPropertyPage3, CPropertyPage)
//{{AFX_MSG_MAP(CSysPropertyPage3)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -