public Excel_eventCalcInfo(XmlNode xmlNode) : base(xmlNode) { XmlNode excel_typeNode = xmlNode.SelectSingleNode("excel_type"); if (excel_typeNode != null) { if (excel_typeNode.Attributes["href"] != null || excel_typeNode.Attributes["id"] != null) { if (excel_typeNode.Attributes["id"] != null) { excel_typeIDRef_ = excel_typeNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(excel_typeNode); IDManager.SetID(excel_typeIDRef_, ob); } else if (excel_typeNode.Attributes["href"] != null) { excel_typeIDRef_ = excel_typeNode.Attributes["href"].Value; } else { excel_type_ = new XsdTypeToken(excel_typeNode); } } else { excel_type_ = new XsdTypeToken(excel_typeNode); } } XmlNode excel_singleRangeEventCalNode = xmlNode.SelectSingleNode("excel_singleRangeEventCal"); if (excel_singleRangeEventCalNode != null) { if (excel_singleRangeEventCalNode.Attributes["href"] != null || excel_singleRangeEventCalNode.Attributes["id"] != null) { if (excel_singleRangeEventCalNode.Attributes["id"] != null) { excel_singleRangeEventCalIDRef_ = excel_singleRangeEventCalNode.Attributes["id"].Value; Excel_singleRangeEventCal ob = new Excel_singleRangeEventCal(excel_singleRangeEventCalNode); IDManager.SetID(excel_singleRangeEventCalIDRef_, ob); } else if (excel_singleRangeEventCalNode.Attributes["href"] != null) { excel_singleRangeEventCalIDRef_ = excel_singleRangeEventCalNode.Attributes["href"].Value; } else { excel_singleRangeEventCal_ = new Excel_singleRangeEventCal(excel_singleRangeEventCalNode); } } else { excel_singleRangeEventCal_ = new Excel_singleRangeEventCal(excel_singleRangeEventCalNode); } } XmlNode excel_dualRangeEventCalNode = xmlNode.SelectSingleNode("excel_dualRangeEventCal"); if (excel_dualRangeEventCalNode != null) { if (excel_dualRangeEventCalNode.Attributes["href"] != null || excel_dualRangeEventCalNode.Attributes["id"] != null) { if (excel_dualRangeEventCalNode.Attributes["id"] != null) { excel_dualRangeEventCalIDRef_ = excel_dualRangeEventCalNode.Attributes["id"].Value; Excel_dualRangeEventCal ob = new Excel_dualRangeEventCal(excel_dualRangeEventCalNode); IDManager.SetID(excel_dualRangeEventCalIDRef_, ob); } else if (excel_dualRangeEventCalNode.Attributes["href"] != null) { excel_dualRangeEventCalIDRef_ = excel_dualRangeEventCalNode.Attributes["href"].Value; } else { excel_dualRangeEventCal_ = new Excel_dualRangeEventCal(excel_dualRangeEventCalNode); } } else { excel_dualRangeEventCal_ = new Excel_dualRangeEventCal(excel_dualRangeEventCalNode); } } XmlNode excel_singleBarrierEventCalNode = xmlNode.SelectSingleNode("excel_singleBarrierEventCal"); if (excel_singleBarrierEventCalNode != null) { if (excel_singleBarrierEventCalNode.Attributes["href"] != null || excel_singleBarrierEventCalNode.Attributes["id"] != null) { if (excel_singleBarrierEventCalNode.Attributes["id"] != null) { excel_singleBarrierEventCalIDRef_ = excel_singleBarrierEventCalNode.Attributes["id"].Value; Excel_singleBarrierEventCal ob = new Excel_singleBarrierEventCal(excel_singleBarrierEventCalNode); IDManager.SetID(excel_singleBarrierEventCalIDRef_, ob); } else if (excel_singleBarrierEventCalNode.Attributes["href"] != null) { excel_singleBarrierEventCalIDRef_ = excel_singleBarrierEventCalNode.Attributes["href"].Value; } else { excel_singleBarrierEventCal_ = new Excel_singleBarrierEventCal(excel_singleBarrierEventCalNode); } } else { excel_singleBarrierEventCal_ = new Excel_singleBarrierEventCal(excel_singleBarrierEventCalNode); } } XmlNode excel_dualBarrierEventCalNode = xmlNode.SelectSingleNode("excel_dualBarrierEventCal"); if (excel_dualBarrierEventCalNode != null) { if (excel_dualBarrierEventCalNode.Attributes["href"] != null || excel_dualBarrierEventCalNode.Attributes["id"] != null) { if (excel_dualBarrierEventCalNode.Attributes["id"] != null) { excel_dualBarrierEventCalIDRef_ = excel_dualBarrierEventCalNode.Attributes["id"].Value; Excel_dualBarrierEventCal ob = new Excel_dualBarrierEventCal(excel_dualBarrierEventCalNode); IDManager.SetID(excel_dualBarrierEventCalIDRef_, ob); } else if (excel_dualBarrierEventCalNode.Attributes["href"] != null) { excel_dualBarrierEventCalIDRef_ = excel_dualBarrierEventCalNode.Attributes["href"].Value; } else { excel_dualBarrierEventCal_ = new Excel_dualBarrierEventCal(excel_dualBarrierEventCalNode); } } else { excel_dualBarrierEventCal_ = new Excel_dualBarrierEventCal(excel_dualBarrierEventCalNode); } } XmlNode excel_identityEventCalNode = xmlNode.SelectSingleNode("excel_identityEventCal"); if (excel_identityEventCalNode != null) { if (excel_identityEventCalNode.Attributes["href"] != null || excel_identityEventCalNode.Attributes["id"] != null) { if (excel_identityEventCalNode.Attributes["id"] != null) { excel_identityEventCalIDRef_ = excel_identityEventCalNode.Attributes["id"].Value; Excel_identityEventCal ob = new Excel_identityEventCal(excel_identityEventCalNode); IDManager.SetID(excel_identityEventCalIDRef_, ob); } else if (excel_identityEventCalNode.Attributes["href"] != null) { excel_identityEventCalIDRef_ = excel_identityEventCalNode.Attributes["href"].Value; } else { excel_identityEventCal_ = new Excel_identityEventCal(excel_identityEventCalNode); } } else { excel_identityEventCal_ = new Excel_identityEventCal(excel_identityEventCalNode); } } }