29 lines
719 B
C++
29 lines
719 B
C++
#include <appconfigStruct.h>
|
|
class appConfig
|
|
{
|
|
public:
|
|
|
|
sqlManager _sqlManager;//储存产品信息用
|
|
appConfig()
|
|
{
|
|
parsingGlobalData();
|
|
_sqlManager.initialization(this);
|
|
|
|
}
|
|
switchProductWidgetDataPtr _switchProductWidgetDataPtr;
|
|
_952BiaoDingSwitchData __952BiaoDingSwitchData;
|
|
std::string softwareTile;//软件标题
|
|
std::string imgSavePath;//原图存储路径
|
|
std::string oriImgSavePath;//原图存储路径
|
|
std::string resImgSavePath;//结果图存储路径
|
|
std::string handleAiModelPath;//模型路径
|
|
void parsingGlobalData();
|
|
|
|
triggerStruct _triggerStruct;
|
|
std::vector< cameraStruct> _cameraStructs;
|
|
sqlConfigStruct _sqlConfigStruct;
|
|
|
|
std::mutex productDatasMutex;
|
|
std::vector<productDataStruct>productDatas;
|
|
};
|
|
#pragma once |