
//发送	
FuncReq10 = function(Addr,num){
	if(num >= 1 && num <= 3){
		var data = {0x02,0x10,num,0,0,0,0,0};
		if(Addr == true){
			CANHw.SendMsg(DiagGloableID,data);
		}
		else {
			CANHw.SendMsg(DiagReqID,data);
		}
		
		
	}
	
}
//接收
FuncDiag10Pro = function(data){
	//console.dumpJson(data);
	select(data[1]) {
		case 1 {
			FuncDisplay("进入默认会话成功")
		}
		case 2 {
			FuncDisplay("进入编程会话成功")
		}
		case 3 {
			FuncDisplay("进入扩展会话成功")
		}
		else {
		}
	}
}
