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

Tidying up

parent f71e426f
Branches
No related tags found
No related merge requests found
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
package no.nibio.vips.model.yellowstemborertempmodel; package no.nibio.vips.model.yellowstemborertempmodel;
import java.io.IOException; import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import java.text.ParseException; import java.text.ParseException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
...@@ -218,32 +216,9 @@ public class YellowStemborerTempModel extends I18nImpl implements Model { ...@@ -218,32 +216,9 @@ public class YellowStemborerTempModel extends I18nImpl implements Model {
@Override @Override
public String getSampleConfig() { public String getSampleConfig() {
return "{\n" + return "TODO";
"\t\"loginInfo\":{\n" +
"\t\t\"username\":\"example\",\n" +
"\t\t\"password\":\"example\"\n" +
"\t},\n" +
"\t\"modelId\":\"" + MODEL_ID.toString() + "\",\n" +
"\t\"configParameters\":{\n" +
"\t\t\"timeZone\": \"Europe/Oslo\",\n" +
"\t\t\"observations\":[\n" +
"\t\t{\n" +
"\t\t\t\t\"timeMeasured\": \"2015-01-01T00:00:00+02:00\",\n" +
"\t\t\t\t\"elementMeasurementTypeId\":\"TN\",\n" +
"\t\t\t\t\"logIntervalId\":2,\n" +
"\t\t\t\t\"value\":10.1\n" +
"\t\t}.\n" +
"\t\t{\n" +
"\t\t\t\t\"timeMeasured\": \"2015-01-01T00:00:00+02:00\",\n" +
"\t\t\t\t\"elementMeasurementTypeId\":\"TX\",\n" +
"\t\t\t\t\"logIntervalId\":2,\n" +
"\t\t\t\t\"value\":25.1\n" +
"\t\t}\n" +
"]}\n";
} }
@Override @Override
public void setConfiguration(ModelConfiguration config) throws ConfigValidationException { public void setConfiguration(ModelConfiguration config) throws ConfigValidationException {
...@@ -413,7 +388,5 @@ public class YellowStemborerTempModel extends I18nImpl implements Model { ...@@ -413,7 +388,5 @@ public class YellowStemborerTempModel extends I18nImpl implements Model {
today = cal.getTime(); today = cal.getTime();
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment