public void refreshInfo(HeroData data)
	{
		if (null == data)
			return;
		setTempDefaultVal (data.level, data.exp);

		Icon.spriteName = data.icon_middle;
		setStar (data.starLevel, data.activate);
		setCountry (data.property.country, data.name);
		setAtkIcon (data.heroType, data.activate);
		if(LevelNum != null) LevelNum.text = "Lv." + data.level;
		if(RealmLevel != null) RealmLevel.text = "+"+data.realmList.curRealmLevel;
		if(HelpIcon != null)HelpIcon.gameObject.SetActive(false);
		if(FightIcon != null)FightIcon.gameObject.SetActive(false);
		if(data.battle >= 0 && data.battle < 3)
		{
			if(FightIcon != null)
				FightIcon.gameObject.SetActive(true);
		}
		else if(data.battle >= 3)
		{
			if(HelpIcon != null)
				HelpIcon.gameObject.SetActive(true);
		}
		if (FightPowerLabel != null)
			FightPowerLabel.text = ""+data.calcFight ();
//
//		if(data.activate)
//		{
//			if(LvBar != null)
//				LvBar.gameObject.SetActive(true);
//			if(debirsBar != null)
//				debirsBar.gameObject.SetActive(false);
//			updateLvBar(data);
//		}
//		else 
//		{
			if(LvBar != null)
				LvBar.gameObject.SetActive(false);
			if(debirsBar != null)
				debirsBar.gameObject.SetActive(true);
			updateDebrids(data);
//		}

	}