initial commit
This commit is contained in:
commit
faa518ccd8
10 files changed
+704
No files matched your search
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"type": "SelectCategory",
|
||||
"name": "TargetCategoryID",
|
||||
"caption": "Category for counter child instances"
|
||||
},
|
||||
{
|
||||
"type": "NumberSpinner",
|
||||
"name": "GlobalPricePerKWh",
|
||||
"caption": "Global electricity tariff per kWh (€)",
|
||||
"digits": 4
|
||||
},
|
||||
{
|
||||
"type": "List",
|
||||
"name": "Counters",
|
||||
"caption": "Counters (meter values must be cumulative kWh values)",
|
||||
"rowCount": 6,
|
||||
"add": true,
|
||||
"delete": true,
|
||||
"columns": [
|
||||
{
|
||||
"caption": "Counter name",
|
||||
"name": "CounterName",
|
||||
"width": "250px",
|
||||
"add": "New counter",
|
||||
"edit": {
|
||||
"type": "ValidationTextBox"
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Meter value variable",
|
||||
"name": "SourceVariableID",
|
||||
"width": "300px",
|
||||
"add": 0,
|
||||
"edit": {
|
||||
"type": "SelectVariable",
|
||||
"validVariableTypes": [1, 2]
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Use custom tariff",
|
||||
"name": "UseOwnTariff",
|
||||
"width": "170px",
|
||||
"add": false,
|
||||
"edit": {
|
||||
"type": "CheckBox"
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Custom tariff per kWh (€)",
|
||||
"name": "PricePerKWh",
|
||||
"width": "150px",
|
||||
"add": 0,
|
||||
"edit": {
|
||||
"type": "NumberSpinner",
|
||||
"digits": 4
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "Label",
|
||||
"caption": "Unless a custom tariff is enabled, the counter uses the global electricity tariff. Meter values are evaluated continuously; daily and monthly values reset automatically. Manual resets affect calculated values only, never the source variable."
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "Button",
|
||||
"caption": "Synchronize child instances",
|
||||
"onClick": "ECM_SynchronizeChildren($id);"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"caption": "Update values now",
|
||||
"onClick": "ECM_UpdateValues($id);"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"caption": "Reset total values",
|
||||
"onClick": "ECM_ResetTotalEnergy($id);"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"caption": "Reset daily values",
|
||||
"onClick": "ECM_ResetDayEnergy($id);"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"caption": "Reset monthly values",
|
||||
"onClick": "ECM_ResetMonthEnergy($id);"
|
||||
}
|
||||
],
|
||||
"status": [
|
||||
{
|
||||
"code": 102,
|
||||
"icon": "active",
|
||||
"caption": "Active"
|
||||
},
|
||||
{
|
||||
"code": 201,
|
||||
"icon": "error",
|
||||
"caption": "Category missing or invalid"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user