| 
					
				 | 
			
			
				@@ -120,9 +120,12 @@ namespace o0.Project 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     subList.Add(new SubLineData(gradChangeData[i], newDiff)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 diff = newDiff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            int maxDiffIndex = -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (subList.Count >= 3)  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                maxDiffIndex = subList.MaxIndex((a, b) => a.GetDiffExtent().CompareTo(b.GetDiffExtent()));      // 找到分段里和平均数差异最大的分段,计算数据幅度的时候不计入 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int maxDiffIndex = subList.MaxIndex((a, b) => a.GetDiffExtent().CompareTo(b.GetDiffExtent()));  // 找到分段里和平均数差异最大的分段 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //TODO 这里要不要考虑加个阈值,过滤掉梯度太小的线条? ----------------------------------- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (subList.Count < 3) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                maxDiffIndex = -1;  // ≥3的时候把DiffExtent最高的这段剔除掉再计算 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var lineGuessExtent = 0.0f; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (int i = 0; i < subList.Count; i++) 
			 |