Files
EnergyCounter/Energy Counter Child/form.json
T

64 lines
2.0 KiB
JSON

{
"elements": [
{
"type": "Label",
"caption": "Values are calculated and reset only by the associated main module. This form controls visibility only; hidden values remain available in the background."
},
{
"type": "ExpansionPanel",
"caption": "Display variables",
"expanded": true,
"items": [
{
"type": "CheckBox",
"name": "ShowTotalEnergy",
"caption": "Show total energy"
},
{
"type": "CheckBox",
"name": "ShowTotalCost",
"caption": "Show total cost"
},
{
"type": "CheckBox",
"name": "ShowDayEnergy",
"caption": "Show daily energy"
},
{
"type": "CheckBox",
"name": "ShowDayCost",
"caption": "Show daily cost"
},
{
"type": "CheckBox",
"name": "ShowMonthEnergy",
"caption": "Show monthly energy"
},
{
"type": "CheckBox",
"name": "ShowMonthCost",
"caption": "Show monthly cost"
},
{
"type": "CheckBox",
"name": "ShowYearEnergy",
"caption": "Show yearly energy"
},
{
"type": "CheckBox",
"name": "ShowYearCost",
"caption": "Show yearly cost"
}
]
}
],
"actions": [
{
"type": "Button",
"caption": "Set total energy to current meter value",
"onClick": "ECC_SetTotalEnergyToCurrentSource($id);"
}
],
"status": []
}