예제 #1
0
        /// <summary>
        /// todoComment
        /// </summary>
        /// <param name="cur2"></param>
        /// <param name="order"></param>
        /// <returns></returns>
        protected TRptParameter ParseParameter(XmlNode cur2, int order)
        {
            XmlNode       cur;
            Object        rg;
            TRptParameter element;

            cur              = cur2;
            element          = new TRptParameter(order);
            element.strName  = GetAttribute(cur, "name");
            element.strValue = GetAttribute(cur, "value");
            cur              = NextNotBlank(cur.FirstChild);
            rg = ParseGroup(cur, ref report.valuesId, "value", out cur);

            if (rg != null)
            {
                element.rptGrpValue = ((List <TRptValue>)rg);
            }

            return(element);
        }
예제 #2
0
        /// <summary>
        /// todoComment
        /// </summary>
        /// <param name="cur2"></param>
        /// <param name="order"></param>
        /// <returns></returns>
        protected TRptParameter ParseParameter(XmlNode cur2, int order)
        {
            XmlNode cur;
            Object rg;
            TRptParameter element;

            cur = cur2;
            element = new TRptParameter(order);
            element.strName = GetAttribute(cur, "name");
            element.strValue = GetAttribute(cur, "value");
            cur = NextNotBlank(cur.FirstChild);
            rg = ParseGroup(cur, ref report.valuesId, "value", out cur);

            if (rg != null)
            {
                element.rptGrpValue = ((List <TRptValue> )rg);
            }

            return element;
        }