Repository navigation
Expand file tree
/
Copy pathservice.h
More file actions
48 lines (44 loc) · 1.59 KB
/
Copy pathservice.h
File metadata and controls
48 lines (44 loc) · 1.59 KB
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
//***************************************************************************
// Automation Control
// File service.h
// This code is distributed under the terms and conditions of the
// GNU GENERAL PUBLIC LICENSE. See the file LICENSE for details.
// Date 2010-2026 Jörg Wendel
//***************************************************************************
//***************************************************************************
// Class Service
//***************************************************************************
class Service
{
public:
enum SensorOptions
{
soNone = 0x00,
soSwitch = 0x01,
soDim = 0x02,
soColor = 0x04
};
enum WidgetType
{
wtUnknown = -1,
wtSymbol = 0, // == 0
wtChart, // == 1
wtText, // == 2
wtValue, // == 3
wtGauge, // == 4
wtMeter, // == 5
wtMeterLevel, // == 6
wtPlainText, // == 7 without title
wtChoice, // == 8 option choice
wtSymbolValue, // == 9
wtSpace, // == 10
wtTime, // == 11 // dummy to display current time at WEBIF
wtSymbolText, // == 12
wtChartBar, // == 13
wtSpecialSymbol, // == 14
wtLevel, // == 15 MDI symbol filled by percentage
wtBalance, // == 16 horizontal bar with zero in the middle for bipolar values
wtTimer, // == 17 HASP only (countdown running in the panel firmware)
wtCount
};
};