74 lines
2.2 KiB
JSON
74 lines
2.2 KiB
JSON
{
|
|
"elements": [
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Benutzer",
|
|
"items": [
|
|
{
|
|
"type": "List",
|
|
"name": "Users",
|
|
"caption": "Benutzerliste",
|
|
"rowCount": 5,
|
|
"add": true,
|
|
"edit": true,
|
|
"delete": true,
|
|
"values": [],
|
|
"columns": [
|
|
{ "caption": "Benutzer-ID", "name": "id", "width": "15%", "add": "" },
|
|
{ "caption": "Name", "name": "name", "width": "35%", "add": "" },
|
|
{ "caption": "Adresse", "name": "address", "width": "30%", "add": "" },
|
|
{ "caption": "Ort", "name": "city", "width": "20%", "add": "" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Stromzähler",
|
|
"items": [
|
|
{
|
|
"type": "List",
|
|
"name": "PowerMeters",
|
|
"caption": "Stromzählerliste",
|
|
"rowCount": 5,
|
|
"add": true,
|
|
"edit": true,
|
|
"delete": true,
|
|
"values": [],
|
|
"columns": [
|
|
{ "caption": "Zähler-ID", "name": "id", "width": "10%", "add": "" },
|
|
{ "caption": "Name", "name": "name", "width": "25%", "add": "" },
|
|
{ "caption": "VariableID Verbrauch", "name": "var_consumption", "width": "20%", "add": 0 },
|
|
{ "caption": "VariableID Bezug", "name": "var_feed", "width": "20%", "add": 0 },
|
|
{ "caption": "Benutzer-ID", "name": "user_id", "width": "25%", "add": "" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Wasserzähler / Verbrauchszähler",
|
|
"items": [
|
|
{
|
|
"type": "List",
|
|
"name": "WaterMeters",
|
|
"caption": "Verbrauchszählerliste",
|
|
"rowCount": 5,
|
|
"add": true,
|
|
"edit": true,
|
|
"delete": true,
|
|
"values": [],
|
|
"columns": [
|
|
{ "caption": "Zähler-ID", "name": "id", "width": "15%", "add": "" },
|
|
{ "caption": "Name", "name": "name", "width": "35%", "add": "" },
|
|
{ "caption": "VariableID Verbrauch", "name": "var_consumption", "width": "25%", "add": 0 },
|
|
{ "caption": "Benutzer-ID", "name": "user_id", "width": "25%", "add": "" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|