新增CCS-PRIMA使能参数设置。
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
//--------------------------------------------------------------------
|
||||
cAcqEasy::cAcqEasy(MCHR_ID SensorID)
|
||||
{
|
||||
#ifdef _RELEASE_FULL_VERSION
|
||||
|
||||
DWORD dwThreadId = 0;
|
||||
int nIndex = 0, idx = 0, jdx = 0;
|
||||
UNREFERENCED_PARAMETER(jdx);
|
||||
@@ -52,10 +54,16 @@ cAcqEasy::cAcqEasy(MCHR_ID SensorID)
|
||||
ZeroMemory(&m_acqParam, sizeof(MCHR_tyAcqParam));
|
||||
//open process thread
|
||||
hThread = ::CreateThread(0, 0, ProcessThread, LPVOID(this), 0, &dwThreadId);
|
||||
#else
|
||||
UNREFERENCED_PARAMETER(SensorID);
|
||||
#endif //_RELEASE_FULL_VERSION
|
||||
|
||||
}
|
||||
//--------------------------------------------------------------------
|
||||
cAcqEasy::~cAcqEasy()
|
||||
{
|
||||
#ifdef _RELEASE_FULL_VERSION
|
||||
|
||||
int nIndex = 0;
|
||||
|
||||
//close process thread
|
||||
@@ -88,7 +96,10 @@ cAcqEasy::~cAcqEasy()
|
||||
}
|
||||
}
|
||||
_ReleaseAcqBuffer(m_acqEasyParam.NumberOfBuffers);
|
||||
#endif //_RELEASE_FULL_VERSION
|
||||
|
||||
}
|
||||
#ifdef _RELEASE_FULL_VERSION
|
||||
//-------------------------------------------------------------------------------------------------
|
||||
void cAcqEasy::_ReleaseAcqBuffer(int NumberOfBuffers)
|
||||
{
|
||||
@@ -2653,3 +2664,4 @@ bool cAcqEasy::GetSpectrumAcquisition(unsigned short *pSpectrum, unsigned short
|
||||
return(ret);
|
||||
}
|
||||
//--------------------------------------------------------------------
|
||||
#endif //_RELEASE_FULL_VERSION
|
||||
|
||||
Reference in New Issue
Block a user