增加CNC运行测试

This commit is contained in:
TAO Cheng
2013-07-11 22:08:30 +08:00
parent d5bfc97a9a
commit 2e237bf90f
43 changed files with 4393 additions and 48 deletions
@@ -0,0 +1,42 @@
#pragma once
#include <vector>
#include "CPOINT3.H"
#include "CMDDefines.h"
class CSO7_CMD
{
public:
CSO7_CMD();
CSO7_CMD(const CSO7_CMD& _CMD);
~CSO7_CMD() {}
CSO7_CMD& operator=(const CSO7_CMD& _CMD);
virtual CSO7_CMD* Copy() { return NULL; }
virtual void Init();
virtual int get_id() = 0;
virtual int get_type() = 0;
virtual void SaveCmd(CString _filename,int _savetype=0) = 0;
virtual void ReadCmd(CString _filename,int _savetype=0) = 0;
virtual void GetPoint(int type_of_point,
int theo_or_meas,
int coord_sys,
CSO7_CMD * align,
CPoint3 &out,
int workpl = 0) = 0;
virtual void PutPoint(int type_of_point,
int theo_or_meas,
int coord_sys,
CSO7_CMD * align,
CPoint3 &in_point,
int workpl = 0) =0;
public:
int m_ID;
};