add
支持corning 410,并添加配置文件
This commit is contained in:
@ -45,6 +45,36 @@ public:
|
||||
bool createConfigFile();
|
||||
bool updateConfigFile();
|
||||
|
||||
private:
|
||||
string m_configfilePath;
|
||||
Config cfg;
|
||||
};
|
||||
|
||||
class CorningConfigfile
|
||||
{
|
||||
public:
|
||||
CorningConfigfile();
|
||||
void setConfigfilePath(string configfilePath);
|
||||
bool isConfigfileExist();
|
||||
bool parseConfigfile();
|
||||
|
||||
bool getSpectralBin(int& spectralBin);
|
||||
bool getspatialBin(int& spatialBin);
|
||||
bool getEffectiveWindow(int& width, int& offsetx, int& height, int& offsety);
|
||||
bool getEffectiveWindowRoi(int& width, int& offsetx);
|
||||
bool getWindowOffsety_HeightOfSpectral(int& offsety, int& height, string spectralBinString);//spectralBinString = "bin1"<22><><EFBFBD>ߡ<EFBFBD>bin2<6E><32>
|
||||
bool getGainOffset(float& gain, float& offset);
|
||||
bool getGainOffsetOfSpectralBin1(float& gain, float& offset);
|
||||
bool getSN(QString& SN);
|
||||
|
||||
bool getBufferPolicy(int& bufferPolicy);
|
||||
bool getAcqBufferSize(int& acqBufferSize);
|
||||
|
||||
bool getPushFlowParam(int& flowSwitch, int& rgbHeight, int& framerateVideo);
|
||||
|
||||
bool createConfigFile();
|
||||
bool updateConfigFile();
|
||||
|
||||
private:
|
||||
string m_configfilePath;
|
||||
Config cfg;
|
||||
|
||||
Reference in New Issue
Block a user