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

Refactored result to user namespace FORECAST for threshold values

parent cf81b00c
Branches
Tags
No related merge requests found
......@@ -109,8 +109,8 @@ public class NaerstadModel extends I18nImpl implements Model{
if(this.DEBUG)
System.out.println("RISK(" + thePresent + ")=" + RISK);
result.setValue(this.getModelId().toString(), "THRESHOLD_LOW", THRESHOLD_MINOR_RISK.toString());
result.setValue(this.getModelId().toString(), "THRESHOLD_HIGH", THRESHOLD_HIGH_RISK.toString());
result.setValue(CommonNamespaces.NS_FORECAST, "THRESHOLD_LOW", THRESHOLD_MINOR_RISK.toString());
result.setValue(CommonNamespaces.NS_FORECAST, "THRESHOLD_HIGH", THRESHOLD_HIGH_RISK.toString());
result.setValue(this.getModelId().toString(), "RISK", dFormat.format(RISK));
result.setValue(this.getModelId().toString(), "TSHH", dFormat.format(this.backgroundData.getParamDoubleValueForDate(thePresent, NaerstadModelBackgroundDataMatrix.TSHH)));
result.setValue(this.getModelId().toString(), "SPH", dFormat.format(this.backgroundData.getParamIntValueForDate(thePresent, NaerstadModelBackgroundDataMatrix.SPH)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment