Skip to content
Snippets Groups Projects
Commit 98891f4b authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Refactoring Result object

parent d9c98914
Branches
Tags
No related merge requests found
Pipeline #173 failed
...@@ -83,7 +83,7 @@ public class PsilaRosaeTempModel extends I18nImpl implements Model { ...@@ -83,7 +83,7 @@ public class PsilaRosaeTempModel extends I18nImpl implements Model {
while(this.dataMatrix.getParamDoubleValueForDate(currentDate, DataMatrix.TMDD5C) != null) while(this.dataMatrix.getParamDoubleValueForDate(currentDate, DataMatrix.TMDD5C) != null)
{ {
Result result = new ResultImpl(); Result result = new ResultImpl();
result.setResultValidTime(currentDate); result.setValidTimeStart(currentDate);
Double TMCurrentDate = ((WeatherObservation) this.dataMatrix.getParamValueForDate(currentDate, DataMatrix.TMD)).getValue(); Double TMCurrentDate = ((WeatherObservation) this.dataMatrix.getParamValueForDate(currentDate, DataMatrix.TMD)).getValue();
Double TMD5C = this.dataMatrix.getParamDoubleValueForDate(currentDate, DataMatrix.TMD5C); Double TMD5C = this.dataMatrix.getParamDoubleValueForDate(currentDate, DataMatrix.TMD5C);
Double TMDD5C = this.dataMatrix.getParamDoubleValueForDate(currentDate, DataMatrix.TMDD5C); Double TMDD5C = this.dataMatrix.getParamDoubleValueForDate(currentDate, DataMatrix.TMDD5C);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment