Ejemplo n.º 1
0
        public override void Calculate()
        {
            _MeasuresProject info = this.Parent as _MeasuresProject;

            foreach (_CommonrojectInfo item in info.CommonrojectList)
            {
                item.Statistics.Calculate();
            }
            this.Begin();
        }
Ejemplo n.º 2
0
 public _CommonrojectInfo(_MeasuresProject p_Parent)
 {
     this.GCL        = 0.0m;
     this.m_Parent   = p_Parent;
     this.Statistics = new _CommonrojectInfo_Statistics(this);
 }
Ejemplo n.º 3
0
        private void SetHJ()
        {
            _MeasuresProject info = this.Parent as _MeasuresProject;

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

                foreach (_CommonrojectInfo item in info.CommonrojectList)
                {
                    //所有的合价累计
                    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.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.JCHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_JCHJ);
                    m_ResultValue.CJHJ += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_CJHJ);


                    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.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.FBJEHJ     += item.Statistics.ResultVarable.GetDecimal(_Statistics.FILED_FBJEHJ);

                    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);
                    m_ResultValue.KCAQWMCSF += item.Statistics.ResultVarable.GetDecimal("KCAQWMCSF");
                }
            }
        }