Refactoring

This commit is contained in:
2024-11-28 11:59:06 +01:00
parent 646033353f
commit 432c295a24
15 changed files with 1230 additions and 1153 deletions

View File

@@ -1,62 +1,67 @@
{
"elements": [
{
"type": "Label",
"caption": "Influx Punkte"
},
{
"type": "Select",
"name": "InfluxJaNein",
"caption": "Influx Aufzeichnen Ja oder Nein",
"options": [
{ "caption": "Ja", "value": true },
{ "caption": "Nein", "value": false }
]
},
{
"type": "ValidationTextBox",
"name": "Anlagenummer",
"caption": "Influxadresse",
"suffix": "",
"validate": "^An_\\d{4}$"
},
{
"type": "ValidationTextBox",
"name": "Gerätenummer",
"caption": "Gerätenummer"
},
{
"type": "ValidationTextBox",
"name": "Ortschaft",
"caption": "Ortschaft"
},
{
"type": "List",
"name": "ZusatzVariablen",
"caption": "Zusätzliche Datenpunkte für Influxaufzeichnung",
"add": true,
"delete": true,
"columns": [
{
"caption": "Influx Name",
"name": "Variablenname",
"width": "200px",
"add": "",
"edit": {
"type": "ValidationTextBox"
}
},
{
"caption": "Datenpunkt",
"name": "Variable",
"width": "300px",
"add": 0,
"edit": {
"type": "SelectVariable"
}
"elements":[
{
"type":"Label",
"caption":"Influx Punkte"
},
{
"type":"Select",
"name":"InfluxJaNein",
"caption":"Influx Aufzeichnen Ja oder Nein",
"options":[
{
"caption":"Ja",
"value":true
},
{
"caption":"Nein",
"value":false
}
]
},
{
"type":"ValidationTextBox",
"name":"Anlagenummer",
"caption":"Influxadresse",
"suffix":"",
"validate":"^An_\\d{4}$"
},
{
"type":"ValidationTextBox",
"name":"Gerätenummer",
"caption":"Gerätenummer"
},
{
"type":"ValidationTextBox",
"name":"Ortschaft",
"caption":"Ortschaft"
},
{
"type":"List",
"name":"ZusatzVariablen",
"caption":"Zusätzliche Datenpunkte für Influxaufzeichnung",
"add":true,
"delete":true,
"columns":[
{
"caption":"Influx Name",
"name":"Variablenname",
"width":"200px",
"add":"",
"edit":{
"type":"ValidationTextBox"
}
]
}
},
{
"caption":"Datenpunkt",
"name":"Variable",
"width":"300px",
"add":0,
"edit":{
"type":"SelectVariable"
}
}
]
}
]
}
}