private void setEQUIPMENT() { EquipmentShow s = new EquipmentShow(); s = BUS_EquipmentData.Instance.BUS_getEquipmentByIDEquipment(equipmentid); txtMaThietBi.Text = s.equipmentID; txtTenThietBi.Text = s.equipmentName; cbbPhongHoc.Text = s.roomID; txtCongTy.Text = s.company; dateTimePicker_Ngaydat.Value = s.dateOfInstallation; }
/// <summary> /// 初始化技能对象属性 /// </summary> public void Init(Role role) { this.role = role; this.animator = role.GetComponent <Animator>(); this.skill = role.GetComponent <SkillSystem>(); this.Name = GetName(); this.Id = GetId(); this.Cd = GetCd(); this.SkillType = GetSkillType(); this.Hp = GetHp(); this.Mp = GetMp(); this.attackLock = role.GetComponent <AttackLock>(); this.equipmentShow = role.GetComponent <EquipmentShow>(); this.TimeNodeList = new List <TimeNode>(); Effect_Init(); }