public static adip Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient) { adip _adip = new adip(); _adip.m_rocrailClient = rocrailClient; _adip.m_id = (string)xml.Attribute("id"); _adip.m_title = (string)xml.Attribute("title"); Definitions.Tools.ParseList <dipgroup>(_adip.m_dipgrouplist, xml, "dipgroup", dipgroup.Parse, rocrailClient); return(_adip); }
public void Update(adip element) { if (element.m_id != null) { this.id = element.id; } if (element.m_title != null) { this.title = element.title; } this.dipgrouplist = element.dipgrouplist; }