Example #1
0
        public override void Parse(XmlDocument doc)
        {
            base.Parse(doc);

            systemid         = doc.ReadString("c2xml/system/systemid");
            systemname       = doc.ReadString("c2xml/system/systemname");
            startedwhen      = doc.ReadString("c2xml/system/startedwhen");
            creator_c2userid = doc.ReadString("c2xml/system/creator/c2userid");
            creator_name     = doc.ReadString("c2xml/system/creator/name");
            creator_org      = doc.ReadString("c2xml/system/creator/org");
            descrip_short    = doc.ReadString("c2xml/system/descrip/short");
            descrip_long     = doc.ReadString("c2xml/system/descrip/long");

            BusinessModel.Parse(doc.SelectSingleNode("c2xml/system/businessmodel"));
            TradeStyle.Parse(doc.SelectSingleNode("c2xml/system/tradestyle"));
            SummaryStats.Parse(doc.SelectSingleNode("c2xml/system/summarystats"));
            Margin.Parse(doc.SelectSingleNode("c2xml/system/margin"));
        }