You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TwoLaserHead-PushJig/LaiPuLaser/DeviceCut.h

31 lines
982 B
C++

#pragma once
#include "Module.h"
#include "EnumPropertieType.h"
#include "WorkCmdInvoker.h"
#include "ObjContainer.h"
class CDeviceCut :public CModule
{
public:
CDeviceCut(void);
virtual ~CDeviceCut(void);
virtual CMFCPropertyGridProperty *CreatGridProperty();
virtual void ExportPar(ofstream *pFile);
virtual MODULE GetModuleType(){return _TOOL_CUT_PROP;};
virtual void InitializeDevice(){};//设备初始化
virtual void Work(bool bSimulate){};
void StartWork();//启动正常工作
void StartSimulateWork();//启动模拟工作
void SetPrepareState(bool b);//设置设备的准备状态
bool GetPrepareState();
void GetPointData(CObjContainer &ObjContainer,vector<Dbxy> &vec);
protected:
int m_DelayAfterOpenLaser;//开激光前延时(毫秒)
int m_DelayAfterCloseLaser;//关激光后延时(毫秒)
bool m_bPrepareState;//设备的准备状态(等于FALSE 的时候不能使用某些功能)
};