Files
Symcon_Belevo_Energiemanage…/Abrechnung/form.json
2025-11-03 15:02:56 +01:00

93 lines
3.4 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": "" }
],
"rowTemplate": [
{ "type": "ValidationTextBox", "name": "id", "caption": "Benutzer-ID" },
{ "type": "ValidationTextBox", "name": "name", "caption": "Name" },
{ "type": "TextBox", "name": "address", "caption": "Adresse" },
{ "type": "TextBox", "name": "city", "caption": "Ort" }
]
}
]
},
{
"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": "" }
],
"rowTemplate": [
{ "type": "ValidationTextBox", "name": "id", "caption": "Zähler-ID" },
{ "type": "TextBox", "name": "name", "caption": "Zählername" },
{ "type": "SelectVariable", "name": "var_consumption", "caption": "Variable (Verbrauch)" },
{ "type": "SelectVariable", "name": "var_feed", "caption": "Variable (Bezug)" },
{ "type": "ValidationTextBox", "name": "user_id", "caption": "Benutzer-ID" }
]
}
]
},
{
"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": "" }
],
"rowTemplate": [
{ "type": "ValidationTextBox", "name": "id", "caption": "Zähler-ID" },
{ "type": "TextBox", "name": "name", "caption": "Zählername" },
{ "type": "SelectVariable", "name": "var_consumption", "caption": "Variable (Verbrauch)" },
{ "type": "ValidationTextBox", "name": "user_id", "caption": "Benutzer-ID" }
]
}
]
}
]
}