public SignaPage(XmlNode contentObject) { DescriptiveName = contentObject.Attributes["DescriptiveName"].Value; string fpb = contentObject.Attributes["HDM:FinalPageBox"].Value; FinalPageBox = AttributeTools.SplitBox(fpb); Signature = contentObject.ParentNode.ParentNode.Attributes["Name"].Value; JobPart = contentObject.Attributes["HDM:JobPart"].Value; Side = contentObject.Attributes["HDM:AssemblyFB"].Value; Orientation = int.Parse(contentObject.Attributes["HDM:PageOrientation"].Value); Order = int.Parse(contentObject.Attributes["Ord"].Value); }
public SignaSide(XmlNode xmlNode, List <SignaPage> signaPages) { Name = xmlNode.Attributes["Side"].Value; Signature = xmlNode.ParentNode.Attributes["Name"].Value; SheetBox = AttributeTools.SplitBox(xmlNode.Attributes["HDM:PaperRect"].Value); PlateBox = AttributeTools.SplitBox(xmlNode. ParentNode.Attributes["SurfaceContentsBox"].Value); Pages = new List <SignaPage>(); foreach (var page in signaPages) { if (page.Signature == Signature && page.Side == Name) { Pages.Add(page); } } }