mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +08:00
添加了位置定标程序 及位置移动相关程序源码
This commit is contained in:
63
othersoft/shuttercali/source_rlx/sensor/SensorQExPRO.h
Normal file
63
othersoft/shuttercali/source_rlx/sensor/SensorQExPRO.h
Normal file
@ -0,0 +1,63 @@
|
||||
#pragma once
|
||||
#pragma execution_character_set("utf-8")
|
||||
#include "SensorBase.h"
|
||||
enum EMQEType
|
||||
{
|
||||
QEPRO_QE=1,
|
||||
QE65PRO_QE=2,
|
||||
USB2000PLUS_QE =3,
|
||||
QE65000_QE = 4,
|
||||
NONQE=-1
|
||||
};
|
||||
class SensorQExPRO : public SensorBase
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SensorQExPRO(EMQEType qetype);
|
||||
~SensorQExPRO();
|
||||
bool initSensor(int id=0);
|
||||
void Settingshuttertime(float msc);
|
||||
//************************************
|
||||
// Method: SettingTemprature <20><><EFBFBD><EFBFBD><EFBFBD>¶<EFBFBD>
|
||||
// FullName: SensorBase::SettingTemprature
|
||||
// Access: virtual public
|
||||
// Returns: void
|
||||
// Qualifier:
|
||||
// Parameter: float temp
|
||||
//************************************
|
||||
void SettingTemprature(float temp);
|
||||
STRSensorInfo GetSensorInfo() ;
|
||||
void SettingShutterOpen(bool isopen);
|
||||
//************************************
|
||||
// Method: SettingSwitchShutter skyΪright
|
||||
// FullName: SensorQExPRO::SettingSwitchShutter
|
||||
// Access: public
|
||||
// Returns: void
|
||||
// Qualifier:
|
||||
// Parameter: bool isright skyΪright
|
||||
//************************************
|
||||
void SettingSwitchShutter(bool isright);
|
||||
void GetOnePlot(STROnePlot &OnePlot, bool Dark=false);
|
||||
float GettingTempratrue();
|
||||
void CloseSensor();
|
||||
void GetOneDark(STROnePlot &darkplot);
|
||||
EMQEType QEType;
|
||||
private:
|
||||
|
||||
long *Device_ids;
|
||||
long DeviceId;
|
||||
int ERR = 0;
|
||||
int FLAG = 0;
|
||||
unsigned char *OutputMod, *Shuteroncom, *Shuteroffcom;
|
||||
long Numberoftempratrue;
|
||||
long *TemPratrueId;
|
||||
long *SpecMetersId;
|
||||
EMQEType getEMUbyQstring(QString str);
|
||||
|
||||
void SetQEProShutter(bool isopen);
|
||||
float shuttertime;
|
||||
;
|
||||
|
||||
|
||||
};
|
Reference in New Issue
Block a user