302 lines
11 KiB
JSON
302 lines
11 KiB
JSON
{
|
|
"elements": [
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Lizenzierung",
|
|
"expanded": true,
|
|
"items": [
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "Lizenzcode",
|
|
"caption": "Lizenzcode",
|
|
"placeholder": "ENX-XXXX-XXXX-XXXX-XXXX"
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"name": "LizenzInstallationID",
|
|
"caption": "Installations-ID wird erzeugt"
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"name": "LizenzInformation",
|
|
"caption": "Lizenzcode fehlt."
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "LizenzPruefen",
|
|
"caption": "Lizenz pruefen und binden",
|
|
"onClick": "IPS_RequestAction($id, 'FormLizenzPruefen', $Lizenzcode);"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Grundeinstellungen",
|
|
"expanded": true,
|
|
"items": [
|
|
{
|
|
"type": "Select",
|
|
"name": "Rolle",
|
|
"caption": "Rolle",
|
|
"options": [
|
|
{"caption": "Alleine", "value": 0},
|
|
{"caption": "Hauptmanager", "value": 1},
|
|
{"caption": "Untermanager", "value": 2}
|
|
]
|
|
},
|
|
{
|
|
"type": "SelectVariable",
|
|
"name": "NetzleistungVariableID",
|
|
"caption": "Netzleistung"
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "SollwertSolarladen",
|
|
"caption": "Sollwert Solarladen",
|
|
"suffix": " W",
|
|
"digits": 1
|
|
},
|
|
{
|
|
"type": "Select",
|
|
"name": "Lastspitzenmodus",
|
|
"caption": "Lastspitzenmodus",
|
|
"onChange": "IPS_RequestAction($id, 'FormLastspitzenmodus', $Lastspitzenmodus);",
|
|
"options": [
|
|
{"caption": "Aus", "value": 0},
|
|
{"caption": "Konstant", "value": 1},
|
|
{"caption": "Monatlich", "value": 2}
|
|
]
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "Lastspitzengrenze",
|
|
"caption": "Lastspitzengrenze",
|
|
"suffix": " W",
|
|
"digits": 1,
|
|
"visible": false
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "MonatsgrenzenUmschalten",
|
|
"caption": "Monatsgrenzen anzeigen",
|
|
"visible": false,
|
|
"onClick": "IPS_RequestAction($id, 'FormMonatsgrenzenUmschalten', true);"
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "Monatsgrenzen",
|
|
"caption": "Monatliche Lastspitzengrenzen",
|
|
"rowCount": 12,
|
|
"add": false,
|
|
"delete": false,
|
|
"sortable": false,
|
|
"loadValuesFromConfiguration": false,
|
|
"visible": false,
|
|
"columns": [
|
|
{
|
|
"caption": "Monat",
|
|
"name": "Monat",
|
|
"width": "auto",
|
|
"save": true
|
|
},
|
|
{
|
|
"caption": "Grenze",
|
|
"name": "Grenze_W",
|
|
"width": "180px",
|
|
"save": true,
|
|
"edit": {
|
|
"type": "NumberSpinner",
|
|
"suffix": " W",
|
|
"digits": 1
|
|
}
|
|
},
|
|
{
|
|
"caption": "Monatsnummer",
|
|
"name": "MonatIndex",
|
|
"width": "0px",
|
|
"visible": false,
|
|
"save": true
|
|
}
|
|
],
|
|
"values": []
|
|
},
|
|
{
|
|
"type": "CheckBox",
|
|
"name": "AutomatischeSuche",
|
|
"caption": "Verbraucher automatisch suchen",
|
|
"onChange": "IPS_RequestAction($id, 'FormAutomatischeSuche', $AutomatischeSuche);"
|
|
},
|
|
{
|
|
"type": "SelectObject",
|
|
"name": "SuchbereichID",
|
|
"caption": "Suchbereich",
|
|
"visible": true
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "VerbraucherAktualisieren",
|
|
"caption": "Verbraucher aktualisieren",
|
|
"visible": true,
|
|
"onClick": "IPS_RequestAction($id, 'FormVerbraucherAktualisieren', json_encode(['SuchbereichID' => $SuchbereichID, 'Zuordnung' => $AutomatischeVerbraucherZuordnung]));"
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "VerbraucherZuordnung",
|
|
"caption": "Verbraucher manuell auswaehlen",
|
|
"rowCount": 6,
|
|
"add": true,
|
|
"delete": true,
|
|
"sortable": true,
|
|
"visible": false,
|
|
"columns": [
|
|
{
|
|
"caption": "Instanz",
|
|
"name": "InstanzID",
|
|
"width": "auto",
|
|
"add": 0,
|
|
"edit": {"type": "SelectInstance"}
|
|
},
|
|
{
|
|
"caption": "Aktiv",
|
|
"name": "Aktiv",
|
|
"width": "100px",
|
|
"add": false,
|
|
"edit": {"type": "CheckBox"}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "AutomatischeVerbraucherZuordnung",
|
|
"caption": "Gefundene Verbraucher",
|
|
"rowCount": 8,
|
|
"add": false,
|
|
"delete": false,
|
|
"loadValuesFromConfiguration": false,
|
|
"visible": true,
|
|
"columns": [
|
|
{
|
|
"caption": "Verbraucher",
|
|
"name": "Name",
|
|
"width": "auto",
|
|
"save": true
|
|
},
|
|
{
|
|
"caption": "Instanz-ID",
|
|
"name": "InstanzID",
|
|
"width": "100px",
|
|
"save": true
|
|
},
|
|
{
|
|
"caption": "Verwenden",
|
|
"name": "Aktiv",
|
|
"width": "100px",
|
|
"save": true,
|
|
"edit": {"type": "CheckBox"}
|
|
}
|
|
],
|
|
"values": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Erweiterte Einstellungen",
|
|
"items": [
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "KeepAlive",
|
|
"caption": "Keep alive",
|
|
"suffix": " s",
|
|
"minimum": 1
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "VerbraucherTimeout",
|
|
"caption": "Verbraucher-Timeout",
|
|
"suffix": " s",
|
|
"minimum": 1
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "MesswertMaxAlter",
|
|
"caption": "Maximales Messwertalter",
|
|
"suffix": " s",
|
|
"minimum": 1
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "Umschaltdifferenz",
|
|
"caption": "Mindestdifferenz vor Umschaltung",
|
|
"suffix": " %",
|
|
"minimum": 0,
|
|
"maximum": 100,
|
|
"digits": 1
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "Netzleistungsfaktor",
|
|
"caption": "Netzleistungsfaktor",
|
|
"digits": 4
|
|
},
|
|
{
|
|
"type": "CheckBox",
|
|
"name": "DiagnosevariablenAnzeigen",
|
|
"caption": "Diagnosevariablen anlegen"
|
|
},
|
|
{
|
|
"type": "CheckBox",
|
|
"name": "LoggingEin",
|
|
"caption": "Laufendes Debug-Logging aktivieren"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Prognose / Forecast",
|
|
"items": [
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "PrognoseAnschluss",
|
|
"caption": "Konfiguration als JSON"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "SDL / VGT",
|
|
"items": [
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "SDLAnschluss",
|
|
"caption": "Konfiguration als JSON"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Stoerueberwachung",
|
|
"items": [
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "StoermeldeAnschluss",
|
|
"caption": "Konfiguration als JSON"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"type": "Button",
|
|
"caption": "Regelung jetzt ausfuehren",
|
|
"onClick": "IPS_RequestAction($id, 'Regeln', true);"
|
|
}
|
|
],
|
|
"status": [
|
|
{"code": 102, "icon": "active", "caption": "Aktiv"},
|
|
{"code": 201, "icon": "inactive", "caption": "Netzleistungsmessung fehlt oder ist veraltet"},
|
|
{"code": 202, "icon": "error", "caption": "Konfiguration ungueltig"},
|
|
{"code": 203, "icon": "error", "caption": "Lizenz fehlt oder ist abgelaufen"}
|
|
]
|
|
}
|