diff --git a/Heizung_x_Stufig/form.json b/Heizung_x_Stufig/form.json index 1a1c317..bfe90c9 100644 --- a/Heizung_x_Stufig/form.json +++ b/Heizung_x_Stufig/form.json @@ -1,73 +1,90 @@ { "elements": [ { - "type": "ExpansionPanel", - "caption": "Heizung Einstellungen", - "items": [ + "type": "Label", + "caption": "Konfiguration der nötigen Schaltkontakte und Nennleistungen" + }, + { + "type":"Select", + "name":"Heizungstemperatur_glätten", + "caption":"Heizungstemperatur glätten", + "options":[ + { + "caption":"Ja", + "value":true + }, + { + "caption":"Nein", + "value":false + } + ] + }, + { + "type": "NumberSpinner", + "name": "ZeitKonstante", + "caption": "Zeit Konstante", + "suffix": "" + }, + { + "type": "NumberSpinner", + "name": "Interval", + "caption": "Intervall Neuberechnung der Werte Erst für spätere Versionen, aktuell auf 5 lassen!", + "suffix": "Sekunden" + }, + { + "type": "NumberSpinner", + "name": "IdleCounterMax", + "caption": "Zyklen zwischen zwei Leistungsänderungen (Multipliziert sich mit Interval)", + "suffix": "" + }, + { + "type": "ValidationTextBox", + "name": "Hysterese", + "caption": "Hysterese", + "value": "0.1", + "suffix": "°C" + }, + { + "type":"List", + "name":"LeistungsStufen", + "caption":"Anzahl Stufen mit den dazugehörigen Leistungen", + "add":true, + "delete":true, + "columns":[ { - "name": "LeistungsStufen", - "type": "List", - "caption": "Leistungsstufen", - "rowCount": 5, - "add": true, - "delete": true, - "sort": { - "column": "Leistung", - "direction": "ascending" - }, - "columns": [ - { - "label": "Leistung (W)", - "name": "Leistung", - "width": "150px", - "add": 0, - "edit": { - "type": "NumberSpinner" - } - }, - { - "label": "Schaltkontakt", - "name": "Schaltkontakt_Stufe", - "width": "250px", - "add": 0, - "edit": { - "type": "SelectVariable" - } - } - ] + "caption":"Stufe(n)", + "name":"Stufe", + "width":"200px", + "add":"Stufe", + "edit":{ + "type":"NumberSpinner" + } }, { - "type": "NumberSpinner", - "name": "Interval", - "caption": "Rechenintervall (Sekunden)" + "caption":"Leistung in W", + "name":"Leistung", + "width":"300px", + "add":0, + "edit":{ + "type":"NumberSpinner" + } }, { - "type": "NumberSpinner", - "name": "ZeitKonstante", - "caption": "PT1 Zeitkonstante" - }, - { - "type": "SelectVariable", - "name": "Heizungsfuehler_PT1", - "caption": "Heizungsfühler" - }, - { - "type": "CheckBox", - "name": "Heizungstemperatur_glätten", - "caption": "Heizungstemperatur glätten" - }, - { - "type": "ValidationTextBox", - "name": "Hysterese", - "caption": "Hysterese (z.B. 0.1)" - }, - { - "type": "NumberSpinner", - "name": "IdleCounterMax", - "caption": "Idle Counter Max" + "caption":"Schaltkontakt", + "name":"Schaltkontakt_Stufe", + "width":"400px", + "add":0, + "edit":{ + "type":"SelectVariable" + } } ] + }, + { + "type": "SelectVariable", + "name": "Heizungsfuehler_PT1", + "caption": "Variable für Heizungsfühler PT1", + "test": true } - ], - "actions": [] + ] } \ No newline at end of file