mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-22 20:49:43 +08:00
31 lines
737 B
C
31 lines
737 B
C
|
#pragma once
|
||
|
#include "ZZ_Types.h"
|
||
|
using namespace ZZ_MISCDEF;
|
||
|
using namespace ZZ_MISCDEF::ATP;
|
||
|
|
||
|
class ZZ_ATPControl_Serial_Qt
|
||
|
{
|
||
|
public:
|
||
|
ZZ_ATPControl_Serial_Qt();
|
||
|
virtual ~ZZ_ATPControl_Serial_Qt();
|
||
|
|
||
|
public:
|
||
|
int ATPInitialize( ZZ_U8 usIndex);
|
||
|
int ATPClose();
|
||
|
|
||
|
int SingleShot(ATPDataFrame &dfData);
|
||
|
int SingleShotDark(ATPDataFrame &dfData);
|
||
|
int SingleShotDeducted(ATPDataFrame &dfData);
|
||
|
|
||
|
int SetExposureTime(int iExposureTimeInMS);
|
||
|
|
||
|
int GetWaveLength(float *pfWaveLength);
|
||
|
int GetAttribute();
|
||
|
int GetDeviceListInfo(); //use type name to enum
|
||
|
int GetDeviceTemperature(float &fTemperature);
|
||
|
|
||
|
int PerformAutoExposure(float fMinScaleFactor, float fMaxScaleFactor, float &fPredictedExposureTime);
|
||
|
|
||
|
private:
|
||
|
int SendCommand();
|
||
|
};
|