{
  "elements": [
    {
      "type": "Label",
      "caption": "Sofar Wechselrichter Konfiguration"
    },
    {
      "type": "ValidationTextBox",
      "name": "IPAddress",
      "caption": "Inverter IP-Adresse"
    },
    {
      "type": "ValidationTextBox",
      "name": "LoggerNumber",
      "caption": "Logger-Seriennummer"
    },
    {
      "type": "NumberSpinner",
      "name": "PollInterval",
      "caption": "Abfragezyklus (Sekunden)",
      "minimum": 1,
      "suffix": "s"
    },
    {
      "type": "List",
      "name": "Registers",
      "caption": "Register-Tabelle",
      "add": "Neues Register hinzufügen",
      "delete": "Lösche Eintrag",
      "columns": [
        {
          "caption": "Register-Nummer",
          "name": "RegisterNumber",
          "width": "200px",
          "add": 0,
          "edit": {
            "type": "NumberSpinner",
            "minimum": 0
          }
        },
        {
          "caption": "Bezeichnung",
          "name": "Label",
          "width": "300px",
          "add": "",
          "edit": {
            "type": "ValidationTextBox"
          }
        },
        {
          "caption": "Skalierungs-faktor",
          "name": "ScalingFactor",
          "width": "200px",
          "add": 1,
          "edit": {
            "type": "NumberSpinner",
            "digits": 4,
            "minimum": -999999, 
            "maximum": 999999
          }         
        },
        {
          "caption": "Endian",
          "name": "Endian",
          "width": "80px",
          "add": "BE",
          "edit": {
            "type": "Select",
            "options": [
              { "caption": "BE", "value": "BE" },
              { "caption": "LE", "value": "LE" }
            ]
          }
        },
        {
          "caption": "Bit-Länge",
          "name": "BitLength",
          "width": "80px",
          "add": "16",
          "edit": {
            "type": "Select",
            "options": [
              { "caption": "16 Bit", "value": "16" },
              { "caption": "32 Bit", "value": "32" },
              { "caption": "64 Bit", "value": "64" }
            ]
          }
        },
        {
          "caption": "Signed/Unsigned",
          "name": "Signedness",
          "width": "100px",
          "add": "Unsigned",
          "edit": {
            "type": "Select",
            "options": [
              { "caption": "Unsigned", "value": "Unsigned" },
              { "caption": "Signed", "value": "Signed" }
            ]
          }
        }
      ]
    }
  ],
  "actions": []
}
