|  |  |  | @ -105,13 +105,13 @@ object ParseHelper { | 
		
	
		
			
				|  |  |  |  |         val rangHex: String = HexUtils.byteArrToHex(it, 11, 11 + 2) | 
		
	
		
			
				|  |  |  |  |         val rangHexLong: Long = HexUtils.hexToLong(rangHex) | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |         LogUtils.w("receive msg 单位转换前 $type.desc, 浓度 = $value $unit") | 
		
	
		
			
				|  |  |  |  |         LogUtils.w("receive msg 单位转换前 $type, 浓度 = $value $unit") | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |         //根据单位进行数值转换 | 
		
	
		
			
				|  |  |  |  |         val localGasUnit = getLocalGasUnit(type.desc) | 
		
	
		
			
				|  |  |  |  |         if (localGasUnit != unit) { | 
		
	
		
			
				|  |  |  |  |             value = convertData(type, value, unit, localGasUnit) | 
		
	
		
			
				|  |  |  |  |             LogUtils.w("receive msg 单位转换后 $type.desc, 浓度 = $value $localGasUnit") | 
		
	
		
			
				|  |  |  |  |             LogUtils.w("receive msg 单位转换后 $type, 浓度 = $value $localGasUnit") | 
		
	
		
			
				|  |  |  |  |         } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |         // 插入 | 
		
	
	
		
			
				
					|  |  |  | 
 |