-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkdevice_DFF_4.1.h
223 lines (220 loc) · 10.6 KB
/
kdevice_DFF_4.1.h
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
#define MANUFACTURER_ID 49374
#define DEVICE_ID 1
#define REVISION 0
#define COMOBJ_firmwareTransfer 0
#define COMOBJ_centralWindowOpenClose 1
#define COMOBJ_centralWindowStop 2
#define COMOBJ_centralWindowAbsPosition 3
#define COMOBJ_centralShutterOpenClose 4
#define COMOBJ_centralShutterStop 5
#define COMOBJ_centralShutterAbsPosition 6
#define COMOBJ_centralShutterLock 7
#define COMOBJ_centralVentilation 8
#define COMOBJ_abOpenClose 9
#define COMOBJ_abStop 10
#define COMOBJ_abAbsPosition 11
#define COMOBJ_abReference 12
#define COMOBJ_abDriveToPosition 13
#define COMOBJ_abVentilation 14
#define COMOBJ_abWindAlarm 15
#define COMOBJ_abRainAlarm 16
#define COMOBJ_abStatusCurrentPos 17
#define COMOBJ_abStatusOpenPos 18
#define COMOBJ_abStatusClosePos 19
#define COMOBJ_abStatusMovement 20
#define COMOBJ_abStatusMovementOpen 21
#define COMOBJ_abStatusMovementClose 22
#define COMOBJ_abStatusMovementDirection 23
#define COMOBJ_abStatusLock 24
#define PARAM_startupDelay 0
#define PARAM_triggerTime 1
#define PARAM_manualControl 2
#define PARAM_ventilationTime 3
#define PARAM_setting_channel_ab 4
#define PARAM_setting_channel_cd 5
#define PARAM_setting_channel_ef 6
#define PARAM_setting_channel_gh 7
#define PARAM_channel_runTimeOpen 8
#define PARAM_channel_runTimeClose 9
#define PARAM_channel_runTimeRollover 10
#define PARAM_channel_lockAction 11
#define PARAM_channel_unlockAction 12
#define PARAM_channel_rainAlarm 13
#define PARAM_channel_rainAlarmObservationTime 14
#define PARAM_channel_rainAlarmAction 15
#define PARAM_channel_windAlarm 16
#define PARAM_channel_windAlarmObservationTime 17
#define PARAM_channel_windAlarmAction 18
#define PARAM_channel_ventByComObj 19
#define PARAM_channel_absPositionComObj 20
#define PARAM_channel_driveToPositionComObj 21
#define PARAM_channel_driveToPositionValue 22
#define PARAM_channel_referenceRunComObj 23
#define PARAM_channel_runStatusComObj 24
#define PARAM_channel_absPosStatusComObj 25
#define PARAM_channel_runStatusPositionComObj 26
#ifdef KONNEKTING_h
KnxComObject KnxDevice::_comObjectsList[] = {
/* Index 0 - firmwareTransfer */ KnxComObject(KNX_DPT_60000_60000, 0x2a),
/* Index 1 - centralWindowOpenClose */ KnxComObject(KNX_DPT_1_007, 0x2a),
/* Index 2 - centralWindowStop */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 3 - centralWindowAbsPosition */ KnxComObject(KNX_DPT_5_001, 0x2a),
/* Index 4 - centralShutterOpenClose */ KnxComObject(KNX_DPT_1_007, 0x2a),
/* Index 5 - centralShutterStop */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 6 - centralShutterAbsPosition */ KnxComObject(KNX_DPT_5_001, 0x2a),
/* Index 7 - centralShutterLock */ KnxComObject(KNX_DPT_1_003, 0x2a),
/* Index 8 - centralVentilation */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 9 - abOpenClose */ KnxComObject(KNX_DPT_1_009, 0x2a),
/* Index 10 - abStop */ KnxComObject(KNX_DPT_1_010, 0x2a),
/* Index 11 - abAbsPosition */ KnxComObject(KNX_DPT_5_001, 0x2a),
/* Index 12 - abReference */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 13 - abDriveToPosition */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 14 - abVentilation */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 15 - abWindAlarm */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 16 - abRainAlarm */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 17 - abStatusCurrentPos */ KnxComObject(KNX_DPT_5_001, 0x34),
/* Index 18 - abStatusOpenPos */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 19 - abStatusClosePos */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 20 - abStatusMovement */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 21 - abStatusMovementOpen */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 22 - abStatusMovementClose */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 23 - abStatusMovementDirection */ KnxComObject(KNX_DPT_1_008, 0x2a),
/* Index 24 - abStatusLock */ KnxComObject(KNX_DPT_1_011, 0x34),
/* Index 25 - null */ KnxComObject(KNX_DPT_1_009, 0x2a),
/* Index 26 - null */ KnxComObject(KNX_DPT_1_010, 0x2a),
/* Index 27 - null */ KnxComObject(KNX_DPT_5_001, 0x2a),
/* Index 28 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 29 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 30 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 31 - null */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 32 - null */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 33 - null */ KnxComObject(KNX_DPT_5_001, 0x34),
/* Index 34 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 35 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 36 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 37 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 38 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 39 - null */ KnxComObject(KNX_DPT_1_008, 0x2a),
/* Index 40 - null */ KnxComObject(KNX_DPT_1_011, 0x34),
/* Index 41 - null */ KnxComObject(KNX_DPT_1_009, 0x2a),
/* Index 42 - null */ KnxComObject(KNX_DPT_1_010, 0x2a),
/* Index 43 - null */ KnxComObject(KNX_DPT_5_001, 0x2a),
/* Index 44 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 45 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 46 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 47 - null */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 48 - null */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 49 - null */ KnxComObject(KNX_DPT_5_001, 0x34),
/* Index 50 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 51 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 52 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 53 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 54 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 55 - null */ KnxComObject(KNX_DPT_1_008, 0x2a),
/* Index 56 - null */ KnxComObject(KNX_DPT_1_011, 0x34),
/* Index 57 - null */ KnxComObject(KNX_DPT_1_009, 0x2a),
/* Index 58 - null */ KnxComObject(KNX_DPT_1_010, 0x2a),
/* Index 59 - null */ KnxComObject(KNX_DPT_5_001, 0x2a),
/* Index 60 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 61 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 62 - null */ KnxComObject(KNX_DPT_1_001, 0x2a),
/* Index 63 - null */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 64 - null */ KnxComObject(KNX_DPT_1_005, 0x2a),
/* Index 65 - null */ KnxComObject(KNX_DPT_5_001, 0x34),
/* Index 66 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 67 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 68 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 69 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 70 - null */ KnxComObject(KNX_DPT_1_001, 0x34),
/* Index 71 - null */ KnxComObject(KNX_DPT_1_008, 0x2a),
/* Index 72 - null */ KnxComObject(KNX_DPT_1_011, 0x34)
};
const byte KnxDevice::_numberOfComObjects = sizeof (_comObjectsList) / sizeof (KnxComObject); // do not change this code
byte KonnektingDevice::_paramSizeList[] = {
/* Index 0 - startupDelay */ PARAM_UINT8,
/* Index 1 - triggerTime */ PARAM_UINT8,
/* Index 2 - manualControl */ PARAM_UINT8,
/* Index 3 - ventilationTime */ PARAM_UINT8,
/* Index 4 - setting_channel_ab */ PARAM_UINT8,
/* Index 5 - setting_channel_cd */ PARAM_UINT8,
/* Index 6 - setting_channel_ef */ PARAM_UINT8,
/* Index 7 - setting_channel_gh */ PARAM_UINT8,
/* Index 8 - channel_runTimeOpen */ PARAM_UINT8,
/* Index 9 - channel_runTimeClose */ PARAM_UINT8,
/* Index 10 - channel_runTimeRollover */ PARAM_UINT8,
/* Index 11 - channel_lockAction */ PARAM_UINT8,
/* Index 12 - channel_unlockAction */ PARAM_UINT8,
/* Index 13 - channel_rainAlarm */ PARAM_UINT8,
/* Index 14 - channel_rainAlarmObservationTime */ PARAM_UINT8,
/* Index 15 - channel_rainAlarmAction */ PARAM_UINT8,
/* Index 16 - channel_windAlarm */ PARAM_UINT8,
/* Index 17 - channel_windAlarmObservationTime */ PARAM_UINT8,
/* Index 18 - channel_windAlarmAction */ PARAM_UINT8,
/* Index 19 - channel_ventByComObj */ PARAM_UINT8,
/* Index 20 - channel_absPositionComObj */ PARAM_UINT8,
/* Index 21 - channel_driveToPositionComObj */ PARAM_UINT8,
/* Index 22 - channel_driveToPositionValue */ PARAM_UINT8,
/* Index 23 - channel_referenceRunComObj */ PARAM_UINT8,
/* Index 24 - channel_runStatusComObj */ PARAM_UINT8,
/* Index 25 - channel_absPosStatusComObj */ PARAM_UINT8,
/* Index 26 - channel_runStatusPositionComObj */ PARAM_UINT8,
/* Index 27 - null */ PARAM_UINT8,
/* Index 28 - null */ PARAM_UINT8,
/* Index 29 - null */ PARAM_UINT8,
/* Index 30 - null */ PARAM_UINT8,
/* Index 31 - null */ PARAM_UINT8,
/* Index 32 - null */ PARAM_UINT8,
/* Index 33 - null */ PARAM_UINT8,
/* Index 34 - null */ PARAM_UINT8,
/* Index 35 - null */ PARAM_UINT8,
/* Index 36 - null */ PARAM_UINT8,
/* Index 37 - null */ PARAM_UINT8,
/* Index 38 - null */ PARAM_UINT8,
/* Index 39 - null */ PARAM_UINT8,
/* Index 40 - null */ PARAM_UINT8,
/* Index 41 - null */ PARAM_UINT8,
/* Index 42 - null */ PARAM_UINT8,
/* Index 43 - null */ PARAM_UINT8,
/* Index 44 - null */ PARAM_UINT8,
/* Index 45 - null */ PARAM_UINT8,
/* Index 46 - null */ PARAM_UINT8,
/* Index 47 - null */ PARAM_UINT8,
/* Index 48 - null */ PARAM_UINT8,
/* Index 49 - null */ PARAM_UINT8,
/* Index 50 - null */ PARAM_UINT8,
/* Index 51 - null */ PARAM_UINT8,
/* Index 52 - null */ PARAM_UINT8,
/* Index 53 - null */ PARAM_UINT8,
/* Index 54 - null */ PARAM_UINT8,
/* Index 55 - null */ PARAM_UINT8,
/* Index 56 - null */ PARAM_UINT8,
/* Index 57 - null */ PARAM_UINT8,
/* Index 58 - null */ PARAM_UINT8,
/* Index 59 - null */ PARAM_UINT8,
/* Index 60 - null */ PARAM_UINT8,
/* Index 61 - null */ PARAM_UINT8,
/* Index 62 - null */ PARAM_UINT8,
/* Index 63 - null */ PARAM_UINT8,
/* Index 64 - null */ PARAM_UINT8,
/* Index 65 - null */ PARAM_UINT8,
/* Index 66 - null */ PARAM_UINT8,
/* Index 67 - null */ PARAM_UINT8,
/* Index 68 - null */ PARAM_UINT8,
/* Index 69 - null */ PARAM_UINT8,
/* Index 70 - null */ PARAM_UINT8,
/* Index 71 - null */ PARAM_UINT8,
/* Index 72 - null */ PARAM_UINT8,
/* Index 73 - null */ PARAM_UINT8,
/* Index 74 - null */ PARAM_UINT8,
/* Index 75 - null */ PARAM_UINT8,
/* Index 76 - null */ PARAM_UINT8,
/* Index 77 - null */ PARAM_UINT8,
/* Index 78 - null */ PARAM_UINT8,
/* Index 79 - null */ PARAM_UINT8,
/* Index 80 - null */ PARAM_UINT8,
/* Index 81 - null */ PARAM_UINT8,
/* Index 82 - null */ PARAM_UINT8,
/* Index 83 - null */ PARAM_UINT8
};
const int KonnektingDevice::_numberOfParams = sizeof (_paramSizeList); // do not change this code
#endif