📄 slsprj.h
字号:
// SlsPrj.h : main header file for the SLSPRJ application
//
#if !defined(AFX_SLSPRJ_H__83B9791F_8F6E_11D1_9D8B_D6F3FE4E493C__INCLUDED_)
#define AFX_SLSPRJ_H__83B9791F_8F6E_11D1_9D8B_D6F3FE4E493C__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "StlDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CSlsApp:
// See SlsPrj.cpp for the implementation of this class
//
class CSlsApp : public CWinApp
{
public:
//系统参数
double m_scanSpeedX; //扫描速度
double m_scanSpeedY;
double m_zeroSpeed; //回零速度
double m_platformDown; //工作缸位移量
double m_powderUp; //粉桶位移量
double m_scanWidth; //烧结间距
double m_layerThickness; //单层厚度
double m_rotateAngle; //旋转角度
double m_laserPowerXDir; //激光功率
double m_laserPowerYDir;
double m_zeroPosX; //机床零点位置
double m_zeroPosY;
double m_platformLength; //工作台尺寸
double m_platformWidth;
double m_startPosX; //工作台起始位置
double m_startPosY;
//实体参数
double m_centerPosX; //零件中心位置
double m_centerPosY;
double m_startHeight; //起始高度
double m_endHeight; //终止高度
//基底参数
double m_height; //基底高度
//文档数据
CPathData* m_pPathData;
void OnProperties1();
void OnProperties();
CDocTemplate* m_pCurrentLayerViewDocTemplate;
CSlsApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSlsApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CSlsApp)
afx_msg void OnAppAbout();
afx_msg void OnSysSetting();
afx_msg void OnEntitySetting();
afx_msg void OnZero();
afx_msg void OnDebug();
afx_msg void OnBaseparmSetting();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void ReadIniFile( void );
void WriteIntoIniFile( void );
BOOL ProcessShellCommand(CCommandLineInfo& rCmdInfo);
protected:
void SetPartCenterPos( void );
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SLSPRJ_H__83B9791F_8F6E_11D1_9D8B_D6F3FE4E493C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -