Coverage Report

Created: 2026-03-27 06:51

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/connectedhomeip/zzz_generated/app-common/clusters/PumpConfigurationAndControl/Events.h
Line
Count
Source
1
/*
2
 *
3
 *    Copyright (c) 2022 Project CHIP Authors
4
 *
5
 *    Licensed under the Apache License, Version 2.0 (the "License");
6
 *    you may not use this file except in compliance with the License.
7
 *    You may obtain a copy of the License at
8
 *
9
 *        http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *    Unless required by applicable law or agreed to in writing, software
12
 *    distributed under the License is distributed on an "AS IS" BASIS,
13
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *    See the License for the specific language governing permissions and
15
 *    limitations under the License.
16
 */
17
18
// THIS FILE IS GENERATED BY ZAP
19
// This file is generated from clusters-Events.h.zapt
20
21
#pragma once
22
23
#include <app/EventLoggingTypes.h>
24
#include <app/data-model/DecodableList.h>
25
#include <app/data-model/List.h>
26
#include <app/data-model/Nullable.h>
27
#include <lib/core/DataModelTypes.h>
28
#include <lib/core/TLV.h>
29
#include <lib/support/BitMask.h>
30
31
#include <clusters/shared/Enums.h>
32
#include <clusters/shared/Structs.h>
33
34
#include <clusters/PumpConfigurationAndControl/ClusterId.h>
35
#include <clusters/PumpConfigurationAndControl/Enums.h>
36
#include <clusters/PumpConfigurationAndControl/EventIds.h>
37
#include <clusters/PumpConfigurationAndControl/Structs.h>
38
39
#include <cstdint>
40
41
namespace chip {
42
namespace app {
43
namespace Clusters {
44
namespace PumpConfigurationAndControl {
45
namespace Events {
46
namespace SupplyVoltageLow {
47
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
48
49
enum class Fields : uint8_t
50
{
51
};
52
53
struct Type
54
{
55
public:
56
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
57
0
    static constexpr EventId GetEventId() { return Events::SupplyVoltageLow::Id; }
58
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
59
    static constexpr bool kIsFabricScoped = false;
60
61
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
62
};
63
64
struct DecodableType
65
{
66
public:
67
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
68
0
    static constexpr EventId GetEventId() { return Events::SupplyVoltageLow::Id; }
69
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
70
71
    CHIP_ERROR Decode(TLV::TLVReader & reader);
72
};
73
} // namespace SupplyVoltageLow
74
namespace SupplyVoltageHigh {
75
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
76
77
enum class Fields : uint8_t
78
{
79
};
80
81
struct Type
82
{
83
public:
84
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
85
0
    static constexpr EventId GetEventId() { return Events::SupplyVoltageHigh::Id; }
86
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
87
    static constexpr bool kIsFabricScoped = false;
88
89
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
90
};
91
92
struct DecodableType
93
{
94
public:
95
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
96
0
    static constexpr EventId GetEventId() { return Events::SupplyVoltageHigh::Id; }
97
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
98
99
    CHIP_ERROR Decode(TLV::TLVReader & reader);
100
};
101
} // namespace SupplyVoltageHigh
102
namespace PowerMissingPhase {
103
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
104
105
enum class Fields : uint8_t
106
{
107
};
108
109
struct Type
110
{
111
public:
112
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
113
0
    static constexpr EventId GetEventId() { return Events::PowerMissingPhase::Id; }
114
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
115
    static constexpr bool kIsFabricScoped = false;
116
117
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
118
};
119
120
struct DecodableType
121
{
122
public:
123
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
124
0
    static constexpr EventId GetEventId() { return Events::PowerMissingPhase::Id; }
125
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
126
127
    CHIP_ERROR Decode(TLV::TLVReader & reader);
128
};
129
} // namespace PowerMissingPhase
130
namespace SystemPressureLow {
131
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
132
133
enum class Fields : uint8_t
134
{
135
};
136
137
struct Type
138
{
139
public:
140
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
141
0
    static constexpr EventId GetEventId() { return Events::SystemPressureLow::Id; }
142
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
143
    static constexpr bool kIsFabricScoped = false;
144
145
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
146
};
147
148
struct DecodableType
149
{
150
public:
151
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
152
0
    static constexpr EventId GetEventId() { return Events::SystemPressureLow::Id; }
153
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
154
155
    CHIP_ERROR Decode(TLV::TLVReader & reader);
156
};
157
} // namespace SystemPressureLow
158
namespace SystemPressureHigh {
159
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
160
161
enum class Fields : uint8_t
162
{
163
};
164
165
struct Type
166
{
167
public:
168
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
169
0
    static constexpr EventId GetEventId() { return Events::SystemPressureHigh::Id; }
170
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
171
    static constexpr bool kIsFabricScoped = false;
172
173
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
174
};
175
176
struct DecodableType
177
{
178
public:
179
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
180
0
    static constexpr EventId GetEventId() { return Events::SystemPressureHigh::Id; }
181
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
182
183
    CHIP_ERROR Decode(TLV::TLVReader & reader);
184
};
185
} // namespace SystemPressureHigh
186
namespace DryRunning {
187
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Critical;
188
189
enum class Fields : uint8_t
190
{
191
};
192
193
struct Type
194
{
195
public:
196
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
197
0
    static constexpr EventId GetEventId() { return Events::DryRunning::Id; }
198
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
199
    static constexpr bool kIsFabricScoped = false;
200
201
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
202
};
203
204
struct DecodableType
205
{
206
public:
207
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
208
0
    static constexpr EventId GetEventId() { return Events::DryRunning::Id; }
209
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
210
211
    CHIP_ERROR Decode(TLV::TLVReader & reader);
212
};
213
} // namespace DryRunning
214
namespace MotorTemperatureHigh {
215
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
216
217
enum class Fields : uint8_t
218
{
219
};
220
221
struct Type
222
{
223
public:
224
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
225
0
    static constexpr EventId GetEventId() { return Events::MotorTemperatureHigh::Id; }
226
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
227
    static constexpr bool kIsFabricScoped = false;
228
229
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
230
};
231
232
struct DecodableType
233
{
234
public:
235
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
236
0
    static constexpr EventId GetEventId() { return Events::MotorTemperatureHigh::Id; }
237
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
238
239
    CHIP_ERROR Decode(TLV::TLVReader & reader);
240
};
241
} // namespace MotorTemperatureHigh
242
namespace PumpMotorFatalFailure {
243
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Critical;
244
245
enum class Fields : uint8_t
246
{
247
};
248
249
struct Type
250
{
251
public:
252
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
253
0
    static constexpr EventId GetEventId() { return Events::PumpMotorFatalFailure::Id; }
254
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
255
    static constexpr bool kIsFabricScoped = false;
256
257
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
258
};
259
260
struct DecodableType
261
{
262
public:
263
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
264
0
    static constexpr EventId GetEventId() { return Events::PumpMotorFatalFailure::Id; }
265
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
266
267
    CHIP_ERROR Decode(TLV::TLVReader & reader);
268
};
269
} // namespace PumpMotorFatalFailure
270
namespace ElectronicTemperatureHigh {
271
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
272
273
enum class Fields : uint8_t
274
{
275
};
276
277
struct Type
278
{
279
public:
280
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
281
0
    static constexpr EventId GetEventId() { return Events::ElectronicTemperatureHigh::Id; }
282
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
283
    static constexpr bool kIsFabricScoped = false;
284
285
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
286
};
287
288
struct DecodableType
289
{
290
public:
291
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
292
0
    static constexpr EventId GetEventId() { return Events::ElectronicTemperatureHigh::Id; }
293
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
294
295
    CHIP_ERROR Decode(TLV::TLVReader & reader);
296
};
297
} // namespace ElectronicTemperatureHigh
298
namespace PumpBlocked {
299
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Critical;
300
301
enum class Fields : uint8_t
302
{
303
};
304
305
struct Type
306
{
307
public:
308
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
309
0
    static constexpr EventId GetEventId() { return Events::PumpBlocked::Id; }
310
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
311
    static constexpr bool kIsFabricScoped = false;
312
313
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
314
};
315
316
struct DecodableType
317
{
318
public:
319
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
320
0
    static constexpr EventId GetEventId() { return Events::PumpBlocked::Id; }
321
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
322
323
    CHIP_ERROR Decode(TLV::TLVReader & reader);
324
};
325
} // namespace PumpBlocked
326
namespace SensorFailure {
327
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
328
329
enum class Fields : uint8_t
330
{
331
};
332
333
struct Type
334
{
335
public:
336
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
337
0
    static constexpr EventId GetEventId() { return Events::SensorFailure::Id; }
338
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
339
    static constexpr bool kIsFabricScoped = false;
340
341
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
342
};
343
344
struct DecodableType
345
{
346
public:
347
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
348
0
    static constexpr EventId GetEventId() { return Events::SensorFailure::Id; }
349
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
350
351
    CHIP_ERROR Decode(TLV::TLVReader & reader);
352
};
353
} // namespace SensorFailure
354
namespace ElectronicNonFatalFailure {
355
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
356
357
enum class Fields : uint8_t
358
{
359
};
360
361
struct Type
362
{
363
public:
364
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
365
0
    static constexpr EventId GetEventId() { return Events::ElectronicNonFatalFailure::Id; }
366
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
367
    static constexpr bool kIsFabricScoped = false;
368
369
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
370
};
371
372
struct DecodableType
373
{
374
public:
375
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
376
0
    static constexpr EventId GetEventId() { return Events::ElectronicNonFatalFailure::Id; }
377
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
378
379
    CHIP_ERROR Decode(TLV::TLVReader & reader);
380
};
381
} // namespace ElectronicNonFatalFailure
382
namespace ElectronicFatalFailure {
383
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Critical;
384
385
enum class Fields : uint8_t
386
{
387
};
388
389
struct Type
390
{
391
public:
392
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
393
0
    static constexpr EventId GetEventId() { return Events::ElectronicFatalFailure::Id; }
394
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
395
    static constexpr bool kIsFabricScoped = false;
396
397
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
398
};
399
400
struct DecodableType
401
{
402
public:
403
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
404
0
    static constexpr EventId GetEventId() { return Events::ElectronicFatalFailure::Id; }
405
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
406
407
    CHIP_ERROR Decode(TLV::TLVReader & reader);
408
};
409
} // namespace ElectronicFatalFailure
410
namespace GeneralFault {
411
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
412
413
enum class Fields : uint8_t
414
{
415
};
416
417
struct Type
418
{
419
public:
420
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
421
0
    static constexpr EventId GetEventId() { return Events::GeneralFault::Id; }
422
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
423
    static constexpr bool kIsFabricScoped = false;
424
425
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
426
};
427
428
struct DecodableType
429
{
430
public:
431
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
432
0
    static constexpr EventId GetEventId() { return Events::GeneralFault::Id; }
433
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
434
435
    CHIP_ERROR Decode(TLV::TLVReader & reader);
436
};
437
} // namespace GeneralFault
438
namespace Leakage {
439
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
440
441
enum class Fields : uint8_t
442
{
443
};
444
445
struct Type
446
{
447
public:
448
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
449
0
    static constexpr EventId GetEventId() { return Events::Leakage::Id; }
450
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
451
    static constexpr bool kIsFabricScoped = false;
452
453
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
454
};
455
456
struct DecodableType
457
{
458
public:
459
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
460
0
    static constexpr EventId GetEventId() { return Events::Leakage::Id; }
461
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
462
463
    CHIP_ERROR Decode(TLV::TLVReader & reader);
464
};
465
} // namespace Leakage
466
namespace AirDetection {
467
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
468
469
enum class Fields : uint8_t
470
{
471
};
472
473
struct Type
474
{
475
public:
476
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
477
0
    static constexpr EventId GetEventId() { return Events::AirDetection::Id; }
478
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
479
    static constexpr bool kIsFabricScoped = false;
480
481
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
482
};
483
484
struct DecodableType
485
{
486
public:
487
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
488
0
    static constexpr EventId GetEventId() { return Events::AirDetection::Id; }
489
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
490
491
    CHIP_ERROR Decode(TLV::TLVReader & reader);
492
};
493
} // namespace AirDetection
494
namespace TurbineOperation {
495
static constexpr PriorityLevel kPriorityLevel = PriorityLevel::Info;
496
497
enum class Fields : uint8_t
498
{
499
};
500
501
struct Type
502
{
503
public:
504
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
505
0
    static constexpr EventId GetEventId() { return Events::TurbineOperation::Id; }
506
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
507
    static constexpr bool kIsFabricScoped = false;
508
509
    CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
510
};
511
512
struct DecodableType
513
{
514
public:
515
0
    static constexpr PriorityLevel GetPriorityLevel() { return kPriorityLevel; }
516
0
    static constexpr EventId GetEventId() { return Events::TurbineOperation::Id; }
517
0
    static constexpr ClusterId GetClusterId() { return Clusters::PumpConfigurationAndControl::Id; }
518
519
    CHIP_ERROR Decode(TLV::TLVReader & reader);
520
};
521
} // namespace TurbineOperation
522
} // namespace Events
523
} // namespace PumpConfigurationAndControl
524
} // namespace Clusters
525
} // namespace app
526
} // namespace chip