Ejemplo n.º 1
0
 public static CT_Break Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Break ctObj = new CT_Break();
     ctObj.id = XmlHelper.ReadUInt(node.Attributes["id"]);
     ctObj.min = XmlHelper.ReadUInt(node.Attributes["min"]);
     ctObj.max = XmlHelper.ReadUInt(node.Attributes["max"]);
     ctObj.man = XmlHelper.ReadBool(node.Attributes["man"]);
     ctObj.pt = XmlHelper.ReadBool(node.Attributes["pt"]);
     return ctObj;
 }
Ejemplo n.º 2
0
 public CT_Break AddNewBrk()
 {
     CT_Break newbreak = new CT_Break();
     this.brkField.Add(newbreak);
     return newbreak;
 }