Revize 26ecc756
Přidáno uživatelem Alex Konig před téměř 4 roky(ů)
Server/ServerApp/Program.cs | ||
---|---|---|
1 | 1 |
using ServerApp.Connection; |
2 | 2 |
using ServerApp.Connection.XMLProtocolHandler; |
3 | 3 |
using ServerApp.DataDownload; |
4 |
using ServerApp.Parser.InputData; |
|
4 | 5 |
using ServerApp.Parser.OutputInfo; |
5 | 6 |
using ServerApp.Parser.Parsers; |
6 | 7 |
using ServerApp.Predictor; |
... | ... | |
131 | 132 |
|
132 | 133 |
// PARSE DATA |
133 | 134 |
|
134 |
JsonParser jsonP = new JsonParser(dd); |
|
135 |
JsonParser jsonP = new JsonParser(dd, new CsvDataLoader());
|
|
135 | 136 |
jsonP.ParsePrediction(); |
136 | 137 |
|
137 | 138 |
var res = jsonP.GetPredictionForTime(jsonP.Predictions[5].startTime, jsonP.Predictions[20].startTime); |
Také k dispozici: Unified diff
re #8962 Adding reading of file to string to CsvDataLoader