| 
					
				 | 
			
			
				@@ -153,7 +153,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				// console.log(_self.BLEConnectDevice); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				//如果连接了蓝牙设备是手柄 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if (_self.BLEConnectDevice && _self.BLEConnectDevice.deviceType == "BLEHandle") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if (_self.BLEConnectDevice && ( _self.BLEConnectDevice.deviceType == "BLEHandle" || _self.BLEConnectDevice.deviceType == "BLEIntelligent")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//开启设备回调 3/4关闭 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					_self.onWriteBLEConnectionValue({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						value: "4" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -215,7 +215,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			...mapMutations(['addlocalCalorie', 'syncRequestEvent', 'onWriteBLEConnectionValue', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				'gCreateFilterObj', 'gUpdateFilter', 'B_OpenRopeSkipping', 'B_CloseRopeSkipping', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				'gStopSimulateBLEUpdate', 'gStartSimulateBLEUpdate', 'gUpdateSandbagAlgorithm', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				'gStopSimulateBLEUpdate', 'gStartSimulateBLEUpdate', 'gIntelligentUpdateSandbagAlgorithm', 'gUpdateSandbagAlgorithm', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				'gCreateSandbagAlgorithm', 'onConvertDeviceData', 'addSandbagHitCount', 'uploadUserData_hitCount', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				'jumpIdenModule_onJump6AxisDataUpdate' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			]), 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -322,8 +322,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					let calorieParams = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						hitUnit: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						runUnit:puchConfig.getRunCalorie(1), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						jumpUnit:puchConfig.getJumpCalorie(1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						runUnit: puchConfig.getRunCalorie(1), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						jumpUnit: puchConfig.getJumpCalorie(1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (this.BLEConnectDevice) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -350,7 +350,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							ename: this.ConnectBindingDevice.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							name: this.ConnectBindingDevice.name 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						calorieParams.hitUnit=puchConfig.getBoxingCalorie(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						calorieParams.hitUnit = puchConfig.getBoxingCalorie(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//到时候可能要区分是什么类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					let item = { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -629,7 +629,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (!this.BLEConnectDevice) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//用设备来区分,开启什么加速计; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if (this.BLEConnectDevice.deviceType == "BLEHandle") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if (this.BLEConnectDevice.deviceType == "BLEHandle" || this.BLEConnectDevice.deviceType == 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						"BLEIntelligent") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						//处理蓝牙设备情况下 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						//开启设备回调 3/4关闭 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						this.onWriteBLEConnectionValue({ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -700,7 +701,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if (this.BLEConnectDevice && this.BLEConnectDevice.deviceType == "BLEHandle") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if (this.BLEConnectDevice && (this.BLEConnectDevice.deviceType == "BLEHandle" || this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							.BLEConnectDevice.deviceType == "BLEIntelligent")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						//开启设备回调 3/4关闭 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						this.onWriteBLEConnectionValue({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							value: "4" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -858,10 +860,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									ename: res.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									value: res.hit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									mass: 10, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									hitPower: res.hit ,//计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									hitPower: res.hit, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									sendType:"ConnectBindingDevice", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									type:"none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									sendType: "ConnectBindingDevice", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									type: "none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								this.sendMessage("onBoxingPostHit", temp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -886,33 +888,65 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						bLimitRebound: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} else if (this.BLEConnectDevice.usageMode == "hotman") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					//hotman 沙袋情景 todo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.gUpdateSandbagAlgorithm({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						data: data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						callback: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							// console.log(res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							if (res.type == 'hit') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								// console.log('gUpdateFilter callback:',res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								//记录打击次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								this.addSandbagHitCount({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									count: 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								let temp = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									direction: res.direction, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									angle: res.angle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									name: res.name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									ename: res.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									value: res.hit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									mass: 10, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									hitPower: res.hit ,//计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									sendType:"hotman", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									type:"none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if(this.BLEConnectDevice.deviceType == "BLEIntelligent"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						//智能hotman 沙袋情景 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						this.gIntelligentUpdateSandbagAlgorithm({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							data: data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							callback: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								// console.log(res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								if (res.type == 'hit') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									// console.log('gUpdateFilter callback:',res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									//记录打击次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									this.addSandbagHitCount({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										count: 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									let temp = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										direction: res.direction, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										angle: res.angle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										name: res.name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										ename: res.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										value: res.hit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										mass: 10, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										hitPower: res.hit, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										sendType: "hotman", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										type: "none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									this.sendMessage("onBoxingPostHit", temp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								this.sendMessage("onBoxingPostHit", temp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						//hotman 沙袋情景 todo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						this.gUpdateSandbagAlgorithm({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							data: data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							callback: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								// console.log(res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								if (res.type == 'hit') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									// console.log('gUpdateFilter callback:',res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									//记录打击次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									this.addSandbagHitCount({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										count: 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									let temp = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										direction: res.direction, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										angle: res.angle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										name: res.name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										ename: res.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										value: res.hit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										mass: 10, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										hitPower: res.hit, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										sendType: "hotman", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										type: "none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									this.sendMessage("onBoxingPostHit", temp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} else if (this.BLEConnectDevice.usageMode == "ropeSkipping") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//跳绳蓝牙反馈 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					this.onBLERopeUpdate(data); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -982,10 +1016,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					ename: ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					value: direValue, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					mass: this.mass, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					hitPower: power ,//计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					hitPower: power, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					sendType:"BindBoxingPost", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					type:"none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					sendType: "BindBoxingPost", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					type: "none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.sendMessage("onBoxingPostHit", temp); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1011,10 +1045,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						ename: "hit", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						value: e.acc, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						mass: e.mass, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						hitPower: e.power ,//计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						hitPower: e.power, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						sendType:"EquipmentActionObj", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						type:"none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						sendType: "EquipmentActionObj", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						type: "none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					this.sendMessage("onBoxingPostHit", temp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1034,10 +1068,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						ename: "hit", //this.BLEConnectDevice.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						value: 10, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						mass: 10, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						hitPower: 10 ,//计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						hitPower: 10, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						sendType:"ActionJumpObj", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						type:"none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						sendType: "ActionJumpObj", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						type: "none" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (e.type == 'stateDataOfJump') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						// console.log("game stateDataOfJump"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1072,11 +1106,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									ename: "hit", //this.BLEConnectDevice.ename, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									value: 0, // 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									mass: 0, //质量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									hitPower: 0 ,//计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									hitPower: 0, //计算的力 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									//新增类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									sendType:"RopeSkipping", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									type:"none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									angle:res.tag, //返回一个 tag方向 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									sendType: "RopeSkipping", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									type: "none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									angle: res.tag, //返回一个 tag方向 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								switch (res.tag) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									case 0: 
			 |