Revize dbf79345
Přidáno uživatelem Alex Konig před téměř 4 roky(ů)
Server/ServerApp/Parser/InputData/IDataLoader.cs | ||
---|---|---|
32 | 32 |
/// <returns></returns> |
33 | 33 |
List<WeatherInstance> LoadWeatherFile(string pathToFile); |
34 | 34 |
|
35 |
/// <summary> |
|
36 |
/// Load file into string |
|
37 |
/// </summary> |
|
38 |
/// <param name="path">Paht to file</param> |
|
39 |
/// <returns>Null if file does not exist, or file in string</returns> |
|
40 |
string LoadPredictionFile(string path); |
|
41 |
|
|
42 |
|
|
43 | 35 |
} |
44 | 36 |
} |
Server/ServerApp/WeatherPredictionParser/IJsonParser.cs | ||
---|---|---|
18 | 18 |
WeatherInfo current; |
19 | 19 |
public WeatherInfo Current { get => current; set => current = value; } |
20 | 20 |
|
21 |
/// <summary> Prediction for today, tommorrow and day after tommorrow </summary> |
|
21 |
/// <summary> Prediction for today, tommorrow and day after tommorrow (or for days more/less into the future) </summary>
|
|
22 | 22 |
List<WeatherInfo> predictions; |
23 | 23 |
public List<WeatherInfo> Predictions { get => predictions; set => predictions = value; } |
24 | 24 |
|
Také k dispozici: Unified diff
re #9036 Cleaning up interfaces