/// <summary> /// 計算其他項目的合計值 /// </summary> private void CalculateQT() { var other = new _Method_OtherProject(null, this.Unit); other.Calculate(); SetQTXM(); }
/// <summary> /// 单位工程计算 /// </summary> public void Calculate() { this.Unit.IsCalculated = false; this.RestXH(); //this.DeleteKong(); _Methods method = null; method = new _Method_Sub(null, this.Unit, this.GetSub()); method.Calculate(); method = new _Mothod_Measures(null, this.Unit, this.GetTop1MeasureItem()); method.Calculate(); this.Begin(); method = new _Method_OtherProject(null, this.Unit); method.Calculate(); this.Begin(); method = new _Method_Metaanalysis(this.Unit); method.Calculate(); CalculateWithouSubsegment(); this.Unit.NeedCalculate = true; }