Exemple #1
0
 public _ProfessionalInfo(_SubSegments p_Parent)
 {
     this.m_Parent   = p_Parent;
     this.Statistics = new _ProfessionalInfo_Statistics(this);
     m_ChapterList   = new List <_ChapterInfo>();
     m_FixedList     = new List <_FFixedListInfo>();
 }
        public override void Calculate()
        {
            _SubSegments info = this.Parent as _SubSegments;

            foreach (_ProfessionalInfo item in info.ProfessionalList)
            {
                item.Statistics.Calculate();
            }
            this.Begin();
        }
        private void SetHJ()
        {
            _SubSegments info = this.Parent as _SubSegments;

            if (info != null)
            {
                m_ResultValue = new Result();

                foreach (_ProfessionalInfo item in info.ProfessionalList)
                {
                    //所有的合价累计
                    m_ResultValue.DEZHHJ  += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEZHHJ);
                    m_ResultValue.DEZJFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEZJFHJ);
                    m_ResultValue.DERGFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DERGFHJ);
                    m_ResultValue.DECLFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DECLFHJ);
                    m_ResultValue.DEZCFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEZCFHJ);
                    m_ResultValue.DESBFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DESBFHJ);
                    m_ResultValue.DEJXFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEJXFHJ);
                    m_ResultValue.DEGLFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEGLFHJ);
                    m_ResultValue.DELRHJ  += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DELRHJ);
                    m_ResultValue.DEFXHJ  += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEFXHJ);

                    m_ResultValue.DEJGJEHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEJGJEHJ);
                    m_ResultValue.DEYGJEHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEYGJEHJ);
                    m_ResultValue.DEPBZDHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEPBZDHJ);
                    m_ResultValue.DEZGHJ   += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEZGHJ);
                    m_ResultValue.DEFBJEHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEFBJEHJ);


                    m_ResultValue.ZHHJ  += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_ZHHJ);
                    m_ResultValue.ZJFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_ZJFHJ);
                    m_ResultValue.RGFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_RGFHJ);
                    m_ResultValue.CLFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_CLFHJ);
                    m_ResultValue.ZCFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_ZCFHJ);
                    m_ResultValue.SBFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_SBFHJ);
                    m_ResultValue.JXFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_JXFHJ);
                    m_ResultValue.GLFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_GLFHJ);
                    m_ResultValue.LRHJ  += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_LRHJ);
                    m_ResultValue.FXHJ  += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FXHJ);

                    m_ResultValue.JGJEHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_JGJEHJ);
                    m_ResultValue.YGJEHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_YGJEHJ);
                    m_ResultValue.PBZDHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_PBZDHJ);
                    m_ResultValue.ZGHJ   += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_ZGHJ);
                    m_ResultValue.FBJEHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBJEHJ);


                    m_ResultValue.JCHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_JCHJ);
                    m_ResultValue.CJHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_CJHJ);


                    //m_ResultValue.HHJXRGF += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_HHJXRGF);
                    //m_ResultValue.HHJXRGFJC += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_HHJXRGFJC);
                    //m_ResultValue.DEHHJXRGF += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEHHJXRGF);


                    m_ResultValue.FBFXCJHJ   += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXCJHJ);
                    m_ResultValue.FBFXJCHJ   += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXJCHJ);
                    m_ResultValue.FBFXRGJCHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXRGJCHJ);
                    m_ResultValue.FBFXCLJCHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXCLJCHJ);
                    m_ResultValue.FBFXJXJCHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXJXJCHJ);

                    m_ResultValue.FBFXRGCJHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXRGCJHJ);
                    m_ResultValue.FBFXCLCJHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXCLCJHJ);
                    m_ResultValue.FBFXJXCJHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBFXJXCJHJ);

                    m_ResultValue.DEGFHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DEGFHJ);
                    m_ResultValue.GFHJ   += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_GFHJ);
                    m_ResultValue.DESJHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_DESJHJ);
                    m_ResultValue.SJHJ   += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_SJHJ);
                }
            }
        }
Exemple #4
0
 public _Methods(_SubSegments p_Parent)
 {
     this.m_Parent = p_Parent;
 }