public Excel_kiEventCalculation(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_simpleKiEventCalcNode = xmlNode.SelectSingleNode("excel_simpleKiEventCalc");
     
     if (excel_simpleKiEventCalcNode != null)
     {
         if (excel_simpleKiEventCalcNode.Attributes["href"] != null || excel_simpleKiEventCalcNode.Attributes["id"] != null) 
         {
             if (excel_simpleKiEventCalcNode.Attributes["id"] != null) 
             {
                 excel_simpleKiEventCalcIDRef_ = excel_simpleKiEventCalcNode.Attributes["id"].Value;
                 Excel_simpleKiEventCalc ob = new Excel_simpleKiEventCalc(excel_simpleKiEventCalcNode);
                 IDManager.SetID(excel_simpleKiEventCalcIDRef_, ob);
             }
             else if (excel_simpleKiEventCalcNode.Attributes["href"] != null)
             {
                 excel_simpleKiEventCalcIDRef_ = excel_simpleKiEventCalcNode.Attributes["href"].Value;
             }
             else
             {
                 excel_simpleKiEventCalc_ = new Excel_simpleKiEventCalc(excel_simpleKiEventCalcNode);
             }
         }
         else
         {
             excel_simpleKiEventCalc_ = new Excel_simpleKiEventCalc(excel_simpleKiEventCalcNode);
         }
     }
     
 
     XmlNode excel_dualKiEventCalcNode = xmlNode.SelectSingleNode("excel_dualKiEventCalc");
     
     if (excel_dualKiEventCalcNode != null)
     {
         if (excel_dualKiEventCalcNode.Attributes["href"] != null || excel_dualKiEventCalcNode.Attributes["id"] != null) 
         {
             if (excel_dualKiEventCalcNode.Attributes["id"] != null) 
             {
                 excel_dualKiEventCalcIDRef_ = excel_dualKiEventCalcNode.Attributes["id"].Value;
                 Excel_dualKiEventCalc ob = new Excel_dualKiEventCalc(excel_dualKiEventCalcNode);
                 IDManager.SetID(excel_dualKiEventCalcIDRef_, ob);
             }
             else if (excel_dualKiEventCalcNode.Attributes["href"] != null)
             {
                 excel_dualKiEventCalcIDRef_ = excel_dualKiEventCalcNode.Attributes["href"].Value;
             }
             else
             {
                 excel_dualKiEventCalc_ = new Excel_dualKiEventCalc(excel_dualKiEventCalcNode);
             }
         }
         else
         {
             excel_dualKiEventCalc_ = new Excel_dualKiEventCalc(excel_dualKiEventCalcNode);
         }
     }
     
 
     XmlNode excel_targetKiEventCalcNode = xmlNode.SelectSingleNode("excel_targetKiEventCalc");
     
     if (excel_targetKiEventCalcNode != null)
     {
         if (excel_targetKiEventCalcNode.Attributes["href"] != null || excel_targetKiEventCalcNode.Attributes["id"] != null) 
         {
             if (excel_targetKiEventCalcNode.Attributes["id"] != null) 
             {
                 excel_targetKiEventCalcIDRef_ = excel_targetKiEventCalcNode.Attributes["id"].Value;
                 Excel_targetKiEventCalc ob = new Excel_targetKiEventCalc(excel_targetKiEventCalcNode);
                 IDManager.SetID(excel_targetKiEventCalcIDRef_, ob);
             }
             else if (excel_targetKiEventCalcNode.Attributes["href"] != null)
             {
                 excel_targetKiEventCalcIDRef_ = excel_targetKiEventCalcNode.Attributes["href"].Value;
             }
             else
             {
                 excel_targetKiEventCalc_ = new Excel_targetKiEventCalc(excel_targetKiEventCalcNode);
             }
         }
         else
         {
             excel_targetKiEventCalc_ = new Excel_targetKiEventCalc(excel_targetKiEventCalcNode);
         }
     }
     
 
 }
Exemplo n.º 2
0
        public Excel_kiEventCalculation(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_simpleKiEventCalcNode = xmlNode.SelectSingleNode("excel_simpleKiEventCalc");

            if (excel_simpleKiEventCalcNode != null)
            {
                if (excel_simpleKiEventCalcNode.Attributes["href"] != null || excel_simpleKiEventCalcNode.Attributes["id"] != null)
                {
                    if (excel_simpleKiEventCalcNode.Attributes["id"] != null)
                    {
                        excel_simpleKiEventCalcIDRef_ = excel_simpleKiEventCalcNode.Attributes["id"].Value;
                        Excel_simpleKiEventCalc ob = new Excel_simpleKiEventCalc(excel_simpleKiEventCalcNode);
                        IDManager.SetID(excel_simpleKiEventCalcIDRef_, ob);
                    }
                    else if (excel_simpleKiEventCalcNode.Attributes["href"] != null)
                    {
                        excel_simpleKiEventCalcIDRef_ = excel_simpleKiEventCalcNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_simpleKiEventCalc_ = new Excel_simpleKiEventCalc(excel_simpleKiEventCalcNode);
                    }
                }
                else
                {
                    excel_simpleKiEventCalc_ = new Excel_simpleKiEventCalc(excel_simpleKiEventCalcNode);
                }
            }


            XmlNode excel_dualKiEventCalcNode = xmlNode.SelectSingleNode("excel_dualKiEventCalc");

            if (excel_dualKiEventCalcNode != null)
            {
                if (excel_dualKiEventCalcNode.Attributes["href"] != null || excel_dualKiEventCalcNode.Attributes["id"] != null)
                {
                    if (excel_dualKiEventCalcNode.Attributes["id"] != null)
                    {
                        excel_dualKiEventCalcIDRef_ = excel_dualKiEventCalcNode.Attributes["id"].Value;
                        Excel_dualKiEventCalc ob = new Excel_dualKiEventCalc(excel_dualKiEventCalcNode);
                        IDManager.SetID(excel_dualKiEventCalcIDRef_, ob);
                    }
                    else if (excel_dualKiEventCalcNode.Attributes["href"] != null)
                    {
                        excel_dualKiEventCalcIDRef_ = excel_dualKiEventCalcNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_dualKiEventCalc_ = new Excel_dualKiEventCalc(excel_dualKiEventCalcNode);
                    }
                }
                else
                {
                    excel_dualKiEventCalc_ = new Excel_dualKiEventCalc(excel_dualKiEventCalcNode);
                }
            }


            XmlNode excel_targetKiEventCalcNode = xmlNode.SelectSingleNode("excel_targetKiEventCalc");

            if (excel_targetKiEventCalcNode != null)
            {
                if (excel_targetKiEventCalcNode.Attributes["href"] != null || excel_targetKiEventCalcNode.Attributes["id"] != null)
                {
                    if (excel_targetKiEventCalcNode.Attributes["id"] != null)
                    {
                        excel_targetKiEventCalcIDRef_ = excel_targetKiEventCalcNode.Attributes["id"].Value;
                        Excel_targetKiEventCalc ob = new Excel_targetKiEventCalc(excel_targetKiEventCalcNode);
                        IDManager.SetID(excel_targetKiEventCalcIDRef_, ob);
                    }
                    else if (excel_targetKiEventCalcNode.Attributes["href"] != null)
                    {
                        excel_targetKiEventCalcIDRef_ = excel_targetKiEventCalcNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_targetKiEventCalc_ = new Excel_targetKiEventCalc(excel_targetKiEventCalcNode);
                    }
                }
                else
                {
                    excel_targetKiEventCalc_ = new Excel_targetKiEventCalc(excel_targetKiEventCalcNode);
                }
            }
        }