public List <InfoRow> GetCountsNone() { var ret = new List <InfoRow>(); string[] titles = { "Ieraksti", "Kontu plāns", "Darijumu žurnāla pazīmes" , "Papildpazīmes", "PVN pazīmes","Personas", "Dokumentu veidi", "Valūtas kursi" }; for (int i = 0; i < titles.Length; i++) { var ir = new InfoRow(titles[i], 0); ret.Add(ir); } return(ret); }
public List <InfoRow> GetCountA() { var ret = new List <InfoRow>(); string[] titles = { "Ieraksti", "Kontu plāns", "Darijumu žurnāla pazīmes" , "Papildpazīmes", "PVN pazīmes","Personas", "Dokumentu veidi", "Valūtas kursi" }; for (int i = 0; i < titles.Length; i++) { var shc = SheetsConfig[i]; var ir = new InfoRow(titles[i], shc.RowCount) { CountNew = shc.RowCountNew, CountExisting = shc.RowCountExisting, CountChanging = shc.RowCountChanging, CountBad = shc.RowCountBad }; ret.Add(ir); } return(ret); }