public BarrierDateInfo(XmlNode xmlNode) : base(xmlNode) { XmlNode dateInformationNode = xmlNode.SelectSingleNode("dateInformation"); if (dateInformationNode != null) { if (dateInformationNode.Attributes["href"] != null || dateInformationNode.Attributes["id"] != null) { if (dateInformationNode.Attributes["id"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["id"].Value; DateInformation ob = new DateInformation(dateInformationNode); IDManager.SetID(dateInformationIDRef_, ob); } else if (dateInformationNode.Attributes["href"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["href"].Value; } else { dateInformation_ = new DateInformation(dateInformationNode); } } else { dateInformation_ = new DateInformation(dateInformationNode); } } }
public BarrierDateInfo(XmlNode xmlNode) : base(xmlNode) { XmlNode dateInformationNode = xmlNode.SelectSingleNode("dateInformation"); if (dateInformationNode != null) { if (dateInformationNode.Attributes["href"] != null || dateInformationNode.Attributes["id"] != null) { if (dateInformationNode.Attributes["id"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["id"].Value; DateInformation ob = new DateInformation(dateInformationNode); IDManager.SetID(dateInformationIDRef_, ob); } else if (dateInformationNode.Attributes["href"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["href"].Value; } else { dateInformation_ = new DateInformation(dateInformationNode); } } else { dateInformation_ = new DateInformation(dateInformationNode); } } }
public SimpleRangeEventCal(XmlNode xmlNode) : base(xmlNode) { XmlNode range1DNode = xmlNode.SelectSingleNode("range1D"); if (range1DNode != null) { if (range1DNode.Attributes["href"] != null || range1DNode.Attributes["id"] != null) { if (range1DNode.Attributes["id"] != null) { range1DIDRef_ = range1DNode.Attributes["id"].Value; Range1D ob = new Range1D(range1DNode); IDManager.SetID(range1DIDRef_, ob); } else if (range1DNode.Attributes["href"] != null) { range1DIDRef_ = range1DNode.Attributes["href"].Value; } else { range1D_ = new Range1D(range1DNode); } } else { range1D_ = new Range1D(range1DNode); } } XmlNode referenceCalculationInfoNode = xmlNode.SelectSingleNode("referenceCalculationInfo"); if (referenceCalculationInfoNode != null) { if (referenceCalculationInfoNode.Attributes["href"] != null || referenceCalculationInfoNode.Attributes["id"] != null) { if (referenceCalculationInfoNode.Attributes["id"] != null) { referenceCalculationInfoIDRef_ = referenceCalculationInfoNode.Attributes["id"].Value; ReferenceCalculationInfo ob = new ReferenceCalculationInfo(referenceCalculationInfoNode); IDManager.SetID(referenceCalculationInfoIDRef_, ob); } else if (referenceCalculationInfoNode.Attributes["href"] != null) { referenceCalculationInfoIDRef_ = referenceCalculationInfoNode.Attributes["href"].Value; } else { referenceCalculationInfo_ = new ReferenceCalculationInfo(referenceCalculationInfoNode); } } else { referenceCalculationInfo_ = new ReferenceCalculationInfo(referenceCalculationInfoNode); } } XmlNode dateInformationNode = xmlNode.SelectSingleNode("dateInformation"); if (dateInformationNode != null) { if (dateInformationNode.Attributes["href"] != null || dateInformationNode.Attributes["id"] != null) { if (dateInformationNode.Attributes["id"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["id"].Value; DateInformation ob = new DateInformation(dateInformationNode); IDManager.SetID(dateInformationIDRef_, ob); } else if (dateInformationNode.Attributes["href"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["href"].Value; } else { dateInformation_ = new DateInformation(dateInformationNode); } } else { dateInformation_ = new DateInformation(dateInformationNode); } } XmlNode jointSimpleCalculationNode = xmlNode.SelectSingleNode("jointSimpleCalculation"); if (jointSimpleCalculationNode != null) { if (jointSimpleCalculationNode.Attributes["href"] != null || jointSimpleCalculationNode.Attributes["id"] != null) { if (jointSimpleCalculationNode.Attributes["id"] != null) { jointSimpleCalculationIDRef_ = jointSimpleCalculationNode.Attributes["id"].Value; JointSimpleCalculation ob = new JointSimpleCalculation(jointSimpleCalculationNode); IDManager.SetID(jointSimpleCalculationIDRef_, ob); } else if (jointSimpleCalculationNode.Attributes["href"] != null) { jointSimpleCalculationIDRef_ = jointSimpleCalculationNode.Attributes["href"].Value; } else { jointSimpleCalculation_ = new JointSimpleCalculation(jointSimpleCalculationNode); } } else { jointSimpleCalculation_ = new JointSimpleCalculation(jointSimpleCalculationNode); } } }
public SimpleRangeEventCal(XmlNode xmlNode) : base(xmlNode) { XmlNode range1DNode = xmlNode.SelectSingleNode("range1D"); if (range1DNode != null) { if (range1DNode.Attributes["href"] != null || range1DNode.Attributes["id"] != null) { if (range1DNode.Attributes["id"] != null) { range1DIDRef_ = range1DNode.Attributes["id"].Value; Range1D ob = new Range1D(range1DNode); IDManager.SetID(range1DIDRef_, ob); } else if (range1DNode.Attributes["href"] != null) { range1DIDRef_ = range1DNode.Attributes["href"].Value; } else { range1D_ = new Range1D(range1DNode); } } else { range1D_ = new Range1D(range1DNode); } } XmlNode referenceCalculationInfoNode = xmlNode.SelectSingleNode("referenceCalculationInfo"); if (referenceCalculationInfoNode != null) { if (referenceCalculationInfoNode.Attributes["href"] != null || referenceCalculationInfoNode.Attributes["id"] != null) { if (referenceCalculationInfoNode.Attributes["id"] != null) { referenceCalculationInfoIDRef_ = referenceCalculationInfoNode.Attributes["id"].Value; ReferenceCalculationInfo ob = new ReferenceCalculationInfo(referenceCalculationInfoNode); IDManager.SetID(referenceCalculationInfoIDRef_, ob); } else if (referenceCalculationInfoNode.Attributes["href"] != null) { referenceCalculationInfoIDRef_ = referenceCalculationInfoNode.Attributes["href"].Value; } else { referenceCalculationInfo_ = new ReferenceCalculationInfo(referenceCalculationInfoNode); } } else { referenceCalculationInfo_ = new ReferenceCalculationInfo(referenceCalculationInfoNode); } } XmlNode dateInformationNode = xmlNode.SelectSingleNode("dateInformation"); if (dateInformationNode != null) { if (dateInformationNode.Attributes["href"] != null || dateInformationNode.Attributes["id"] != null) { if (dateInformationNode.Attributes["id"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["id"].Value; DateInformation ob = new DateInformation(dateInformationNode); IDManager.SetID(dateInformationIDRef_, ob); } else if (dateInformationNode.Attributes["href"] != null) { dateInformationIDRef_ = dateInformationNode.Attributes["href"].Value; } else { dateInformation_ = new DateInformation(dateInformationNode); } } else { dateInformation_ = new DateInformation(dateInformationNode); } } XmlNode jointSimpleCalculationNode = xmlNode.SelectSingleNode("jointSimpleCalculation"); if (jointSimpleCalculationNode != null) { if (jointSimpleCalculationNode.Attributes["href"] != null || jointSimpleCalculationNode.Attributes["id"] != null) { if (jointSimpleCalculationNode.Attributes["id"] != null) { jointSimpleCalculationIDRef_ = jointSimpleCalculationNode.Attributes["id"].Value; JointSimpleCalculation ob = new JointSimpleCalculation(jointSimpleCalculationNode); IDManager.SetID(jointSimpleCalculationIDRef_, ob); } else if (jointSimpleCalculationNode.Attributes["href"] != null) { jointSimpleCalculationIDRef_ = jointSimpleCalculationNode.Attributes["href"].Value; } else { jointSimpleCalculation_ = new JointSimpleCalculation(jointSimpleCalculationNode); } } else { jointSimpleCalculation_ = new JointSimpleCalculation(jointSimpleCalculationNode); } } }