public static actioncond Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient) { actioncond _actioncond = new actioncond(); _actioncond.m_rocrailClient = rocrailClient; _actioncond.m_id = (string)xml.Attribute("id"); _actioncond.m_state = (string)xml.Attribute("state"); _actioncond.m_type = (string)xml.Attribute("type"); return(_actioncond); }
public void Update(actioncond element) { if (element.m_id != null) { this.id = element.id; } if (element.m_state != null) { this.state = element.state; } if (element.m_type != null) { this.type = element.type; } }