基础代码更新

This commit is contained in:
rci
2024-09-27 15:54:51 +08:00
parent 845c8f3e7f
commit 4837ca2bde
293 changed files with 320 additions and 79155 deletions
@@ -1,4 +1,4 @@
# 获取获取当前目录名
# 获取获取当前目录名
get_filename_component(CURRENT_FOLDER ${CMAKE_CURRENT_SOURCE_DIR} NAME)
string(TIMESTAMP RUN_TIME)
message( " model start : " ${CURRENT_FOLDER}:${RUN_TIME})
@@ -145,7 +145,7 @@ bool connctDevice()
MV_CC_SetEnumValue(handle, "TriggerSource", MV_TRIGGER_SOURCE_SOFTWARE);
MV_CC_SetEnumValue(handle, "TriggerMode", MV_TRIGGER_MODE_ON);
// //加载用户集,相机设置应当UserSet1
//nRet = MV_CC_SetEnumValueByString(handle, "UserSetSelector", "UserSet1");
nRet = MV_CC_SetEnumValueByString(handle, "UserSetSelector", "UserSet1");
if (MV_OK != nRet)
{
qDebug() << "Set UserSetSelector fail! nRet " << nRet;
@@ -1,4 +1,4 @@
#ifndef Hd_CameraModule_HIK_soft_H
#ifndef Hd_CameraModule_HIK_soft_H
#define Hd_CameraModule_HIK_soft_H
#include <QtCore/qglobal.h>
+1 -1
View File
@@ -1,4 +1,4 @@
#ifndef __BASECLASS_H__
#ifndef __BASECLASS_H__
#define __BASECLASS_H__
#include <iostream>