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

---
 QiaoJiaSystem/VideoAnalysFromHC/main.cpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp
index 0f695e3..a82bf09 100644
--- a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp
+++ b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp
@@ -71,9 +71,14 @@
         ENABLEGLOG(GET_STR_CONFIG("logPath").c_str());
 #endif
 
-    appPref.setLongData("gpu.index", 1);
+    appPref.setLongData("gpu.index", 0);
     appPref.setIntData("show.image", 0);
 
+    //todo
+    appPref.setIntData("CamStart", atoi(argv[1]));
+    appPref.setIntData("CamStep", atoi(argv[2]));
+    appPref.setIntData("RpcServerPort",atoi(argv[3]));
+
     //#todo get from config File
 //    appPref.setStringData("ipAdd", "192.168.1.185");
 //    appPref.setIntData("ipPort", 9200);

--
Gitblit v1.8.0