46 lines
1.0 KiB
C++
46 lines
1.0 KiB
C++
#pragma once
|
|
#include "Scanner.h"
|
|
|
|
class RTC4Scanner : public Scanner
|
|
{
|
|
public:
|
|
RTC4Scanner(LaserCfg* cfg);
|
|
~RTC4Scanner();
|
|
bool Init();
|
|
bool StopWork();
|
|
static bool PreInit(unsigned int &card_count);
|
|
static int GetSerialNo(unsigned int no);
|
|
|
|
void SetK(double k) {
|
|
m_kfactor = k;
|
|
m_xfactor = m_kfactor*m_CorrectParamCfg->m_xcorrect;
|
|
m_yfactor = m_kfactor*m_CorrectParamCfg->m_ycorrect;
|
|
}
|
|
private:
|
|
void LoadList(unsigned int listid, bool wait);
|
|
void EndList();
|
|
void ListExecute(unsigned int listid, bool wait);
|
|
void AutoChangeList();
|
|
void WaitListFree();
|
|
|
|
void SetScanSpeed(double value);
|
|
void SetPower(double watt);
|
|
void SetDefocus(float value) {}
|
|
|
|
void AddVector(double startx, double starty, double endx, double endy);
|
|
void ListNop();
|
|
void JumpAbs(double x, double y);
|
|
void MarkAbs(double x, double y);
|
|
|
|
unsigned int GetMemorySize() { return m_list_memory; }
|
|
void ScanDebug();
|
|
void UpdateSetting();
|
|
void SetXyOffset(float x, float y);
|
|
void SetAngle(double angle);
|
|
|
|
void ScanTestProc();
|
|
|
|
|
|
};
|
|
|