public PageInfo(bool bshowdetail, int grouplevels) { _rowbalance = new RowBalance(); _accumulate = new AccumulateData(grouplevels, bshowdetail); _balance = new BalanceData(grouplevels, bshowdetail); _complex = new ComplexData(grouplevels, bshowdetail); _pageindex = 0; }
public PageInfo(int pageindex, PageInfo pi) { _pageindex = pageindex; if (pi.GlobalValues != null) { foreach (string key in pi.GlobalValues.Keys) { AddGlobal(key, pi.GlobalValues[key]); } } _rowbalance = new RowBalance(pi.RowBalance); pi.Accmulate.RestoreState(); _accumulate = new AccumulateData(pi.Accmulate); pi.Balance.RestoreState(); _balance = new BalanceData(pi.Balance); pi.Complex.RestoreState(); _complex = new ComplexData(pi.Complex); _rawdata = pi.RawData; }
public AccumulateData(AccumulateData ad) : base(ad) { }