From 93fcc2eb2db5038ca1944acde9f4c8b751aca930 Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期一, 04 三月 2019 16:27:14 +0800
Subject: [PATCH] add models, daos and controllers for tables.

---
 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..e48fda6 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("RpcServerPort"),"tcp") {}
 
     JudgmentRetrogradeTool(const SdkRule &rule);
     //JudgmentRetrogradeTool(const SdkRule &rule,SaveVideoRpcClient_t& rpcClient);

--
Gitblit v1.8.0