浏览代码

1.0.8.734滤波放开限制。

git-svn-id: https://202.107.226.68:8443/svn/Services/ResistanceMonitor@4 a05970a1-87b9-9d4f-9ee5-fa77e2ec115b
shenchunzhong 1 年之前
父节点
当前提交
cfbcafef97
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      4.Data/HttpPrcess.cpp
  2. 二进制
      4.Data/TimeSyncServer.rc

+ 2 - 2
4.Data/HttpPrcess.cpp

@@ -1778,8 +1778,8 @@ int DealGetResistData(const httplib::Request& req, const string token, char** js
 	if (mo.length() == 0 || mp.length() == 0 || starttime.length() == 0 || endtime.length() == 0)
 		return 400;
 	if (threshold.empty() == false) nThreshold = atoi(threshold.c_str());
-	if (nThreshold < 30) nThreshold = 30; 
-	if (nThreshold > 500) nThreshold = 500;
+	//if (nThreshold < 30) nThreshold = 30; 
+	//if (nThreshold > 500) nThreshold = 500;
 	COleDateTime odtStart, odtEnd;
 	try
 	{

二进制
4.Data/TimeSyncServer.rc