Browse Source

modify algo

researchman 7 years ago
parent
commit
1586128181
3 changed files with 4 additions and 3 deletions
  1. 1 1
      SysSetting.cpp
  2. 1 0
      SysSetting.h
  3. 2 2
      classdef.cpp

+ 1 - 1
SysSetting.cpp

@@ -11,7 +11,7 @@
 
 IMPLEMENT_DYNAMIC(CSysSetting, CDialogEx)
 
-	CSysSetting::CSysSetting(CWnd* pParent /*=NULL*/)
+CSysSetting::CSysSetting(CWnd* pParent /*=NULL*/)
 	: CDialogEx(CSysSetting::IDD, pParent)
 	, m_host_master(_T(""))
 	, m_recon_server(0)

+ 1 - 0
SysSetting.h

@@ -27,6 +27,7 @@ public:
 	int m_reader_lost;
 	int m_card_lost;
 	int m_timing_interval;
+	int m_port;
 	double m_coor_error;
 	double m_ranging_error;
 	double m_move_error;

+ 2 - 2
classdef.cpp

@@ -1921,9 +1921,9 @@ void Card::get_coordinate( int cnt )
 #ifdef ALGORITHM_TOF
 	algo_tof(cnt);
 #elif defined ALGORITHM_TYPE_TDOA
-	algo_tdoa(cnt);
+	//algo_tdoa(cnt);
 	int ret = 0;
-	//ret = algo_tdoa_1d(cnt);
+	ret = algo_tdoa_1d(cnt);
 	//algo_tdoa_2d(cnt);
 #else