1.gps模块功能编写
This commit is contained in:
@ -54,8 +54,10 @@ namespace ZZ_MISCDEF
|
||||
|
||||
enum DeviceModel
|
||||
{
|
||||
OSIFAlpha=0,
|
||||
OSIFAlpha = 0,
|
||||
OSIFBeta,
|
||||
FLAME,
|
||||
QEP,
|
||||
ISIF,
|
||||
IS1,
|
||||
IS2
|
||||
@ -69,6 +71,8 @@ namespace ZZ_MISCDEF
|
||||
{
|
||||
case DeviceModel::OSIFAlpha: return "OSIFAlpha"; break;
|
||||
case DeviceModel::OSIFBeta: return "OSIFBeta"; break;
|
||||
case DeviceModel::FLAME: return "FLAME"; break;
|
||||
case DeviceModel::QEP: return "QEP"; break;
|
||||
case DeviceModel::ISIF: return "ISIF"; break;
|
||||
case DeviceModel::IS1: return "IS1"; break;
|
||||
case DeviceModel::IS2: return "IS2"; break;
|
||||
@ -86,6 +90,15 @@ namespace ZZ_MISCDEF
|
||||
{
|
||||
return DeviceModel::OSIFBeta;
|
||||
}
|
||||
else if (strDeviceModelName == "FLAME")
|
||||
{
|
||||
return DeviceModel::FLAME;
|
||||
}
|
||||
else if (strDeviceModelName == "QEP")
|
||||
{
|
||||
return DeviceModel::QEP;
|
||||
}
|
||||
|
||||
else if (strDeviceModelName == "ISIF")
|
||||
{
|
||||
return DeviceModel::ISIF;
|
||||
@ -200,6 +213,21 @@ namespace ZZ_MISCDEF
|
||||
float fWavelength[MAX_DEVICENUMBER_FS][4096];
|
||||
}FSContext;
|
||||
|
||||
typedef struct tagOneFiberSpecContext
|
||||
{
|
||||
ZZ_U8 ucDeviceNumber = 1;
|
||||
ZZ_U8 ucDeviceModel;
|
||||
std::string strInterface;
|
||||
std::string strSN;
|
||||
long lDepth;
|
||||
float fMinFactor;
|
||||
float fMaxFactor;
|
||||
ZZ_U16 usPixels;
|
||||
float fWavelength[4096];
|
||||
double dMinSamplingInterval;//in millisec
|
||||
}OneFSContext;
|
||||
|
||||
|
||||
typedef struct tagLinearShutterContext
|
||||
{
|
||||
std::string strInterface;
|
||||
@ -207,6 +235,7 @@ namespace ZZ_MISCDEF
|
||||
ZZ_U8 ucCmdID;
|
||||
}LSContext;
|
||||
|
||||
|
||||
typedef struct tagAcquisitionTimeSettings
|
||||
{
|
||||
QTime qtStartTime;
|
||||
@ -345,5 +374,12 @@ namespace ZZ_MISCDEF
|
||||
{
|
||||
QString qstrInterfaceName;
|
||||
}HumitureDeviceInfo;
|
||||
|
||||
|
||||
typedef struct tagGPSDeviceInfo
|
||||
{
|
||||
QString qstrInterfaceName;
|
||||
int iBaud;
|
||||
}GPSInfo;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user