public override List <qzjr期折旧额> exec(asset固定资产 asset) { List <qzjr期折旧额> qzlist = new List <qzjr期折旧额>(); double period年折旧额 = asset.gdzc固定资产原值包含利息去掉无形资产 * (1 - asset.gdzcczl固定资产残值率) / asset.zjnx折旧期限; int yunyinq运营期 = globalpara.yyq运营期; int count = 0; for (int i = 1; i <= yunyinq运营期; i++) { count++; qzjr期折旧额 qz = new qzjr期折旧额(); qz.zje本期折旧额 = period年折旧额; qz.sxh顺序号 = count; qz.period = i; //qz.gdzcyz固定资产余值 //如果是最后一年,那么就回收固定资产余值 qzlist.Add(qz); if (yunyinq运营期 == count) { qz.hzgdzc回收固定资产余额 = asset.gdzc固定资产原值包含利息去掉无形资产 - qzlist.Sum(x => x.zje本期折旧额); } else { qz.hzgdzc回收固定资产余额 = 0; } } return(qzlist); }
public virtual List <qzjr期折旧额> exec(asset固定资产 asset) { return(null); }