protected override void SetAttribute() { base.SetAttribute(); EleInfo.SetAttribute(this.PartTag); AttributeUtils.AttributeOperation("Matrx4", Matrx4ToString(this.EleMatr), this.PartTag); AttributeUtils.AttributeOperation("WorkNumber", this.WorkNumber, this.PartTag); }
protected override void SetAttribute() { base.SetAttribute(); EleInfo.SetAttribute(this.PartTag); string temp = EleInfo.Preparation[0].ToString() + "*" + EleInfo.Preparation[1].ToString() + "*" + EleInfo.Preparation[2].ToString(); AttributeUtils.AttributeOperation("StrPre", temp, this.PartTag); }
protected override void GetAttribute(Part part) { base.GetAttribute(part); EleInfo.GetAttribute(part); string[] temp = new string[4]; for (int i = 0; i < 4; i++) { temp[i] = AttributeUtils.GetAttrForString(part, "Matrx4", i); } this.EleMatr = StringToMatrx4(temp); this.WorkNumber = AttributeUtils.GetAttrForInt(part, "WorkNumber"); }
protected override void GetAttribute(Part part) { base.GetAttribute(part); EleInfo.GetAttribute(part); }