Aggregator.cs 702 B

1234567891011121314151617181920212223242526272829
  1. using ConsoleApplication6;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading;
  8. using System.Threading.Tasks;
  9. namespace AggregatorFinal.DataAggregator
  10. {
  11. class Aggregator
  12. {
  13. public static String targetFolder = "aggregatedData";
  14. public static String resultFolder = "collectedData";
  15. public static String reportFolder = "reports";
  16. Thread thread = new Thread(threadFunction);
  17. public Aggregator()
  18. {
  19. thread.Start();
  20. }
  21. static void threadFunction()
  22. {
  23. FirstPhase.handel(resultFolder, targetFolder);
  24. }
  25. }
  26. }