-
Notifications
You must be signed in to change notification settings - Fork 301
/
Copy path50..mc.tsp
74 lines (59 loc) · 1.09 KB
/
50..mc.tsp
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
64
65
66
67
68
69
70
71
72
73
74
import "@ebusd/ebus-typespec";
import "./_templates.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Dtm;
using Ebus.Str;
namespace Wolf;
namespace mc {
/** default *uw */
@write
@passive
model uw {}
/** Ertrag */
@inherit(uw)
@ext(MF, 0x18)
model Yields {
/** Solarleistung */
power: D2B;
/** Ertrag Tag */
yieldday: UIN;
/** Summe Ertrag */
yieldsum: UIN;
/** Summe Ertrag M */
yieldm: UCH;
}
/** Status */
@inherit(uw)
@ext(MF, 0x17)
model Status {
/** Solar Pumpe */
@values(Values_onoff)
pump: UCH;
@maxLength(1)
ign: IGN;
/** Kollektortemperatur */
collectortemp: temp;
/** Solartemperatur Warmwasser */
hwcsolartemp: temp;
}
/** Operation */
@inherit(uw)
@ext(MF, 0x14)
model Operation {
/** Status Solar */
status: HEX;
@maxLength(1)
ign: IGN;
/** Mischer Solltemperatur */
hctempdesired: temp2;
/** Raumtemperatur */
roomtemp: temp1;
/** Warmwasser Solltemperatur */
hwctempdesired: temp1;
}
enum Values_onoff {
off: 0xbc,
on: 0xbd,
}
}