| 
						
						
							
								
							
						
						
					 | 
					@ -12,7 +12,6 @@ import ( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						"math" | 
					 | 
					 | 
						"math" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						"strconv" | 
					 | 
					 | 
						"strconv" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						"strings" | 
					 | 
					 | 
						"strings" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						"time" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					) | 
					 | 
					 | 
					) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					// Adaptor_ZWYES_HBGL 知物云的测点数据 同步到 河北省公路基础设施健康监测平台
 | 
					 | 
					 | 
					// Adaptor_ZWYES_HBGL 知物云的测点数据 同步到 河北省公路基础设施健康监测平台
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -109,7 +108,8 @@ func (the Adaptor_ZWYES_HBGL) getMonitorTypeByFactorId(factorId int) protoFiles_ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					func (the Adaptor_ZWYES_HBGL) EsAgg2StatisticData(factorId int, monitorCode int64, dateBucket HBJCAS.BucketsXY) *protoFiles_hb.DataDefinition_StatisticData { | 
					 | 
					 | 
					func (the Adaptor_ZWYES_HBGL) EsAgg2StatisticData(factorId int, monitorCode int64, dateBucket HBJCAS.BucketsXY) *protoFiles_hb.DataDefinition_StatisticData { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
						Atime := dateBucket.KeyAsString.Add(-8 * time.Hour).UnixMilli() | 
					 | 
					 | 
						//Atime := dateBucket.KeyAsString.Add(-8 * time.Hour).UnixMilli()
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						Atime := dateBucket.KeyAsString.UnixMilli() | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						maxAbsoluteValueX := max(math.Abs(dateBucket.X.Max), math.Abs(dateBucket.X.Min)) | 
					 | 
					 | 
						maxAbsoluteValueX := max(math.Abs(dateBucket.X.Max), math.Abs(dateBucket.X.Min)) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						avgValueX := dateBucket.X.Avg | 
					 | 
					 | 
						avgValueX := dateBucket.X.Avg | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						rootMeanSquareX := math.Sqrt(dateBucket.X.SumOfSquares / float64(dateBucket.X.Count)) | 
					 | 
					 | 
						rootMeanSquareX := math.Sqrt(dateBucket.X.SumOfSquares / float64(dateBucket.X.Count)) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |