public override string ToString() { return ("ComponentID: " + ComponentID.ToString() + "|" + "X: " + X.ToString() + "|" + "Y: " + Y.ToString() + "|" + "D: " + D.ToString() + "|" + "RefMaterial: " + RefMaterial + "|" + "IsActive: " + IsActive.ToString() + "|" + "IsDetailing: " + IsDetailing.ToString()); }
public IXEP_EmdElement CreateEmdElement() { IXEP_EmdElement elem = XEP_EmdFactrory.CreateEmdElement(); elem.Name = XEP_EmdNames.s_KeyStirrupBranch; foreach (var item in Points) { elem.Elements.Add(item.CreateEmdElement()); } elem.AddAttribute(XEP_EmdFactrory.CreateEmdAttribute(XEP_EmdNames.s_KeyStirrupIsActive, IsActive.ToString())); elem.AddAttribute(XEP_EmdFactrory.CreateEmdAttribute(XEP_EmdNames.s_KeyStirrupIsDetailing, IsDetailing.ToString())); elem.AddAttribute(XEP_EmdFactrory.CreateEmdAttribute(XEP_EmdNames.s_KeyStirrupIsTorsion, IsTorsion.ToString())); return(elem); }