// Token: 0x06000027 RID: 39 RVA: 0x000035F4 File Offset: 0x000017F4 private CNCProjectData(CNCProjectData.GeneralDataClass generalData, CNCProjectData.ProjectDescriptionClass projectDescription, CNCProjectData.Address site, CNCProjectData.Address owner, CNCProjectData.DrawingDataClass drawingData, CNCProjectData.GenericOrderInfoClass genericOrderInfo, string commentPxml, string documentGlobalId) { this.General = generalData; this.ProjectDescription = projectDescription; this.BuildingSite = site; this.BuildingOwner = owner; this.DrawingData = drawingData; this.GenericOrderInfo = genericOrderInfo; this.CommentPXML = commentPxml; this.DocumentGlobalId = documentGlobalId; }
// Token: 0x06000026 RID: 38 RVA: 0x00003554 File Offset: 0x00001754 public static CNCProjectData Create(Document doc, ItCfgNode node) { CNCProjectData.GeneralDataClass generalData = CNCProjectData.GetGeneralData(node); CNCProjectData.ProjectDescriptionClass projectDescription = CNCProjectData.GetProjectDescription(node["ProjectDescription"]); CNCProjectData.Address address = CNCProjectData.GetAddress(node["BuildingSite"]); CNCProjectData.Address address2 = CNCProjectData.GetAddress(node["BuildingOwner"]); CNCProjectData.DrawingDataClass drawingData = CNCProjectData.GetDrawingData(node); CNCProjectData.GenericOrderInfoClass genericOrderInfo = CNCProjectData.GetGenericOrderInfo(node); ItCfgNode itCfgNode = node["Comment"]; string commentPxml = ((itCfgNode != null) ? itCfgNode.value : null) ?? string.Empty; string docId = CNCProjectData.GetDocId(doc); return(new CNCProjectData(generalData, projectDescription, address, address2, drawingData, genericOrderInfo, commentPxml, docId)); }