programadoc.h

来自「CAM控制软件源代码 非常好的一个程序」· C头文件 代码 · 共 77 行

H
77
字号
// ProgramaDoc.h : interface of the CProgramaDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROGRAMADOC_H__92E8D2B7_F1DE_4D80_8896_64FA729FDCFA__INCLUDED_)
#define AFX_PROGRAMADOC_H__92E8D2B7_F1DE_4D80_8896_64FA729FDCFA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CProgramaDoc : public CDocument
{
protected: // create from serialization only
	CProgramaDoc();
	DECLARE_DYNCREATE(CProgramaDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProgramaDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	double XPos,YPos;
	int nl, kn, material, materialf;
	int presentar, simular, cargarTor, cargarFre, torno, fresa,rpm ,velocidad;//flags
	int cuchilla, broca, Inicio;
	char linea[5000][40];
	double x[5000], y[5000], z[5000], sumz;
	double diametro, largo, altof, anchof, largof;

//Cuchillas
	double acNo1,angcNo1,ang2cNo1,ANo1,altcNo1;
	double diamBro,larBro;


	virtual ~CProgramaDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CProgramaDoc)
	afx_msg void OnFileOpen();
	afx_msg void OnSimulacionEjecutar();
	afx_msg void OnSimulacinDuracinTiempousuario();
	afx_msg void OnHerramientaCuchilla();
	afx_msg void OnHerramientaPosicin();
	afx_msg void OnHerramientaBroca();
	afx_msg void OnPiezaCargartochoEneltorno();
	afx_msg void OnPiezaCargartochoEnlafresa();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROGRAMADOC_H__92E8D2B7_F1DE_4D80_8896_64FA729FDCFA__INCLUDED_)

⌨️ 快捷键说明

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