|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "module.h"
|
|
|
|
|
|
|
|
|
|
#import "marking_scan.dll"
|
|
|
|
|
using namespace marking_scan;
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
enum LASER_TYPE
|
|
|
|
|
{
|
|
|
|
|
_LAMP = 0, //<2F>Ʊ<EFBFBD>
|
|
|
|
|
_FIBER, //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
_CO2, //co2
|
|
|
|
|
_DIODE, //<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
_ENDDIODE, //<2F>˱<EFBFBD>
|
|
|
|
|
_FIBER_CL, //ipg<70><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>VB д<><D0B4>dll <20>ṩ<EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>
|
|
|
|
|
class CLaipuVbDllMgr
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CLaipuVbDllMgr(void);
|
|
|
|
|
~CLaipuVbDllMgr(void);
|
|
|
|
|
virtual void Ini();
|
|
|
|
|
void VbIniCard(short low,short High);
|
|
|
|
|
_marking_scan_dll *GetCom();
|
|
|
|
|
void MarkingStart();
|
|
|
|
|
void MarkingStop();
|
|
|
|
|
void Marking_DA(double V,short XY);
|
|
|
|
|
void CallMarkingEnd(long fileno,long fileAll,long MarkM,long m_sel,long head,SAFEARRAY * psa);
|
|
|
|
|
void CallMarkingData(vector<vector<Dbxy>> &vec);
|
|
|
|
|
SAFEARRAY * CreatSafeArray(vector<double> &vec);
|
|
|
|
|
private:
|
|
|
|
|
SAFEARRAY * CreatSafeArray(vector<vector<Dbxy>> &vec);
|
|
|
|
|
int CalElementsCnt(vector<vector<Dbxy>> &vec);
|
|
|
|
|
int CalElementsCnt(vector<double> &vec);
|
|
|
|
|
private:
|
|
|
|
|
int m_bIni;//<2F>Ƿ<EFBFBD><C7B7><EFBFBD>ʼ<EFBFBD><CABC>
|
|
|
|
|
_marking_scan_dll *pMarkingScanCom;//<2F><><EFBFBD><EFBFBD>dll <20><><EFBFBD><EFBFBD>com <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
|
|
|
|
|
};
|
|
|
|
|
extern CLaipuVbDllMgr *gLaipuVbDllMgr;
|