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

Refactoring Result object

parent adde2142
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ public class DOWNCASTModel extends I18nImpl implements Model { ...@@ -77,7 +77,7 @@ public class DOWNCASTModel extends I18nImpl implements Model {
while(currentDate.compareTo(lastDate) <= 0) while(currentDate.compareTo(lastDate) <= 0)
{ {
Result result = new ResultImpl(); Result result = new ResultImpl();
result.setResultValidTime(currentDate); result.setValidTimeStart(currentDate);
Integer sporulationValue = this.dataMatrix.getParamIntValueForDate(currentDate, DataMatrix.SPORULATION_VALUE); Integer sporulationValue = this.dataMatrix.getParamIntValueForDate(currentDate, DataMatrix.SPORULATION_VALUE);
Integer infectionDirectlyAfterSporulation = this.dataMatrix.getParamIntValueForDate(currentDate, DataMatrix.INFECTION_DIRECTLY_AFTER_SPORULATION); Integer infectionDirectlyAfterSporulation = this.dataMatrix.getParamIntValueForDate(currentDate, DataMatrix.INFECTION_DIRECTLY_AFTER_SPORULATION);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment