From e15c4888f720b8781260b901ac82d058f8f7c3b5 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期三, 27 三月 2019 14:34:37 +0800 Subject: [PATCH] 移植nsq到项目中,将最短最长时长的参数修改成nsq配置 --- QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h index 3d6cd76..08de8ba 100644 --- a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h +++ b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h @@ -10,6 +10,7 @@ #include <map> #include <list> #include <opencv2/opencv.hpp> +#include <basic/util/app/AppPreference.hpp> //#include <basic/pipe/TimerElement.h> #include "YoloRpcElement.h" #include <QSharedMemory> @@ -54,7 +55,7 @@ class JudgmentRetrogradeTool : public basic::PipeElement{ public: - JudgmentRetrogradeTool():m_rpcClient("RtspAnalysServer", "127.0.0.1",10009,"tcp") {} + JudgmentRetrogradeTool():m_rpcClient("RtspAnalysServer", "127.0.0.1",appPref.getIntData("RpcVTIMPort"),"tcp") {} JudgmentRetrogradeTool(const SdkRule &rule); //JudgmentRetrogradeTool(const SdkRule &rule,SaveVideoRpcClient_t& rpcClient); -- Gitblit v1.8.0