Beispiel #1
0
        public static void AppendResult(string file, Job jr)
        {
            var results = JobReader.ReadJson(file);

            results.Add(jr);
            WriteResults(file, results);
        }
Beispiel #2
0
        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);
        }