Projekt

Obecné

Profil

Stáhnout (1.26 KB) Statistiky
| Větev: | Tag: | Revize:
1
using Connection;
2
using DataDownload;
3
using Parser.Parsers;
4
using System;
5
using System.Collections.Generic;
6
using System.Linq;
7
using System.Text;
8
using System.Threading.Tasks;
9

    
10
namespace ServerApp
11
{
12
    class Program
13
    {
14
        static void Main(string[] args)
15
        {
16
            // ALEX
17
            //CsvParser p = new CsvParser();
18

    
19
            //p.Parse();
20

    
21

    
22
            // test scenario - data download:
23
            //DataDownloader dd = new DataDownloader();
24
            //         List<string> savedFiles = new List<string>();
25
            //         savedFiles.AddRange(dd.DownloadData(DataType.JIS, DataFormat.CSV, 2017, 2021, 0, 13));
26
            //         savedFiles.AddRange(dd.DownloadData(DataType.POCASI, DataFormat.CSV, 2017, 2021, 0, 13));
27
            //         savedFiles.AddRange(dd.DownloadData(DataType.STROJE, DataFormat.CSV, 2017, 2021, 0, 13));
28

    
29

    
30
            //         Console.WriteLine("Saved files: ");
31
            //         foreach(string s in savedFiles)
32
            //{
33
            //             Console.WriteLine(s);
34
            //}
35

    
36

    
37

    
38
            // test - connection:
39
            AsynchronousSocketListener asl = new AsynchronousSocketListener();
40
            asl.StartListening();
41
           
42

    
43
            Console.ReadLine();
44
        }
45
    }
46
}
(2-2/4)