public static void AppendResult(string file, Job jr) { var results = JobReader.ReadJson(file); results.Add(jr); WriteResults(file, results); }
public static XCelJobList Read(string path) { var tl = new XCelJobList(); tl.RowJobs = new List <Tuple <Job, int> >(); var xcel = new XCelBook(path); tl._bookPath = path; tl.RowJobs = JobReader.ReadExcelWithRowIndex(path); tl.SaveAction = () => tl.Save(); return(tl); }