Revize 78428231
Přidáno uživatelem Alex Konig před asi 4 roky(ů)
Server/ServerApp/Parser/Parsers/CsvParser.cs | ||
---|---|---|
14 | 14 |
JisParser jisParser; |
15 | 15 |
LogInParser loginParser; |
16 | 16 |
|
17 |
public List<WeatherInfo> weatherList; |
|
18 |
public List<JisInfo> jisList; |
|
19 |
public List<LogInInfo> loginList; |
|
20 |
|
|
17 | 21 |
public CsvParser() |
18 | 22 |
{ |
19 | 23 |
TagInfo.CreateDictionaries(); |
... | ... | |
34 | 38 |
string pathJis = path + "jis"; |
35 | 39 |
string pathLogIn = path + "login"; |
36 | 40 |
|
37 |
|
|
38 |
List<WeatherInfo> weatherList = weatherParser.ParseWeatherData(pathWeather); |
|
39 |
List<JisInfo> jisList = jisParser.ParseJisData(pathJis); |
|
40 |
List<LogInInfo> loginList = loginParser.ParseLogInData(pathLogIn); |
|
41 |
weatherList = weatherParser.ParseWeatherData(pathWeather); |
|
42 |
jisList = jisParser.ParseJisData(pathJis); |
|
43 |
loginList = loginParser.ParseLogInData(pathLogIn); |
|
41 | 44 |
|
42 | 45 |
Console.WriteLine("WEATHER"); |
43 | 46 |
WriteToConsole(weatherList); |
Také k dispozici: Unified diff
Simple parser - missing comments, code needed asap - minor edit in code