Пример #1
0
        //────────────────────────────────────────

        protected virtual void Parse_ChildNodes(
            XmlElement cur_X,
            Configurationtree_Node cur_Cf,
            MemoryApplication memoryApplication,
            Log_Reports log_Reports
            )
        {
            XmlToConfigurationtree_C14_Hub to = new XmlToConfigurationtree_C14_HubImpl();

            to.XmlToConfigurationtree(cur_X, cur_Cf, memoryApplication, log_Reports);
        }
        //────────────────────────────────────────
        /// <summary>
        /// 変換。
        /// </summary>
        /// <param select="x_cur"></param>
        /// <param select="s_Parent"></param>
        /// <param select="log_Reports"></param>
        public override void XmlToConfigurationtree(
            XmlElement cur_X,//<data>
            Configurationtree_Node parent_Cf,//「Cf■control」
            MemoryApplication memoryApplication,
            Log_Reports log_Reports
            )
        {
            Log_Method log_Method = new Log_MethodImpl(0);
            log_Method.BeginMethod(Info_XmlToConf.Name_Library, this, "XToCf",log_Reports);
            //
            //

            //
            //
            //
            // 自
            //
            //
            //
            Configurationtree_Node cur_Cf = this.CreateMyself(cur_X, parent_Cf, memoryApplication, log_Reports);

            //
            //
            //
            // 属性
            //
            //
            //
            this.Parse_SAttribute(cur_X, cur_Cf, memoryApplication, log_Reports);

            //
            //
            //
            // 属性テスト
            //
            //
            //
            if (log_Reports.Successful)
            {
                this.Test_Attributes(cur_X, cur_Cf, memoryApplication, log_Reports);
            }

            //
            //
            //
            // 子
            //
            //
            //
            if (log_Reports.Successful)
            {
                XmlToConfigurationtree_C14_HubImpl to = new XmlToConfigurationtree_C14_HubImpl();
                to.XmlToConfigurationtree(
                    cur_X,
                    cur_Cf,
                    memoryApplication,
                    log_Reports
                    );
            }

            //
            //
            //
            // 親へ連結
            //
            //
            //
            if (log_Reports.Successful)
            {
                this.LinkToParent(cur_Cf, parent_Cf, memoryApplication, log_Reports);
            }

            goto gt_EndMethod;
            //
            //
            gt_EndMethod:
            log_Method.EndMethod(log_Reports);
        }
 //────────────────────────────────────────
 protected override void Parse_ChildNodes(
     XmlElement cur_X,
     Configurationtree_Node cur_Cf,
     MemoryApplication memoryApplication,
     Log_Reports log_Reports
     )
 {
     XmlToConfigurationtree_C14_Hub to = new XmlToConfigurationtree_C14_HubImpl();
     to.XmlToConfigurationtree(
         cur_X,
         cur_Cf,
         memoryApplication,
         log_Reports
         );
 }
Пример #4
0
        //────────────────────────────────────────

        /// <summary>
        /// 変換。
        /// </summary>
        /// <param select="x_cur"></param>
        /// <param select="s_Parent"></param>
        /// <param select="log_Reports"></param>
        public override void XmlToConfigurationtree(
            XmlElement cur_X,                 //<data>
            Configurationtree_Node parent_Cf, //「Cf■control」
            MemoryApplication memoryApplication,
            Log_Reports log_Reports
            )
        {
            Log_Method log_Method = new Log_MethodImpl(0);

            log_Method.BeginMethod(Info_XmlToConf.Name_Library, this, "XToCf", log_Reports);
            //
            //



            //
            //
            //
            // 自
            //
            //
            //
            Configurationtree_Node cur_Cf = this.CreateMyself(cur_X, parent_Cf, memoryApplication, log_Reports);



            //
            //
            //
            // 属性
            //
            //
            //
            this.Parse_SAttribute(cur_X, cur_Cf, memoryApplication, log_Reports);



            //
            //
            //
            // 属性テスト
            //
            //
            //
            if (log_Reports.Successful)
            {
                this.Test_Attributes(cur_X, cur_Cf, memoryApplication, log_Reports);
            }



            //
            //
            //
            // 子
            //
            //
            //
            if (log_Reports.Successful)
            {
                XmlToConfigurationtree_C14_HubImpl to = new XmlToConfigurationtree_C14_HubImpl();
                to.XmlToConfigurationtree(
                    cur_X,
                    cur_Cf,
                    memoryApplication,
                    log_Reports
                    );
            }



            //
            //
            //
            // 親へ連結
            //
            //
            //
            if (log_Reports.Successful)
            {
                this.LinkToParent(cur_Cf, parent_Cf, memoryApplication, log_Reports);
            }



            goto gt_EndMethod;
            //
            //
gt_EndMethod:
            log_Method.EndMethod(log_Reports);
        }