Esempio n. 1
0
        public static family Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient)
        {
            family _family = new family();

            _family.m_rocrailClient = rocrailClient;
            _family.m_mfg           = (string)xml.Attribute("mfg");
            _family.m_name          = (string)xml.Attribute("name");
            return(_family);
        }
Esempio n. 2
0
 public void Update(family element)
 {
     if (element.m_mfg != null)
     {
         this.mfg = element.mfg;
     }
     if (element.m_name != null)
     {
         this.name = element.name;
     }
 }