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.
27 lines
814 B
C++
27 lines
814 B
C++
#pragma once
|
|
#include "workcmd.h"
|
|
#include "Camera.h"
|
|
#include "Product.h"
|
|
|
|
|
|
//CCD 抓取定位点的指令
|
|
class CWorkCmdCameraCatch :public CWorkCmd
|
|
{
|
|
public:
|
|
CWorkCmdCameraCatch(CCamera &Camera);
|
|
~CWorkCmdCameraCatch(void);
|
|
virtual bool Excute();
|
|
virtual void WirteLog();
|
|
void SetProduct(CProduct &p){m_pProduct = &p;};
|
|
void SetResultVec(vector<Dbxy> &vec){m_pResultVec = &vec;};
|
|
void SetbCatchMark3(bool b){m_bCatchMark3 = b;};
|
|
void SetbAlam(bool b){m_bAlam = b;};
|
|
private:
|
|
CCamera &m_Camera;
|
|
bool m_bCatchMark3;//是否抓取的是mark3
|
|
bool m_bAlam;//是否报警提示
|
|
CProduct *m_pProduct;
|
|
vector<Dbxy> *m_pResultVec;//结果容器
|
|
};
|
|
|