public override void Add(EventInfo0 ev) { base.Add(ev); var evr = ev as EventRepInfo; if (evr == null) { return; } CountAtEnd += evr.CountAtEnd; }
public virtual void Add(EventInfo0 ev) { Value0 += ev.Value0; Deprec0 += ev.Deprec0; ValueLeft0 += ev.ValueLeft0; ValueLeft1 += ev.ValueLeft1; ValueC += ev.ValueC; DeprecC += ev.DeprecC; SellValue += ev.SellValue; DeprecCalc += ev.DeprecCalc; DeprecCalcThisMt += ev.DeprecCalcThisMt; Value1 += ev.Value1; Deprec1 += ev.Deprec1; ValueNew += ev.ValueNew; DeprecNew += ev.DeprecNew; ValueAdd += ev.ValueAdd; DeprecAdd += ev.DeprecAdd; ValueRevalue += ev.ValueRevalue; DeprecRevalue += ev.DeprecRevalue; ValueRecat += ev.ValueRecat; DeprecRecat += ev.DeprecRecat; ValueExclude += ev.ValueExclude; DeprecExclude += ev.DeprecExclude; TaxVal += ev.TaxVal; TaxValC += ev.TaxValC; TaxValLeft0 += ev.TaxValLeft0; TaxValLeft1 += ev.TaxValLeft1; TaxDeprec += ev.TaxDeprec; TaxDeprecCalc += ev.TaxDeprecCalc; TaxRate += ev.TaxRate; TaxValNewCalc += ev.TaxValNewCalc; TaxValAddCalc += ev.TaxValAddCalc; TaxValRecatCalc += ev.TaxValRecatCalc; TaxValExcludeCalc += ev.TaxValExcludeCalc; TaxValLeftAtEnd += ev.TaxValLeftAtEnd; TaxValLeftAtEndCalc += TaxValLeftAtEndCalc; }