forked from dampflok2000/SymconModulesDampflok2000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.json
63 lines (62 loc) · 3.52 KB
/
form.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"elements":
[
{
"type": "ExpansionPanel", "caption": "Garbage Types",
"items": [
{"type": "Label", "label": "Select garbage type:" },
{"type": "CheckBox", "name": "cbxGS", "caption": "Packaging waste" },
{"type": "CheckBox", "name": "cbxHM", "caption": "Household garbage"},
{"type": "CheckBox", "name": "cbxPP", "caption": "Cardboard bin"},
{"type": "CheckBox", "name": "cbxBO", "caption": "Organic waste"},
{"type": "CheckBox", "name": "cbxPT", "caption": "Pollutants"}
]
},
{
"type": "ExpansionPanel", "caption": "Notifications",
"items": [
{"type": "SelectInstance", "name": "PushInstanceID", "caption": "ID for push notifications"},
{"type": "SelectInstance", "name": "MailInstanceID", "caption": "ID for E-Mail notification:"},
{"type": "Label", "label": "Specification of the hour for the notification timer"},
{"type": "IntervalBox", "name": "IntervalNotificationTimer", "caption": "Hour"},
{"type": "IntervalBox", "name": "IntervalNotificationTimerMinute", "caption": "Minute"}
]
},
{
"type":"ExpansionPanel", "caption":"Update Timer",
"items": [
{"type": "Label", "label": "Specification of the hour for the update timer"},
{"type": "IntervalBox", "name": "IntervalUpdateTimer", "caption": "Hour"},
{"type": "IntervalBox", "name": "IntervalUpdateTimerMinute", "caption": "Minute"}
]
},
{
"type":"ExpansionPanel", "caption":"HTML Settings",
"items": [
{"type":"CheckBox", "name":"cbxHtmlShowDay", "caption":"Show day of week in HTML output"},
{"type":"RowLayout", "items":
[
{"type":"CheckBox", "name":"cbxHtmlResetColorToday", "caption":"Reset Today color at the following hour:"},
{"type": "IntervalBox", "name": "IntervalHtmlResetColorTodayTimer", "caption": "Hour"}
]
},
{"type": "NumberSpinner", "name": "TableFontSize", "caption": "HTML font size", "minimum": 0, "maximum": 600, "suffix": "%"},
{"type":"SelectColor", "name":"selColHtmlDefault", "caption":"HTML default font color", "allowTransparent":"False"},
{"type":"SelectColor", "name":"selColHtmlPickupDayTomorrow", "caption":"HTML pickupday font color for tomorrow", "allowTransparent":"False"},
{"type":"SelectColor", "name":"selColHtmlPickupDayToday", "caption":"HTML pickupday font color for today", "allowTransparent":"False"}
]
}
],
"actions":
[
{"type": "Button", "label": "Update Garbage collection appointments", "onClick": "AFK_UpdateWasteTimes($id, false);"},
{"type": "Button", "label": "Set demo data", "onClick": "AFK_SetDemoData($id, false);"}
],
"status":
[
{"code": 101, "icon": "active", "caption": "Module is functional. It may be necessary to import demo data once"},
{"code": 102, "icon": "active", "caption": "Module is functional"},
{"code": 201, "icon": "error", "caption": "At least one appointment variable is empty. Please deactivate it in the instance settings!"},
{"code": 202, "icon": "error", "caption": "The indication of the hour for the timer must be set in the range between 0-23!"}
]
}