コード例 #1
0
ファイル: _Method_Sub.cs プロジェクト: shansheng/QDJJ
        public override void BeginCurrent()
        {
            _SubSegment_Statistics sta = new _SubSegment_Statistics(this.Current, this.Unit);

            sta.DataSource = this.GetDataSource;
            sta.Begin();
            GLODSOFT.QDJJ.BUSINESS._Project_Statistics stat = new GLODSOFT.QDJJ.BUSINESS._Project_Statistics(this.Unit, this.CurrentBusiness);
            stat.Begin();//单位工程计算
        }
コード例 #2
0
ファイル: _Method_Sub.cs プロジェクト: shansheng/QDJJ
        public override void Begin(List <int> session)
        {
            if (session != null)
            {
                if (session.Contains(Current.ID))
                {
                    return;
                }
                else
                {
                    session.Add(Current.ID);
                }
            }


            this.Unit.IsCalculated = true;
            _SubSegment_Statistics sta = new _SubSegment_Statistics(this.Current, this.Unit);

            sta.DataSource = this.GetDataSource;
            sta.Begin();
            GLODSOFT.QDJJ.BUSINESS._Project_Statistics stat = new GLODSOFT.QDJJ.BUSINESS._Project_Statistics(this.Unit, this.CurrentBusiness);
            stat.Begin();//单位工程计算
        }