Exemplo n.º 1
0
        public void Calc(int year, int hoseiKaisuu, int kaikeiKubun)
        {
            Year        = year;
            HoseiKaisuu = hoseiKaisuu;
            KaikeiKubun = kaikeiKubun;

            summaryRows        = new List <YosanJissekiRow>();
            yosanTable         = new YosanTable(db, year, year - 1, 0, hoseiKaisuu);
            kamokuKubunSummary = new KamokuKubunSummary(db);

            yosanTable.Calc(withSyoukubun: true, withHojokamoku: true);
            kamokuKubunSummary.Calc(helper.Helper.GetNenndoKisanbi(year), helper.Helper.GetNenndoKimatsubi(year), kaikeiKubun, addKurikoshi: false, addPairedShikinDenpyou: true);

            CalcSummaryRows();
        }
Exemplo n.º 2
0
 public HoseiYosan(models.db.KaikeiDatabase db, int currentYear, int lastYear, int hoseiKaisuu)
 {
     yosanGengakuTable    = new YosanTable(db, currentYear, lastYear, 0, hoseiKaisuu - 1);
     konkaiHoseigakuTable = new YosanTable(db, currentYear, lastYear, hoseiKaisuu, hoseiKaisuu);
 }