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

Updated sample config

parent cddd67a0
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ public class AppleScabModel extends I18nImpl implements Model{
private List<WeatherObservation> BT;
// Helper class
private WeatherUtil weatherUtil;
private final WeatherUtil weatherUtil;
public AppleScabModel()
{
......@@ -193,8 +193,10 @@ public class AppleScabModel extends I18nImpl implements Model{
@Override
public String getSampleConfig() {
return "{\n" +
"\t\"username\":\"example\",\n" +
"\t\"password\":\"example\",\n" +
"\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" +
......@@ -207,7 +209,7 @@ public class AppleScabModel extends I18nImpl implements Model{
"\t\t\t\t\"value\":2.937\n" +
"\t\t},\n" +
"\t\t{\n" +
"\t\t\t\t\"timeMeasured\": \"2012-03-25T00:00:00+02:00+02:00\",\n" +
"\t\t\t\t\"timeMeasured\": \"2012-03-25T00:00:00+02:00\",\n" +
"\t\t\t\t\"elementMeasurementTypeId\":\"RR\",\n" +
"\t\t\t\t\"logIntervalId\":1,\n" +
"\t\t\t\t\"value\":0\n" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment