diff --git a/Code/CSRender/CSRender/CompareTIFF.cs b/Code/CSRender/CSRender/CompareTIFF.cs index b7841a8e70333003b83815e67e76798a7a5ab524..9c87e7a04bc443667e47c00e803039b96ec7d90f 100644 --- a/Code/CSRender/CSRender/CompareTIFF.cs +++ b/Code/CSRender/CSRender/CompareTIFF.cs @@ -29,11 +29,8 @@ namespace CSRender //実行用コンソールの呼び出し ProcessStartInfo processStartInfo = new ProcessStartInfo(); processStartInfo.FileName = System.IO.Path.Combine(inExePath, "PureVerify.exe"); - //processStartInfo.FileName = "cmd.exe"; - //processStartInfo.WindowStyle = ProcessWindowStyle.Maximized; processStartInfo.CreateNoWindow = true; // コマンドプロンプトを非表示 processStartInfo.UseShellExecute = false; // シェル機能オフ - //processStartInfo.RedirectStandardOutput = true;//標準出力をリダイレクト //レポートに書き込む情報を編集 inTargetFileName = System.IO.Path.GetFileNameWithoutExtension(inTargetFileName); @@ -41,10 +38,6 @@ namespace CSRender //引数設定 processStartInfo.Arguments = inVerifyArg; - /*processStartInfo.Arguments = "/C "; - processStartInfo.Arguments += System.IO.Path.Combine(inExePath, "PureVerify.exe"); - processStartInfo.Arguments += " "; - processStartInfo.Arguments += inVerifyArg;*/ //対象ファイル名を設定 processStartInfo.Arguments += "/inspTiff \""; @@ -77,8 +70,6 @@ namespace CSRender //レポート記述内容の参照先 processStartInfo.Arguments += "/topPageInfo "; - //string textPath = System.IO.Path.Combine("PureVerify.Data", "RipVerify", "work", "OUT_INFO", "CSReportInf.txt"); - //processStartInfo.Arguments += System.IO.Path.Combine(appDirectory, textPath); processStartInfo.Arguments += reportInfoPath; //コンソールへの出力を制御 diff --git a/Code/CSRender/CSRender/MainWindow.xaml.cs b/Code/CSRender/CSRender/MainWindow.xaml.cs index 06743a4b4929d2c794267faf148e4d393e588124..b4d6df04db9b5bceaf36dff1bfa2a0d63430e4f5 100644 --- a/Code/CSRender/CSRender/MainWindow.xaml.cs +++ b/Code/CSRender/CSRender/MainWindow.xaml.cs @@ -571,22 +571,7 @@ namespace CSRender string[] reportFiles = System.IO.Directory.GetFiles(workDir, "*.pdf.log", System.IO.SearchOption.TopDirectoryOnly); foreach (var logfileName in reportFiles) { - /* - string tranceString = File.ReadLines(logfileName, Encoding.GetEncoding("Shift-JIS")).Skip(16).First();//16行目を抽出 - tranceString = tranceString.Replace("NG", "");//不要な部分をカット - tranceString = tranceString.Replace(":", ""); - tranceString = tranceString.Replace(" ", ""); - int NumOfThisFile = 0; - try - { - NumOfThisFile = Int32.Parse(tranceString); - } - catch (FormatException e) - { - NumOfThisFile = 0; - } - */ int[] NumOfThisFile = CompareTIFF.getNgOfPDF(logfileName); int NumOfThisNG = NumOfThisFile[0];