public static void Main() { TestModule3_Params param = new TestModule3_Params(-2, 5000, "Analysis6"); //TestModule3_Params param = null; TestModule3 testModule = new TestModule3(); testModule.Init(param); while (true) { //Console.WriteLine("Press key to continue."); //Console.Read(); if (testModule.Ended()) break; Console.WriteLine(testModule.Progress()); testModule.ProcessData(); } }