public void Do() { //DateTime startTime = DateTime.Now; _outFileName = "output\\" + _lat.ToString() + "," + _lon.ToString() + ".txt"; if ((new FileInfo(_outFileName)).Exists) { Console.WriteLine(_inFileName + "-X>" + "已存在文件:" + _outFileName); Program.errLog.WriteLine(_inFileName + "-X>" + "已存在文件:" + _outFileName); Program.errLog.Flush(); return; } 提取者 t = new 提取者(_inFileName, _outFileName); t.提取(); //TimeSpan ts = DateTime.Now - startTime; //Console.WriteLine("耗时" + ts); }
public void Do() { //DateTime startTime = DateTime.Now; _outFileName = "output\\" + _lat.ToString() + "," + _lon.ToString() + ".txt"; if ((new FileInfo(_outFileName)).Exists) { Console.WriteLine(_inFileName + "-X>" + "已存在文件:" + _outFileName); Program.errLog.WriteLine(_inFileName + "-X>" + "已存在文件:" + _outFileName); Program.errLog.Flush(); return; } 提取者 t = new 提取者(_inFileName, _outFileName); t.提取(); //TimeSpan ts = DateTime.Now - startTime; //Console.WriteLine("耗时" + ts); }