matterbridge 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README-DEV.md +4 -2
- package/dist/cluster/export.d.ts +1 -21
- package/dist/cluster/export.d.ts.map +1 -1
- package/dist/cluster/export.js +2 -21
- package/dist/cluster/export.js.map +1 -1
- package/dist/matterbridge.js +3 -3
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +126 -212
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +30 -43
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/pluginManager.d.ts.map +1 -1
- package/dist/pluginManager.js +20 -4
- package/dist/pluginManager.js.map +1 -1
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/js/{main.6725e5ab.js → main.f86befcf.js} +3 -3
- package/frontend/build/static/js/{main.6725e5ab.js.map → main.f86befcf.js.map} +1 -1
- package/package.json +2 -2
- package/dist/cluster/AirQualityCluster.d.ts +0 -188
- package/dist/cluster/AirQualityCluster.d.ts.map +0 -1
- package/dist/cluster/AirQualityCluster.js +0 -98
- package/dist/cluster/AirQualityCluster.js.map +0 -1
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.js +0 -30
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js +0 -30
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts +0 -524
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/ConcentrationMeasurementCluster.js +0 -282
- package/dist/cluster/ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts +0 -7851
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts.map +0 -1
- package/dist/cluster/DeviceEnergyManagementCluster.js +0 -1634
- package/dist/cluster/DeviceEnergyManagementCluster.js.map +0 -1
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts +0 -68
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts.map +0 -1
- package/dist/cluster/DeviceEnergyManagementModeCluster.js +0 -49
- package/dist/cluster/DeviceEnergyManagementModeCluster.js.map +0 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts +0 -4978
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js +0 -510
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js.map +0 -1
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts +0 -3250
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/ElectricalPowerMeasurementCluster.js +0 -675
- package/dist/cluster/ElectricalPowerMeasurementCluster.js.map +0 -1
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.js +0 -30
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/MeasurementAccuracy.d.ts +0 -63
- package/dist/cluster/MeasurementAccuracy.d.ts.map +0 -1
- package/dist/cluster/MeasurementAccuracy.js +0 -47
- package/dist/cluster/MeasurementAccuracy.js.map +0 -1
- package/dist/cluster/MeasurementAccuracyRange.d.ts +0 -134
- package/dist/cluster/MeasurementAccuracyRange.d.ts.map +0 -1
- package/dist/cluster/MeasurementAccuracyRange.js +0 -103
- package/dist/cluster/MeasurementAccuracyRange.js.map +0 -1
- package/dist/cluster/MeasurementType.d.ts +0 -68
- package/dist/cluster/MeasurementType.d.ts.map +0 -1
- package/dist/cluster/MeasurementType.js +0 -69
- package/dist/cluster/MeasurementType.js.map +0 -1
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.js +0 -34
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/OzoneConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/OzoneConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/PowerTopologyCluster.d.ts +0 -345
- package/dist/cluster/PowerTopologyCluster.d.ts.map +0 -1
- package/dist/cluster/PowerTopologyCluster.js +0 -138
- package/dist/cluster/PowerTopologyCluster.js.map +0 -1
- package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/RadonConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/RadonConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/ScenesCluster.d.ts +0 -1249
- package/dist/cluster/ScenesCluster.d.ts.map +0 -1
- package/dist/cluster/ScenesCluster.js +0 -436
- package/dist/cluster/ScenesCluster.js.map +0 -1
- package/dist/cluster/SmokeCoAlarmCluster.d.ts +0 -1575
- package/dist/cluster/SmokeCoAlarmCluster.d.ts.map +0 -1
- package/dist/cluster/SmokeCoAlarmCluster.js +0 -603
- package/dist/cluster/SmokeCoAlarmCluster.js.map +0 -1
- package/dist/cluster/TvocCluster.d.ts +0 -465
- package/dist/cluster/TvocCluster.d.ts.map +0 -1
- package/dist/cluster/TvocCluster.js +0 -197
- package/dist/cluster/TvocCluster.js.map +0 -1
- /package/frontend/build/static/js/{main.6725e5ab.js.LICENSE.txt → main.f86befcf.js.LICENSE.txt} +0 -0
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
5
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
6
|
-
*/
|
|
7
|
-
/** * THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
|
-
import { FixedAttribute, MutableCluster, OptionalAttribute } from '@project-chip/matter-node.js/cluster';
|
|
9
|
-
import { Attribute } from '@project-chip/matter-node.js/cluster';
|
|
10
|
-
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
11
|
-
import { TlvEnum, TlvNullable, TlvFloat, TlvUInt32 } from '@project-chip/matter-node.js/tlv';
|
|
12
|
-
export var ConcentrationMeasurement;
|
|
13
|
-
(function (ConcentrationMeasurement) {
|
|
14
|
-
/**
|
|
15
|
-
* Where mentioned, Billion refers to 10, Trillion refers to 1012 (short scale).
|
|
16
|
-
*
|
|
17
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.5.1
|
|
18
|
-
*/
|
|
19
|
-
let MeasurementUnit;
|
|
20
|
-
(function (MeasurementUnit) {
|
|
21
|
-
/**
|
|
22
|
-
* Parts per Million (10)
|
|
23
|
-
*/
|
|
24
|
-
MeasurementUnit[MeasurementUnit["Ppm"] = 0] = "Ppm";
|
|
25
|
-
/**
|
|
26
|
-
* Parts per Billion (10)
|
|
27
|
-
*/
|
|
28
|
-
MeasurementUnit[MeasurementUnit["Ppb"] = 1] = "Ppb";
|
|
29
|
-
/**
|
|
30
|
-
* Parts per Trillion (1012)
|
|
31
|
-
*/
|
|
32
|
-
MeasurementUnit[MeasurementUnit["Ppt"] = 2] = "Ppt";
|
|
33
|
-
/**
|
|
34
|
-
* Milligram per m
|
|
35
|
-
*/
|
|
36
|
-
MeasurementUnit[MeasurementUnit["Mgm3"] = 3] = "Mgm3";
|
|
37
|
-
/**
|
|
38
|
-
* Microgram per m
|
|
39
|
-
*/
|
|
40
|
-
MeasurementUnit[MeasurementUnit["Ugm3"] = 4] = "Ugm3";
|
|
41
|
-
/**
|
|
42
|
-
* Nanogram per m
|
|
43
|
-
*/
|
|
44
|
-
MeasurementUnit[MeasurementUnit["Ngm3"] = 5] = "Ngm3";
|
|
45
|
-
/**
|
|
46
|
-
* Particles per m
|
|
47
|
-
*/
|
|
48
|
-
MeasurementUnit[MeasurementUnit["Pm3"] = 6] = "Pm3";
|
|
49
|
-
/**
|
|
50
|
-
* Becquerel per m
|
|
51
|
-
*/
|
|
52
|
-
MeasurementUnit[MeasurementUnit["Bqm3"] = 7] = "Bqm3";
|
|
53
|
-
})(MeasurementUnit = ConcentrationMeasurement.MeasurementUnit || (ConcentrationMeasurement.MeasurementUnit = {}));
|
|
54
|
-
/**
|
|
55
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.5.3
|
|
56
|
-
*/
|
|
57
|
-
let LevelValue;
|
|
58
|
-
(function (LevelValue) {
|
|
59
|
-
/**
|
|
60
|
-
* The level is Unknown
|
|
61
|
-
*/
|
|
62
|
-
LevelValue[LevelValue["Unknown"] = 0] = "Unknown";
|
|
63
|
-
/**
|
|
64
|
-
* The level is considered Low
|
|
65
|
-
*/
|
|
66
|
-
LevelValue[LevelValue["Low"] = 1] = "Low";
|
|
67
|
-
/**
|
|
68
|
-
* The level is considered Medium
|
|
69
|
-
*/
|
|
70
|
-
LevelValue[LevelValue["Medium"] = 2] = "Medium";
|
|
71
|
-
/**
|
|
72
|
-
* The level is considered High
|
|
73
|
-
*/
|
|
74
|
-
LevelValue[LevelValue["High"] = 3] = "High";
|
|
75
|
-
/**
|
|
76
|
-
* The level is considered Critical
|
|
77
|
-
*/
|
|
78
|
-
LevelValue[LevelValue["Critical"] = 4] = "Critical";
|
|
79
|
-
})(LevelValue = ConcentrationMeasurement.LevelValue || (ConcentrationMeasurement.LevelValue = {}));
|
|
80
|
-
/**
|
|
81
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.5.2
|
|
82
|
-
*/
|
|
83
|
-
let MeasurementMedium;
|
|
84
|
-
(function (MeasurementMedium) {
|
|
85
|
-
/**
|
|
86
|
-
* The measurement is being made in Air
|
|
87
|
-
*/
|
|
88
|
-
MeasurementMedium[MeasurementMedium["Air"] = 0] = "Air";
|
|
89
|
-
/**
|
|
90
|
-
* The measurement is being made in Water
|
|
91
|
-
*/
|
|
92
|
-
MeasurementMedium[MeasurementMedium["Water"] = 1] = "Water";
|
|
93
|
-
/**
|
|
94
|
-
* The measurement is being made in Soil
|
|
95
|
-
*/
|
|
96
|
-
MeasurementMedium[MeasurementMedium["Soil"] = 2] = "Soil";
|
|
97
|
-
})(MeasurementMedium = ConcentrationMeasurement.MeasurementMedium || (ConcentrationMeasurement.MeasurementMedium = {}));
|
|
98
|
-
/**
|
|
99
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature NumericMeasurement.
|
|
100
|
-
*/
|
|
101
|
-
ConcentrationMeasurement.NumericMeasurementComponent = MutableCluster.Component({
|
|
102
|
-
attributes: {
|
|
103
|
-
/**
|
|
104
|
-
* Indicates the most recent measurement as a single-precision floating-point number. MeasuredValue’s unit
|
|
105
|
-
* is represented by MeasurementUnit.
|
|
106
|
-
*
|
|
107
|
-
* A value of null indicates that the measurement is unknown or outside the valid range. MinMeasuredValue
|
|
108
|
-
* and MaxMeasuredValue define the valid range for MeasuredValue.
|
|
109
|
-
*
|
|
110
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.1
|
|
111
|
-
*/
|
|
112
|
-
measuredValue: Attribute(0x0, TlvNullable(TlvFloat), { default: null }),
|
|
113
|
-
/**
|
|
114
|
-
* Indicates the minimum value of MeasuredValue that is capable of being measured. A MinMeasuredValue of
|
|
115
|
-
* null indicates that the MinMeasuredValue is not defined.
|
|
116
|
-
*
|
|
117
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.2
|
|
118
|
-
*/
|
|
119
|
-
minMeasuredValue: Attribute(0x1, TlvNullable(TlvFloat), { default: null }),
|
|
120
|
-
/**
|
|
121
|
-
* Indicates the maximum value of MeasuredValue that is capable of being measured. A MaxMeasuredValue of
|
|
122
|
-
* null indicates that the MaxMeasuredValue is not defined.
|
|
123
|
-
*
|
|
124
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.3
|
|
125
|
-
*/
|
|
126
|
-
maxMeasuredValue: Attribute(0x2, TlvNullable(TlvFloat), { default: null }),
|
|
127
|
-
/**
|
|
128
|
-
* Indicates the range of error or deviation that can be found in MeasuredValue and PeakMeasuredValue. This
|
|
129
|
-
* is considered a +/- value and should be considered to be in MeasurementUnit.
|
|
130
|
-
*
|
|
131
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.8
|
|
132
|
-
*/
|
|
133
|
-
uncertainty: OptionalAttribute(0x7, TlvFloat),
|
|
134
|
-
/**
|
|
135
|
-
* Indicates the unit of MeasuredValue. See MeasurementUnitEnum.
|
|
136
|
-
*
|
|
137
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.9
|
|
138
|
-
*/
|
|
139
|
-
measurementUnit: FixedAttribute(0x8, TlvEnum()),
|
|
140
|
-
},
|
|
141
|
-
});
|
|
142
|
-
/**
|
|
143
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature PeakMeasurement.
|
|
144
|
-
*/
|
|
145
|
-
ConcentrationMeasurement.PeakMeasurementComponent = MutableCluster.Component({
|
|
146
|
-
attributes: {
|
|
147
|
-
/**
|
|
148
|
-
* Indicates the maximum value of MeasuredValue that has been measured during the PeakMeasuredValueWindow.
|
|
149
|
-
* If this attribute is provided, the PeakMeasuredValueWindow attribute shall also be provided.
|
|
150
|
-
*
|
|
151
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.4
|
|
152
|
-
*/
|
|
153
|
-
peakMeasuredValue: Attribute(0x3, TlvNullable(TlvFloat), { default: null }),
|
|
154
|
-
/**
|
|
155
|
-
* Indicates the window of time used for determining the PeakMeasuredValue. The value is in seconds.
|
|
156
|
-
*
|
|
157
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.5
|
|
158
|
-
*/
|
|
159
|
-
peakMeasuredValueWindow: Attribute(0x4, TlvUInt32.bound({ max: 604800 }), { default: 1 }),
|
|
160
|
-
},
|
|
161
|
-
});
|
|
162
|
-
/**
|
|
163
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature AverageMeasurement.
|
|
164
|
-
*/
|
|
165
|
-
ConcentrationMeasurement.AverageMeasurementComponent = MutableCluster.Component({
|
|
166
|
-
attributes: {
|
|
167
|
-
/**
|
|
168
|
-
* Indicates the average value of MeasuredValue that has been measured during the
|
|
169
|
-
* AverageMeasuredValueWindow. If this attribute is provided, the AverageMeasuredValueWindow attribute
|
|
170
|
-
* shall also be provided.
|
|
171
|
-
*
|
|
172
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.6
|
|
173
|
-
*/
|
|
174
|
-
averageMeasuredValue: Attribute(0x5, TlvNullable(TlvFloat), { default: null }),
|
|
175
|
-
/**
|
|
176
|
-
* Indicates the window of time used for determining the AverageMeasuredValue. The value is in seconds.
|
|
177
|
-
*
|
|
178
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.7
|
|
179
|
-
*/
|
|
180
|
-
averageMeasuredValueWindow: Attribute(0x6, TlvUInt32.bound({ max: 604800 }), { default: 1 }),
|
|
181
|
-
},
|
|
182
|
-
});
|
|
183
|
-
/**
|
|
184
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature LevelIndication.
|
|
185
|
-
*/
|
|
186
|
-
ConcentrationMeasurement.LevelIndicationComponent = MutableCluster.Component({
|
|
187
|
-
attributes: {
|
|
188
|
-
/**
|
|
189
|
-
* Indicates the level of the substance detected. See LevelValueEnum.
|
|
190
|
-
*
|
|
191
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.11
|
|
192
|
-
*/
|
|
193
|
-
levelValue: Attribute(0xa, TlvEnum(), { default: LevelValue.Unknown }),
|
|
194
|
-
},
|
|
195
|
-
});
|
|
196
|
-
/**
|
|
197
|
-
* ConcentrationMeasurement is a derived cluster, not to be used directly. These elements are present in all
|
|
198
|
-
* clusters derived from ConcentrationMeasurement.
|
|
199
|
-
*/
|
|
200
|
-
ConcentrationMeasurement.Base = MutableCluster.Component({
|
|
201
|
-
features: {
|
|
202
|
-
/**
|
|
203
|
-
* NumericMeasurement
|
|
204
|
-
*
|
|
205
|
-
* Cluster supports numeric measurement of substance
|
|
206
|
-
*/
|
|
207
|
-
numericMeasurement: BitFlag(0),
|
|
208
|
-
/**
|
|
209
|
-
* LevelIndication
|
|
210
|
-
*
|
|
211
|
-
* Cluster supports basic level indication for substance using the ConcentrationLevel enum
|
|
212
|
-
*/
|
|
213
|
-
levelIndication: BitFlag(1),
|
|
214
|
-
/**
|
|
215
|
-
* MediumLevel
|
|
216
|
-
*
|
|
217
|
-
* Cluster supports the Medium Concentration Level
|
|
218
|
-
*/
|
|
219
|
-
mediumLevel: BitFlag(2),
|
|
220
|
-
/**
|
|
221
|
-
* CriticalLevel
|
|
222
|
-
*
|
|
223
|
-
* Cluster supports the Critical Concentration Level
|
|
224
|
-
*/
|
|
225
|
-
criticalLevel: BitFlag(3),
|
|
226
|
-
/**
|
|
227
|
-
* PeakMeasurement
|
|
228
|
-
*
|
|
229
|
-
* Cluster supports peak numeric measurement of substance
|
|
230
|
-
*/
|
|
231
|
-
peakMeasurement: BitFlag(4),
|
|
232
|
-
/**
|
|
233
|
-
* AverageMeasurement
|
|
234
|
-
*
|
|
235
|
-
* Cluster supports average numeric measurement of substance
|
|
236
|
-
*/
|
|
237
|
-
averageMeasurement: BitFlag(5),
|
|
238
|
-
},
|
|
239
|
-
name: 'ConcentrationMeasurement',
|
|
240
|
-
revision: 3,
|
|
241
|
-
attributes: {
|
|
242
|
-
/**
|
|
243
|
-
* Indicates the medium in which MeasuredValue is being measured. See MeasurementMediumEnum.
|
|
244
|
-
*
|
|
245
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.10
|
|
246
|
-
*/
|
|
247
|
-
measurementMedium: FixedAttribute(0x9, TlvEnum()),
|
|
248
|
-
},
|
|
249
|
-
/**
|
|
250
|
-
* This metadata controls which ConcentrationMeasurementCluster elements matter.js activates for specific
|
|
251
|
-
* feature combinations.
|
|
252
|
-
*/
|
|
253
|
-
extensions: MutableCluster.Extensions({ flags: { numericMeasurement: true }, component: ConcentrationMeasurement.NumericMeasurementComponent }, { flags: { peakMeasurement: true }, component: ConcentrationMeasurement.PeakMeasurementComponent }, { flags: { averageMeasurement: true }, component: ConcentrationMeasurement.AverageMeasurementComponent }, { flags: { levelIndication: true }, component: ConcentrationMeasurement.LevelIndicationComponent }, { flags: { mediumLevel: true, levelIndication: false }, component: false }, { flags: { criticalLevel: true, levelIndication: false }, component: false }, { flags: { peakMeasurement: true, numericMeasurement: false }, component: false }, { flags: { averageMeasurement: true, numericMeasurement: false }, component: false }, { flags: { numericMeasurement: false, levelIndication: false }, component: false }),
|
|
254
|
-
});
|
|
255
|
-
const MEA = { numericMeasurement: true };
|
|
256
|
-
const PEA = { peakMeasurement: true };
|
|
257
|
-
const AVG = { averageMeasurement: true };
|
|
258
|
-
const LEV = { levelIndication: true };
|
|
259
|
-
/**
|
|
260
|
-
* @see {@link Complete}
|
|
261
|
-
*/
|
|
262
|
-
ConcentrationMeasurement.CompleteInstance = MutableCluster.Component({
|
|
263
|
-
name: ConcentrationMeasurement.Base.name,
|
|
264
|
-
revision: ConcentrationMeasurement.Base.revision,
|
|
265
|
-
features: ConcentrationMeasurement.Base.features,
|
|
266
|
-
attributes: {
|
|
267
|
-
...ConcentrationMeasurement.Base.attributes,
|
|
268
|
-
measuredValue: MutableCluster.AsConditional(ConcentrationMeasurement.NumericMeasurementComponent.attributes.measuredValue, { mandatoryIf: [MEA] }),
|
|
269
|
-
minMeasuredValue: MutableCluster.AsConditional(ConcentrationMeasurement.NumericMeasurementComponent.attributes.minMeasuredValue, { mandatoryIf: [MEA] }),
|
|
270
|
-
maxMeasuredValue: MutableCluster.AsConditional(ConcentrationMeasurement.NumericMeasurementComponent.attributes.maxMeasuredValue, { mandatoryIf: [MEA] }),
|
|
271
|
-
peakMeasuredValue: MutableCluster.AsConditional(ConcentrationMeasurement.PeakMeasurementComponent.attributes.peakMeasuredValue, { mandatoryIf: [PEA] }),
|
|
272
|
-
peakMeasuredValueWindow: MutableCluster.AsConditional(ConcentrationMeasurement.PeakMeasurementComponent.attributes.peakMeasuredValueWindow, { mandatoryIf: [PEA] }),
|
|
273
|
-
averageMeasuredValue: MutableCluster.AsConditional(ConcentrationMeasurement.AverageMeasurementComponent.attributes.averageMeasuredValue, { mandatoryIf: [AVG] }),
|
|
274
|
-
averageMeasuredValueWindow: MutableCluster.AsConditional(ConcentrationMeasurement.AverageMeasurementComponent.attributes.averageMeasuredValueWindow, { mandatoryIf: [AVG] }),
|
|
275
|
-
uncertainty: MutableCluster.AsConditional(ConcentrationMeasurement.NumericMeasurementComponent.attributes.uncertainty, { optionalIf: [MEA] }),
|
|
276
|
-
measurementUnit: MutableCluster.AsConditional(ConcentrationMeasurement.NumericMeasurementComponent.attributes.measurementUnit, { mandatoryIf: [MEA] }),
|
|
277
|
-
levelValue: MutableCluster.AsConditional(ConcentrationMeasurement.LevelIndicationComponent.attributes.levelValue, { mandatoryIf: [LEV] }),
|
|
278
|
-
},
|
|
279
|
-
});
|
|
280
|
-
ConcentrationMeasurement.Complete = ConcentrationMeasurement.CompleteInstance;
|
|
281
|
-
})(ConcentrationMeasurement || (ConcentrationMeasurement = {}));
|
|
282
|
-
//# sourceMappingURL=ConcentrationMeasurementCluster.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConcentrationMeasurementCluster.js","sourceRoot":"","sources":["../../src/cluster/ConcentrationMeasurementCluster.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD;;;;GAIG;AAEH,8CAA8C;AAE9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAG7F,MAAM,KAAW,wBAAwB,CAiUxC;AAjUD,WAAiB,wBAAwB;IACvC;;;;OAIG;IACH,IAAY,eAwCX;IAxCD,WAAY,eAAe;QACzB;;WAEG;QACH,mDAAO,CAAA;QAEP;;WAEG;QACH,mDAAO,CAAA;QAEP;;WAEG;QACH,mDAAO,CAAA;QAEP;;WAEG;QACH,qDAAQ,CAAA;QAER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