升级到c++11,在存图文件夹不存在时自动创建,修复大量以byte为变量名的问题

This commit is contained in:
rci
2024-09-30 15:36:39 +08:00
parent ddde443cc9
commit a90d0d2471
45 changed files with 833 additions and 203 deletions
@@ -315,7 +315,7 @@ bool Logic_hdataintegration::triggerConditionList()
//or检测:保存路径,拍照面描述,相机key_第几张图,SN_时间戳
//and检测:保存路径,拍照面描述,相机key_第几张图,相机key_第几张图,SN_时间戳,SN_时间戳
//汇总:保存路径,触发信号_序号列表0,,SN_时间戳
detectData.byte = reaultDir.toLocal8Bit();// encodeData(vector_byte); // 结果汇总的数据编码
detectData.byteArray = reaultDir.toLocal8Bit();// encodeData(vector_byte); // 结果汇总的数据编码
detectData.dstImageMat = vector_mats; // 不做图片汇总
detectData.Surface = Surface;
algorithmData->addDetectData(detectData);
@@ -356,7 +356,7 @@ bool Logic_hdataintegration::triggerConditionList()
if (or_conditionFlag == false)
continue;
// 提取图片和数据
QByteArray byte; // 传递算法数据的暂时做保留
QByteArray byteArray; // 传递算法数据的暂时做保留
QStringList index_list;
HCameraData* camera_ptr = station_list.value(m_stationKey)->getCameraData(key);
/* stop = clock();
@@ -414,7 +414,7 @@ bool Logic_hdataintegration::triggerConditionList()
else
reaultDir += ",errSN_errDataTime";
detectData.byte = reaultDir.toLocal8Bit();// encodeSnData(vec_snData); //type:3;len:数据长度;data:数据内容(SN+时间戳)
detectData.byteArray = reaultDir.toLocal8Bit();// encodeSnData(vec_snData); //type:3;len:数据长度;data:数据内容(SN+时间戳)
//detectData.SN_dataTime = vec_snData; //可以用.byte来解析
detectData.Surface = m_cameraData.Surface;
algorithmData->addDetectData(detectData);