@utiliread/primitives 1.0.0-14 → 1.0.0-140
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/dist/aggregate-id.d.ts +1 -0
- package/dist/breakdown-rule.d.ts +18 -0
- package/dist/{esm/register-converter.spec.d.ts → breakdown-rule.spec.d.ts} +1 -1
- package/dist/index.d.ts +23 -0
- package/dist/index.js +2706 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2695 -0
- package/dist/index.mjs.map +1 -0
- package/dist/measure-id.d.ts +1 -0
- package/dist/measures/duration.d.ts +2 -0
- package/dist/measures/energy.d.ts +2 -0
- package/dist/measures/humidity.d.ts +2 -0
- package/dist/measures/infocode.d.ts +2 -0
- package/dist/measures/mass-flow.d.ts +3 -0
- package/dist/measures/mass.d.ts +2 -0
- package/dist/measures/noise.d.ts +3 -0
- package/dist/measures/power.d.ts +3 -0
- package/dist/measures/pressure.d.ts +3 -0
- package/dist/measures/reactive-energy.d.ts +2 -0
- package/dist/measures/reactive-power.d.ts +2 -0
- package/dist/measures/temperature.d.ts +3 -0
- package/dist/measures/time.d.ts +2 -0
- package/dist/measures/volume-flow.d.ts +3 -0
- package/dist/measures/volume.d.ts +2 -0
- package/dist/medium.d.ts +7 -0
- package/dist/medium.spec.d.ts +1 -0
- package/dist/number-formatter.d.ts +17 -0
- package/dist/{esm/number-formatter.spec.d.ts → number-formatter.spec.d.ts} +1 -1
- package/dist/optional.d.ts +1 -0
- package/dist/precision-number.d.ts +15 -0
- package/dist/precision-number.spec.d.ts +1 -0
- package/dist/{esm/register-convention.d.ts → register-convention.d.ts} +14 -14
- package/dist/{esm/register-convention.spec.d.ts → register-convention.spec.d.ts} +1 -1
- package/dist/register-definition.d.ts +13 -0
- package/dist/register-id.d.ts +1 -0
- package/dist/{esm/register-library.d.ts → register-library.d.ts} +15 -12
- package/dist/{esm/register-library.spec.d.ts → register-library.spec.d.ts} +1 -1
- package/dist/{esm/register-pack.d.ts → register-pack.d.ts} +4 -4
- package/dist/register-utils.d.ts +3 -0
- package/dist/registers/acoustic-noise.d.ts +8 -0
- package/dist/registers/ambient-temperature.d.ts +8 -0
- package/dist/registers/axioma-infocode.d.ts +3 -0
- package/dist/registers/consumer.d.ts +9 -0
- package/dist/registers/cooling-energy-inlet.d.ts +4 -0
- package/dist/registers/cooling-energy-outlet.d.ts +4 -0
- package/dist/registers/cooling-energy.d.ts +4 -0
- package/dist/registers/cooling.d.ts +15 -0
- package/dist/registers/device-addresses-kamdraft.d.ts +6 -0
- package/dist/registers/device-addresses-msisdn.d.ts +6 -0
- package/dist/registers/device-addresses-tchlr.d.ts +6 -0
- package/dist/registers/device-addresses-wmbus.d.ts +9 -0
- package/dist/registers/device-date-time.d.ts +2 -0
- package/dist/registers/device-date.d.ts +2 -0
- package/dist/registers/device-nominal-diameter.d.ts +2 -0
- package/dist/registers/device-permanent-volume-flow.d.ts +2 -0
- package/dist/registers/device-registers.d.ts +2 -0
- package/dist/registers/device-samples.d.ts +14 -0
- package/dist/registers/device-software-version.d.ts +2 -0
- package/dist/registers/device-time.d.ts +2 -0
- package/dist/registers/device.d.ts +8 -0
- package/dist/registers/diehl-infocode.d.ts +6 -0
- package/dist/registers/electrical-energy.d.ts +4 -0
- package/dist/registers/energy-inlet.d.ts +4 -0
- package/dist/registers/energy-outlet.d.ts +4 -0
- package/dist/registers/error-operating-time.d.ts +4 -0
- package/dist/registers/flow-temperature-aux.d.ts +8 -0
- package/dist/registers/flow-temperature-inlet.d.ts +8 -0
- package/dist/registers/flow-temperature-outlet.d.ts +8 -0
- package/dist/registers/flow-temperature.d.ts +8 -0
- package/dist/registers/heat-energy-inlet.d.ts +10 -0
- package/dist/registers/heat-energy-outlet.d.ts +10 -0
- package/dist/registers/heat-energy.d.ts +10 -0
- package/dist/registers/index.d.ts +71 -0
- package/dist/registers/infocode.d.ts +15 -0
- package/dist/registers/kamstrup-module-type.d.ts +2 -0
- package/dist/registers/kamstrup-multical-infocode.d.ts +9 -0
- package/dist/registers/landis-gyr-infocode.d.ts +4 -0
- package/dist/registers/landis-gyr-mbus-status.d.ts +4 -0
- package/dist/registers/mass-flow-inlet.d.ts +8 -0
- package/dist/registers/mass-flow-outlet.d.ts +8 -0
- package/dist/registers/mass-flow.d.ts +8 -0
- package/dist/registers/mass-inlet.d.ts +4 -0
- package/dist/registers/mass-outlet.d.ts +4 -0
- package/dist/registers/mass.d.ts +4 -0
- package/dist/registers/mbus-format-string-signature.d.ts +2 -0
- package/dist/registers/none.d.ts +2 -0
- package/dist/registers/operating-time.d.ts +4 -0
- package/dist/registers/place.d.ts +16 -0
- package/dist/registers/power-inlet.d.ts +8 -0
- package/dist/registers/power-outlet.d.ts +8 -0
- package/dist/registers/power.d.ts +8 -0
- package/dist/registers/pressure-inlet.d.ts +8 -0
- package/dist/registers/pressure-outlet.d.ts +8 -0
- package/dist/registers/pressure.d.ts +8 -0
- package/dist/registers/radiator-temperature.d.ts +8 -0
- package/dist/registers/reactive-energy.d.ts +4 -0
- package/dist/registers/relative-humidity.d.ts +2 -0
- package/dist/registers/remaining-battery-time.d.ts +4 -0
- package/dist/registers/time-last-exact-overhearing-arrived.d.ts +3 -0
- package/dist/registers/time-last-installation-mounted.d.ts +3 -0
- package/dist/registers/time-last-possible-candidate-overhearing-arrived.d.ts +3 -0
- package/dist/registers/time-last-sampled.d.ts +3 -0
- package/dist/registers/time.d.ts +7 -0
- package/dist/registers/volume-flow-inlet.d.ts +8 -0
- package/dist/registers/volume-flow-outlet.d.ts +8 -0
- package/dist/registers/volume-flow.d.ts +8 -0
- package/dist/registers/volume-inlet.d.ts +4 -0
- package/dist/registers/volume-outlet.d.ts +4 -0
- package/dist/registers/volume-pulse-input-a.d.ts +4 -0
- package/dist/registers/volume-pulse-input-b.d.ts +4 -0
- package/dist/registers/volume.d.ts +4 -0
- package/dist/repository.d.ts +10 -0
- package/dist/repository.spec.d.ts +1 -0
- package/dist/step.d.ts +15 -0
- package/dist/step.spec.d.ts +1 -0
- package/dist/time-or-rule.d.ts +10 -0
- package/dist/unit-id.d.ts +1 -0
- package/locales/da/aggregates.json +42 -0
- package/locales/da/measures.json +50 -0
- package/locales/da/mediums.json +17 -0
- package/locales/da/registers.json +1146 -0
- package/locales/da/units.json +327 -0
- package/locales/en/aggregates.json +42 -0
- package/locales/en/measures.json +50 -0
- package/locales/en/mediums.json +17 -0
- package/locales/en/registers.json +1146 -0
- package/locales/en/units.json +327 -0
- package/package.json +35 -18
- package/rollup.config.mjs +31 -0
- package/src/aggregate-id.ts +9 -9
- package/src/breakdown-rule.spec.ts +61 -0
- package/src/breakdown-rule.ts +58 -0
- package/src/index.ts +58 -19
- package/src/measure-id.ts +17 -12
- package/src/measures/duration.ts +11 -0
- package/{dist/esm/unit-id.js → src/measures/energy.ts} +13 -11
- package/src/measures/humidity.ts +3 -0
- package/src/measures/infocode.ts +3 -0
- package/src/measures/mass-flow.ts +19 -0
- package/src/measures/mass.ts +10 -0
- package/src/measures/noise.ts +5 -0
- package/src/measures/power.ts +23 -0
- package/src/measures/pressure.ts +9 -0
- package/src/measures/reactive-energy.ts +7 -0
- package/src/measures/reactive-power.ts +3 -0
- package/src/measures/temperature.ts +9 -0
- package/src/measures/time.ts +3 -0
- package/src/measures/volume-flow.ts +25 -0
- package/src/measures/volume.ts +3 -0
- package/src/medium.spec.ts +12 -0
- package/src/medium.ts +47 -0
- package/src/number-formatter.spec.ts +549 -77
- package/src/number-formatter.ts +118 -50
- package/src/optional.ts +1 -0
- package/src/precision-number.spec.ts +251 -0
- package/src/precision-number.ts +129 -0
- package/src/register-convention.spec.ts +52 -43
- package/src/register-convention.ts +70 -61
- package/src/register-definition.ts +23 -17
- package/src/register-id.ts +287 -191
- package/src/register-library.spec.ts +41 -34
- package/src/register-library.ts +64 -41
- package/src/register-pack.ts +5 -5
- package/src/register-utils.ts +6 -6
- package/src/registers/acoustic-noise.ts +52 -0
- package/src/registers/ambient-temperature.ts +52 -0
- package/src/registers/axioma-infocode.ts +16 -0
- package/src/registers/consumer.ts +17 -0
- package/src/registers/cooling-energy-inlet.ts +23 -0
- package/src/registers/cooling-energy-outlet.ts +23 -0
- package/src/registers/cooling-energy.ts +23 -0
- package/src/registers/cooling.ts +113 -0
- package/src/registers/device-addresses-kamdraft.ts +14 -0
- package/src/registers/device-addresses-msisdn.ts +14 -0
- package/src/registers/device-addresses-tchlr.ts +14 -0
- package/src/registers/device-addresses-wmbus.ts +17 -0
- package/src/registers/device-date-time.ts +9 -0
- package/src/registers/device-date.ts +9 -0
- package/src/registers/device-nominal-diameter.ts +9 -0
- package/src/registers/device-permanent-volume-flow.ts +9 -0
- package/src/registers/device-registers.ts +9 -0
- package/src/registers/device-samples.ts +37 -0
- package/src/registers/device-software-version.ts +8 -0
- package/src/registers/device-time.ts +9 -0
- package/src/registers/device.ts +16 -0
- package/src/registers/diehl-infocode.ts +37 -0
- package/src/registers/electrical-energy.ts +23 -0
- package/src/registers/energy-inlet.ts +23 -0
- package/src/registers/energy-outlet.ts +23 -0
- package/src/registers/error-operating-time.ts +23 -0
- package/src/registers/flow-temperature-aux.ts +52 -0
- package/src/registers/flow-temperature-inlet.ts +52 -0
- package/src/registers/flow-temperature-outlet.ts +52 -0
- package/src/registers/flow-temperature.ts +52 -0
- package/src/registers/heat-energy-inlet.ts +65 -0
- package/src/registers/heat-energy-outlet.ts +65 -0
- package/src/registers/heat-energy.ts +65 -0
- package/src/registers/index.ts +71 -0
- package/src/registers/infocode.ts +66 -0
- package/src/registers/kamstrup-module-type.ts +8 -0
- package/src/registers/kamstrup-multical-infocode.ts +58 -0
- package/src/registers/landis-gyr-infocode.ts +23 -0
- package/src/registers/landis-gyr-mbus-status.ts +23 -0
- package/src/registers/mass-flow-inlet.ts +52 -0
- package/src/registers/mass-flow-outlet.ts +52 -0
- package/src/registers/mass-flow.ts +52 -0
- package/src/registers/mass-inlet.ts +23 -0
- package/src/registers/mass-outlet.ts +23 -0
- package/src/registers/mass.ts +23 -0
- package/src/registers/mbus-format-string-signature.ts +8 -0
- package/src/registers/none.ts +8 -0
- package/src/registers/operating-time.ts +23 -0
- package/src/registers/place.ts +31 -0
- package/src/registers/power-inlet.ts +52 -0
- package/src/registers/power-outlet.ts +52 -0
- package/src/registers/power.ts +52 -0
- package/src/registers/pressure-inlet.ts +52 -0
- package/src/registers/pressure-outlet.ts +52 -0
- package/src/registers/pressure.ts +52 -0
- package/src/registers/radiator-temperature.ts +52 -0
- package/src/registers/reactive-energy.ts +23 -0
- package/src/registers/relative-humidity.ts +8 -0
- package/src/registers/remaining-battery-time.ts +23 -0
- package/src/registers/time-last-exact-overhearing-arrived.ts +19 -0
- package/src/registers/time-last-installation-mounted.ts +19 -0
- package/src/registers/time-last-possible-candidate-overhearing-arrived.ts +21 -0
- package/src/registers/time-last-sampled.ts +19 -0
- package/src/registers/time.ts +45 -0
- package/src/registers/volume-flow-inlet.ts +52 -0
- package/src/registers/volume-flow-outlet.ts +52 -0
- package/src/registers/volume-flow.ts +52 -0
- package/src/registers/volume-inlet.ts +23 -0
- package/src/registers/volume-outlet.ts +23 -0
- package/src/registers/volume-pulse-input-a.ts +23 -0
- package/src/registers/volume-pulse-input-b.ts +23 -0
- package/src/registers/volume.ts +23 -0
- package/src/repository.spec.ts +30 -0
- package/src/repository.ts +26 -0
- package/src/step.spec.ts +37 -0
- package/src/step.ts +45 -0
- package/src/time-or-rule.ts +42 -0
- package/src/unit-id.ts +108 -100
- package/tsconfig.json +14 -14
- package/web-test-runner.config.mjs +7 -0
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/base.css +0 -224
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/block-navigation.js +0 -79
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/favicon.png +0 -0
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/index.html +0 -96
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/prettify.css +0 -1
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/prettify.js +0 -2
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/sort-arrow-sprite.png +0 -0
- package/coverage/Chrome Headless 90.0.4430.85 (Windows 10)/html/sorter.js +0 -170
- package/dist/cjs/aggregate-id.js +0 -3
- package/dist/cjs/aggregate-id.js.map +0 -1
- package/dist/cjs/consumption-type-id.js +0 -3
- package/dist/cjs/consumption-type-id.js.map +0 -1
- package/dist/cjs/index.js +0 -10
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/measure-id.js +0 -3
- package/dist/cjs/measure-id.js.map +0 -1
- package/dist/cjs/number-formatter.js +0 -51
- package/dist/cjs/number-formatter.js.map +0 -1
- package/dist/cjs/number-formatter.spec.js +0 -77
- package/dist/cjs/number-formatter.spec.js.map +0 -1
- package/dist/cjs/register-convention.js +0 -61
- package/dist/cjs/register-convention.js.map +0 -1
- package/dist/cjs/register-convention.spec.js +0 -39
- package/dist/cjs/register-convention.spec.js.map +0 -1
- package/dist/cjs/register-converter.js +0 -31
- package/dist/cjs/register-converter.js.map +0 -1
- package/dist/cjs/register-converter.spec.js +0 -29
- package/dist/cjs/register-converter.spec.js.map +0 -1
- package/dist/cjs/register-definition.js +0 -3
- package/dist/cjs/register-definition.js.map +0 -1
- package/dist/cjs/register-id.js +0 -3
- package/dist/cjs/register-id.js.map +0 -1
- package/dist/cjs/register-library.js +0 -45
- package/dist/cjs/register-library.js.map +0 -1
- package/dist/cjs/register-library.spec.js +0 -31
- package/dist/cjs/register-library.spec.js.map +0 -1
- package/dist/cjs/register-pack.js +0 -3
- package/dist/cjs/register-pack.js.map +0 -1
- package/dist/cjs/register-utils.js +0 -8
- package/dist/cjs/register-utils.js.map +0 -1
- package/dist/cjs/unit-id.js +0 -14
- package/dist/cjs/unit-id.js.map +0 -1
- package/dist/esm/aggregate-id.d.ts +0 -1
- package/dist/esm/aggregate-id.js +0 -2
- package/dist/esm/aggregate-id.js.map +0 -1
- package/dist/esm/consumption-type-id.d.ts +0 -1
- package/dist/esm/consumption-type-id.js +0 -2
- package/dist/esm/consumption-type-id.js.map +0 -1
- package/dist/esm/index.d.ts +0 -9
- package/dist/esm/index.js +0 -5
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/measure-id.d.ts +0 -1
- package/dist/esm/measure-id.js +0 -2
- package/dist/esm/measure-id.js.map +0 -1
- package/dist/esm/number-formatter.d.ts +0 -6
- package/dist/esm/number-formatter.js +0 -48
- package/dist/esm/number-formatter.js.map +0 -1
- package/dist/esm/number-formatter.spec.js +0 -75
- package/dist/esm/number-formatter.spec.js.map +0 -1
- package/dist/esm/register-convention.js +0 -57
- package/dist/esm/register-convention.js.map +0 -1
- package/dist/esm/register-convention.spec.js +0 -37
- package/dist/esm/register-convention.spec.js.map +0 -1
- package/dist/esm/register-converter.d.ts +0 -9
- package/dist/esm/register-converter.js +0 -28
- package/dist/esm/register-converter.js.map +0 -1
- package/dist/esm/register-converter.spec.js +0 -27
- package/dist/esm/register-converter.spec.js.map +0 -1
- package/dist/esm/register-definition.d.ts +0 -11
- package/dist/esm/register-definition.js +0 -2
- package/dist/esm/register-definition.js.map +0 -1
- package/dist/esm/register-id.d.ts +0 -1
- package/dist/esm/register-id.js +0 -2
- package/dist/esm/register-id.js.map +0 -1
- package/dist/esm/register-library.js +0 -42
- package/dist/esm/register-library.js.map +0 -1
- package/dist/esm/register-library.spec.js +0 -29
- package/dist/esm/register-library.spec.js.map +0 -1
- package/dist/esm/register-pack.js +0 -2
- package/dist/esm/register-pack.js.map +0 -1
- package/dist/esm/register-utils.d.ts +0 -3
- package/dist/esm/register-utils.js +0 -4
- package/dist/esm/register-utils.js.map +0 -1
- package/dist/esm/unit-id.d.ts +0 -2
- package/dist/esm/unit-id.js.map +0 -1
- package/karma.config.js +0 -32
- package/src/consumption-type-id.ts +0 -8
- package/tsconfig.cjs.json +0 -9
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,2695 @@
|
|
|
1
|
+
import { Duration, DateTime } from 'luxon';
|
|
2
|
+
|
|
3
|
+
const units$c = ["decibel"];
|
|
4
|
+
const sqUnits$5 = ["decibel2"];
|
|
5
|
+
|
|
6
|
+
const acousticNoise = {
|
|
7
|
+
id: "acousticNoise",
|
|
8
|
+
measure: "noise",
|
|
9
|
+
aggregate: "instant",
|
|
10
|
+
units: units$c,
|
|
11
|
+
};
|
|
12
|
+
const minAcousticNoise = {
|
|
13
|
+
id: "minAcousticNoise",
|
|
14
|
+
measure: "noise",
|
|
15
|
+
aggregate: "min",
|
|
16
|
+
units: units$c,
|
|
17
|
+
};
|
|
18
|
+
const maxAcousticNoise = {
|
|
19
|
+
id: "maxAcousticNoise",
|
|
20
|
+
measure: "noise",
|
|
21
|
+
aggregate: "max",
|
|
22
|
+
units: units$c,
|
|
23
|
+
};
|
|
24
|
+
const avgAcousticNoise = {
|
|
25
|
+
id: "avgAcousticNoise",
|
|
26
|
+
measure: "noise",
|
|
27
|
+
aggregate: "avg",
|
|
28
|
+
units: units$c,
|
|
29
|
+
};
|
|
30
|
+
const sumAcousticNoise = {
|
|
31
|
+
id: "sumAcousticNoise",
|
|
32
|
+
measure: "noise",
|
|
33
|
+
aggregate: "sum",
|
|
34
|
+
units: units$c,
|
|
35
|
+
};
|
|
36
|
+
const cntAcousticNoise = {
|
|
37
|
+
id: "cntAcousticNoise",
|
|
38
|
+
measure: "noise",
|
|
39
|
+
aggregate: "cnt",
|
|
40
|
+
units: ["unitless"],
|
|
41
|
+
};
|
|
42
|
+
const ssqAcousticNoise = {
|
|
43
|
+
id: "ssqAcousticNoise",
|
|
44
|
+
measure: "noise",
|
|
45
|
+
aggregate: "ssq",
|
|
46
|
+
units: sqUnits$5,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const units$b = ["celcius", "kelvin", "fahrenheit"];
|
|
50
|
+
const sqUnits$4 = [
|
|
51
|
+
"celcius2",
|
|
52
|
+
"kelvin2",
|
|
53
|
+
"fahrenheit2",
|
|
54
|
+
];
|
|
55
|
+
|
|
56
|
+
const ambientTemperature = {
|
|
57
|
+
id: "ambientTemperature",
|
|
58
|
+
measure: "temperature",
|
|
59
|
+
aggregate: "instant",
|
|
60
|
+
units: units$b,
|
|
61
|
+
};
|
|
62
|
+
const minAmbientTemperature = {
|
|
63
|
+
id: "minAmbientTemperature",
|
|
64
|
+
measure: "temperature",
|
|
65
|
+
aggregate: "min",
|
|
66
|
+
units: units$b,
|
|
67
|
+
};
|
|
68
|
+
const maxAmbientTemperature = {
|
|
69
|
+
id: "maxAmbientTemperature",
|
|
70
|
+
measure: "temperature",
|
|
71
|
+
aggregate: "max",
|
|
72
|
+
units: units$b,
|
|
73
|
+
};
|
|
74
|
+
const avgAmbientTemperature = {
|
|
75
|
+
id: "avgAmbientTemperature",
|
|
76
|
+
measure: "temperature",
|
|
77
|
+
aggregate: "avg",
|
|
78
|
+
units: units$b,
|
|
79
|
+
};
|
|
80
|
+
const sumAmbientTemperature = {
|
|
81
|
+
id: "sumAmbientTemperature",
|
|
82
|
+
measure: "temperature",
|
|
83
|
+
aggregate: "sum",
|
|
84
|
+
units: units$b,
|
|
85
|
+
};
|
|
86
|
+
const cntAmbientTemperature = {
|
|
87
|
+
id: "cntAmbientTemperature",
|
|
88
|
+
measure: "temperature",
|
|
89
|
+
aggregate: "cnt",
|
|
90
|
+
units: ["unitless"],
|
|
91
|
+
};
|
|
92
|
+
const ssqAmbientTemperature = {
|
|
93
|
+
id: "ssqAmbientTemperature",
|
|
94
|
+
measure: "temperature",
|
|
95
|
+
aggregate: "ssq",
|
|
96
|
+
units: sqUnits$4,
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
const units$a = ["unitless", "json"];
|
|
100
|
+
|
|
101
|
+
const axiomaInfocode = {
|
|
102
|
+
id: "axiomaInfocode",
|
|
103
|
+
measure: "none",
|
|
104
|
+
aggregate: "instant",
|
|
105
|
+
units: units$a,
|
|
106
|
+
};
|
|
107
|
+
const axiomaInfocodeType1 = {
|
|
108
|
+
id: "axiomaInfocodeType1",
|
|
109
|
+
measure: "none",
|
|
110
|
+
aggregate: "instant",
|
|
111
|
+
units: units$a,
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
const consumer = {
|
|
115
|
+
id: "consumer",
|
|
116
|
+
measure: "none",
|
|
117
|
+
aggregate: "instant",
|
|
118
|
+
units: ["unitless"],
|
|
119
|
+
immediate: true,
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const units$9 = [
|
|
123
|
+
"milliWattHour",
|
|
124
|
+
"wattHour",
|
|
125
|
+
"kiloWattHour",
|
|
126
|
+
"megaWattHour",
|
|
127
|
+
"gigaWattHour",
|
|
128
|
+
"calorie",
|
|
129
|
+
"kiloCalorie",
|
|
130
|
+
"megaCalorie",
|
|
131
|
+
"gigaCalorie",
|
|
132
|
+
];
|
|
133
|
+
|
|
134
|
+
const coolingEnergyVolumeInInlet = {
|
|
135
|
+
id: "coolingEnergyVolumeInInlet",
|
|
136
|
+
measure: "energy",
|
|
137
|
+
aggregate: "instant",
|
|
138
|
+
units: units$9,
|
|
139
|
+
};
|
|
140
|
+
const diffCoolingEnergyVolumeInInlet = {
|
|
141
|
+
id: "diffCoolingEnergyVolumeInInlet",
|
|
142
|
+
measure: "energy",
|
|
143
|
+
aggregate: "diff",
|
|
144
|
+
units: units$9,
|
|
145
|
+
};
|
|
146
|
+
const cntCoolingEnergyVolumeInInlet = {
|
|
147
|
+
id: "cntCoolingEnergyVolumeInInlet",
|
|
148
|
+
measure: "energy",
|
|
149
|
+
aggregate: "cnt",
|
|
150
|
+
units: ["unitless"],
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
const coolingEnergyVolumeInOutlet = {
|
|
154
|
+
id: "coolingEnergyVolumeInOutlet",
|
|
155
|
+
measure: "energy",
|
|
156
|
+
aggregate: "instant",
|
|
157
|
+
units: units$9,
|
|
158
|
+
};
|
|
159
|
+
const diffCoolingEnergyVolumeInOutlet = {
|
|
160
|
+
id: "diffCoolingEnergyVolumeInOutlet",
|
|
161
|
+
measure: "energy",
|
|
162
|
+
aggregate: "diff",
|
|
163
|
+
units: units$9,
|
|
164
|
+
};
|
|
165
|
+
const cntCoolingEnergyVolumeInOutlet = {
|
|
166
|
+
id: "cntCoolingEnergyVolumeInOutlet",
|
|
167
|
+
measure: "energy",
|
|
168
|
+
aggregate: "cnt",
|
|
169
|
+
units: ["unitless"],
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
const coolingEnergy = {
|
|
173
|
+
id: "coolingEnergy",
|
|
174
|
+
measure: "energy",
|
|
175
|
+
aggregate: "instant",
|
|
176
|
+
units: units$9,
|
|
177
|
+
};
|
|
178
|
+
const diffCoolingEnergy = {
|
|
179
|
+
id: "diffCoolingEnergy",
|
|
180
|
+
measure: "energy",
|
|
181
|
+
aggregate: "diff",
|
|
182
|
+
units: units$9,
|
|
183
|
+
};
|
|
184
|
+
const cntCoolingEnergy = {
|
|
185
|
+
id: "cntCoolingEnergy",
|
|
186
|
+
measure: "energy",
|
|
187
|
+
aggregate: "cnt",
|
|
188
|
+
units: ["unitless"],
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
const inletMinusOutletFlowTemperatureDifference = {
|
|
192
|
+
id: "inletMinusOutletFlowTemperatureDifference",
|
|
193
|
+
measure: "temperature",
|
|
194
|
+
aggregate: "instant",
|
|
195
|
+
units: units$b,
|
|
196
|
+
};
|
|
197
|
+
const minInletMinusOutletFlowTemperatureDifference = {
|
|
198
|
+
id: "minInletMinusOutletFlowTemperatureDifference",
|
|
199
|
+
measure: "temperature",
|
|
200
|
+
aggregate: "min",
|
|
201
|
+
units: units$b,
|
|
202
|
+
};
|
|
203
|
+
const maxInletMinusOutletFlowTemperatureDifference = {
|
|
204
|
+
id: "maxInletMinusOutletFlowTemperatureDifference",
|
|
205
|
+
measure: "temperature",
|
|
206
|
+
aggregate: "max",
|
|
207
|
+
units: units$b,
|
|
208
|
+
};
|
|
209
|
+
const avgInletMinusOutletFlowTemperatureDifference = {
|
|
210
|
+
id: "avgInletMinusOutletFlowTemperatureDifference",
|
|
211
|
+
measure: "temperature",
|
|
212
|
+
aggregate: "avg",
|
|
213
|
+
units: units$b,
|
|
214
|
+
};
|
|
215
|
+
const sumInletMinusOutletFlowTemperatureDifference = {
|
|
216
|
+
id: "sumInletMinusOutletFlowTemperatureDifference",
|
|
217
|
+
measure: "temperature",
|
|
218
|
+
aggregate: "sum",
|
|
219
|
+
units: units$b,
|
|
220
|
+
};
|
|
221
|
+
const cntInletMinusOutletFlowTemperatureDifference = {
|
|
222
|
+
id: "cntInletMinusOutletFlowTemperatureDifference",
|
|
223
|
+
measure: "temperature",
|
|
224
|
+
aggregate: "cnt",
|
|
225
|
+
units: ["unitless"],
|
|
226
|
+
};
|
|
227
|
+
const ssqInletMinusOutletFlowTemperatureDifference = {
|
|
228
|
+
id: "ssqInletMinusOutletFlowTemperatureDifference",
|
|
229
|
+
measure: "temperature",
|
|
230
|
+
aggregate: "ssq",
|
|
231
|
+
units: sqUnits$4,
|
|
232
|
+
};
|
|
233
|
+
const outletMinusInletFlowTemperatureDifference = {
|
|
234
|
+
id: "outletMinusInletFlowTemperatureDifference",
|
|
235
|
+
measure: "temperature",
|
|
236
|
+
aggregate: "instant",
|
|
237
|
+
units: units$b,
|
|
238
|
+
};
|
|
239
|
+
const minOutletMinusInletFlowTemperatureDifference = {
|
|
240
|
+
id: "minOutletMinusInletFlowTemperatureDifference",
|
|
241
|
+
measure: "temperature",
|
|
242
|
+
aggregate: "min",
|
|
243
|
+
units: units$b,
|
|
244
|
+
};
|
|
245
|
+
const maxOutletMinusInletFlowTemperatureDifference = {
|
|
246
|
+
id: "maxOutletMinusInletFlowTemperatureDifference",
|
|
247
|
+
measure: "temperature",
|
|
248
|
+
aggregate: "max",
|
|
249
|
+
units: units$b,
|
|
250
|
+
};
|
|
251
|
+
const avgOutletMinusInletFlowTemperatureDifference = {
|
|
252
|
+
id: "avgOutletMinusInletFlowTemperatureDifference",
|
|
253
|
+
measure: "temperature",
|
|
254
|
+
aggregate: "avg",
|
|
255
|
+
units: units$b,
|
|
256
|
+
};
|
|
257
|
+
const sumOutletMinusInletFlowTemperatureDifference = {
|
|
258
|
+
id: "sumOutletMinusInletFlowTemperatureDifference",
|
|
259
|
+
measure: "temperature",
|
|
260
|
+
aggregate: "sum",
|
|
261
|
+
units: units$b,
|
|
262
|
+
};
|
|
263
|
+
const cntOutletMinusInletFlowTemperatureDifference = {
|
|
264
|
+
id: "cntOutletMinusInletFlowTemperatureDifference",
|
|
265
|
+
measure: "temperature",
|
|
266
|
+
aggregate: "cnt",
|
|
267
|
+
units: ["unitless"],
|
|
268
|
+
};
|
|
269
|
+
const ssqOutletMinusInletFlowTemperatureDifference = {
|
|
270
|
+
id: "ssqOutletMinusInletFlowTemperatureDifference",
|
|
271
|
+
measure: "temperature",
|
|
272
|
+
aggregate: "ssq",
|
|
273
|
+
units: sqUnits$4,
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
const kamdraftDeviceAddresses = {
|
|
277
|
+
id: "kamdraftDeviceAddresses",
|
|
278
|
+
measure: "none",
|
|
279
|
+
aggregate: "instant",
|
|
280
|
+
units: ["json"],
|
|
281
|
+
immediate: true,
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
const msisdnDeviceAddresses = {
|
|
285
|
+
id: "msisdnDeviceAddresses",
|
|
286
|
+
measure: "none",
|
|
287
|
+
aggregate: "instant",
|
|
288
|
+
units: ["json"],
|
|
289
|
+
immediate: true,
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
const tchlrDeviceAddresses = {
|
|
293
|
+
id: "tchlrDeviceAddresses",
|
|
294
|
+
measure: "none",
|
|
295
|
+
aggregate: "instant",
|
|
296
|
+
units: ["json"],
|
|
297
|
+
immediate: true,
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
const wMBusDeviceAddresses = {
|
|
301
|
+
id: "wMBusDeviceAddresses",
|
|
302
|
+
measure: "none",
|
|
303
|
+
aggregate: "instant",
|
|
304
|
+
units: ["json"],
|
|
305
|
+
immediate: true,
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
const units$8 = [];
|
|
309
|
+
|
|
310
|
+
const deviceDateTime = {
|
|
311
|
+
id: "deviceDateTime",
|
|
312
|
+
measure: "time",
|
|
313
|
+
aggregate: "instant",
|
|
314
|
+
units: units$8,
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
const deviceDate = {
|
|
318
|
+
id: "deviceDate",
|
|
319
|
+
measure: "time",
|
|
320
|
+
aggregate: "instant",
|
|
321
|
+
units: units$8,
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
const deviceNominalDiameter = {
|
|
325
|
+
id: "deviceNominalDiameter",
|
|
326
|
+
measure: "none",
|
|
327
|
+
aggregate: "instant",
|
|
328
|
+
units: ["unitless"],
|
|
329
|
+
immediate: true,
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
const devicePermanentVolumeFlow = {
|
|
333
|
+
id: "devicePermanentVolumeFlow",
|
|
334
|
+
measure: "volumeFlow",
|
|
335
|
+
aggregate: "instant",
|
|
336
|
+
units: ["cubicMetersPerHour"],
|
|
337
|
+
immediate: true,
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
const deviceRegisters = {
|
|
341
|
+
id: "deviceRegisters",
|
|
342
|
+
measure: "none",
|
|
343
|
+
aggregate: "instant",
|
|
344
|
+
units: ["json"],
|
|
345
|
+
immediate: true,
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
const legacyDeviceSamples = {
|
|
349
|
+
id: "legacyDeviceSamples",
|
|
350
|
+
measure: "none",
|
|
351
|
+
aggregate: "instant",
|
|
352
|
+
units: ["json"],
|
|
353
|
+
immediate: true,
|
|
354
|
+
};
|
|
355
|
+
const deviceSamplesOnLastMount = {
|
|
356
|
+
id: "deviceSamplesOnLastMount",
|
|
357
|
+
measure: "none",
|
|
358
|
+
aggregate: "instant",
|
|
359
|
+
units: ["json"],
|
|
360
|
+
immediate: true,
|
|
361
|
+
};
|
|
362
|
+
const deviceSamplesOnLastUnmount = {
|
|
363
|
+
id: "deviceSamplesOnLastUnmount",
|
|
364
|
+
measure: "none",
|
|
365
|
+
aggregate: "instant",
|
|
366
|
+
units: ["json"],
|
|
367
|
+
immediate: true,
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
const deviceSoftwareVersion = {
|
|
371
|
+
id: "deviceSoftwareVersion",
|
|
372
|
+
measure: "none",
|
|
373
|
+
aggregate: "instant",
|
|
374
|
+
units: ["unitless"],
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
const deviceTime = {
|
|
378
|
+
id: "deviceTime",
|
|
379
|
+
measure: "time",
|
|
380
|
+
aggregate: "instant",
|
|
381
|
+
units: units$8,
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
const device = {
|
|
385
|
+
id: "device",
|
|
386
|
+
measure: "none",
|
|
387
|
+
aggregate: "instant",
|
|
388
|
+
units: ["json"],
|
|
389
|
+
immediate: true,
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
const diehlInfocode = {
|
|
393
|
+
id: "diehlInfocode",
|
|
394
|
+
measure: "none",
|
|
395
|
+
aggregate: "instant",
|
|
396
|
+
units: units$a,
|
|
397
|
+
};
|
|
398
|
+
const diehlInfocodeType1 = {
|
|
399
|
+
id: "diehlInfocodeType1",
|
|
400
|
+
measure: "none",
|
|
401
|
+
aggregate: "instant",
|
|
402
|
+
units: units$a,
|
|
403
|
+
};
|
|
404
|
+
const diehlInfocodeType2 = {
|
|
405
|
+
id: "diehlInfocodeType2",
|
|
406
|
+
measure: "none",
|
|
407
|
+
aggregate: "instant",
|
|
408
|
+
units: units$a,
|
|
409
|
+
};
|
|
410
|
+
const diehlInfocodeType3 = {
|
|
411
|
+
id: "diehlInfocodeType3",
|
|
412
|
+
measure: "none",
|
|
413
|
+
aggregate: "instant",
|
|
414
|
+
units: units$a,
|
|
415
|
+
};
|
|
416
|
+
const diehlInfocodeType4 = {
|
|
417
|
+
id: "diehlInfocodeType4",
|
|
418
|
+
measure: "none",
|
|
419
|
+
aggregate: "instant",
|
|
420
|
+
units: units$a,
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
const electricalEnergy = {
|
|
424
|
+
id: "electricalEnergy",
|
|
425
|
+
measure: "energy",
|
|
426
|
+
aggregate: "instant",
|
|
427
|
+
units: units$9,
|
|
428
|
+
};
|
|
429
|
+
const diffElectricalEnergy = {
|
|
430
|
+
id: "diffElectricalEnergy",
|
|
431
|
+
measure: "energy",
|
|
432
|
+
aggregate: "diff",
|
|
433
|
+
units: units$9,
|
|
434
|
+
};
|
|
435
|
+
const cntElectricalEnergy = {
|
|
436
|
+
id: "cntElectricalEnergy",
|
|
437
|
+
measure: "energy",
|
|
438
|
+
aggregate: "cnt",
|
|
439
|
+
units: ["unitless"],
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
const kamstrupE8Inlet = {
|
|
443
|
+
id: "kamstrupE8Inlet",
|
|
444
|
+
measure: "energy",
|
|
445
|
+
aggregate: "instant",
|
|
446
|
+
units: ["cubicMeterCelcius", ...units$9],
|
|
447
|
+
};
|
|
448
|
+
const diffKamstrupE8Inlet = {
|
|
449
|
+
id: "diffKamstrupE8Inlet",
|
|
450
|
+
measure: "energy",
|
|
451
|
+
aggregate: "diff",
|
|
452
|
+
units: ["cubicMeterCelcius", ...units$9],
|
|
453
|
+
};
|
|
454
|
+
const cntKamstrupE8Inlet = {
|
|
455
|
+
id: "cntKamstrupE8Inlet",
|
|
456
|
+
measure: "energy",
|
|
457
|
+
aggregate: "cnt",
|
|
458
|
+
units: ["unitless"],
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
const kamstrupE9Outlet = {
|
|
462
|
+
id: "kamstrupE9Outlet",
|
|
463
|
+
measure: "energy",
|
|
464
|
+
aggregate: "instant",
|
|
465
|
+
units: ["cubicMeterCelcius", ...units$9],
|
|
466
|
+
};
|
|
467
|
+
const diffKamstrupE9Outlet = {
|
|
468
|
+
id: "diffKamstrupE9Outlet",
|
|
469
|
+
measure: "energy",
|
|
470
|
+
aggregate: "diff",
|
|
471
|
+
units: ["cubicMeterCelcius", ...units$9],
|
|
472
|
+
};
|
|
473
|
+
const cntKamstrupE9Outlet = {
|
|
474
|
+
id: "cntKamstrupE9Outlet",
|
|
475
|
+
measure: "energy",
|
|
476
|
+
aggregate: "cnt",
|
|
477
|
+
units: ["unitless"],
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
const units$7 = [
|
|
481
|
+
"second",
|
|
482
|
+
"minute",
|
|
483
|
+
"hour",
|
|
484
|
+
"day",
|
|
485
|
+
"week",
|
|
486
|
+
"month",
|
|
487
|
+
"year",
|
|
488
|
+
];
|
|
489
|
+
|
|
490
|
+
const errorOperatingTime = {
|
|
491
|
+
id: "errorOperatingTime",
|
|
492
|
+
measure: "duration",
|
|
493
|
+
aggregate: "instant",
|
|
494
|
+
units: units$7,
|
|
495
|
+
};
|
|
496
|
+
const diffErrorOperatingTime = {
|
|
497
|
+
id: "diffErrorOperatingTime",
|
|
498
|
+
measure: "duration",
|
|
499
|
+
aggregate: "diff",
|
|
500
|
+
units: units$7,
|
|
501
|
+
};
|
|
502
|
+
const cntErrorOperatingTime = {
|
|
503
|
+
id: "cntErrorOperatingTime",
|
|
504
|
+
measure: "duration",
|
|
505
|
+
aggregate: "cnt",
|
|
506
|
+
units: ["unitless"],
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
const auxFlowTemperature = {
|
|
510
|
+
id: "auxFlowTemperature",
|
|
511
|
+
measure: "temperature",
|
|
512
|
+
aggregate: "instant",
|
|
513
|
+
units: units$b,
|
|
514
|
+
};
|
|
515
|
+
const minAuxFlowTemperature = {
|
|
516
|
+
id: "minAuxFlowTemperature",
|
|
517
|
+
measure: "temperature",
|
|
518
|
+
aggregate: "min",
|
|
519
|
+
units: units$b,
|
|
520
|
+
};
|
|
521
|
+
const maxAuxFlowTemperature = {
|
|
522
|
+
id: "maxAuxFlowTemperature",
|
|
523
|
+
measure: "temperature",
|
|
524
|
+
aggregate: "max",
|
|
525
|
+
units: units$b,
|
|
526
|
+
};
|
|
527
|
+
const avgAuxFlowTemperature = {
|
|
528
|
+
id: "avgAuxFlowTemperature",
|
|
529
|
+
measure: "temperature",
|
|
530
|
+
aggregate: "avg",
|
|
531
|
+
units: units$b,
|
|
532
|
+
};
|
|
533
|
+
const sumAuxFlowTemperature = {
|
|
534
|
+
id: "sumAuxFlowTemperature",
|
|
535
|
+
measure: "temperature",
|
|
536
|
+
aggregate: "sum",
|
|
537
|
+
units: units$b,
|
|
538
|
+
};
|
|
539
|
+
const cntAuxFlowTemperature = {
|
|
540
|
+
id: "cntAuxFlowTemperature",
|
|
541
|
+
measure: "temperature",
|
|
542
|
+
aggregate: "cnt",
|
|
543
|
+
units: ["unitless"],
|
|
544
|
+
};
|
|
545
|
+
const ssqAuxFlowTemperature = {
|
|
546
|
+
id: "ssqAuxFlowTemperature",
|
|
547
|
+
measure: "temperature",
|
|
548
|
+
aggregate: "ssq",
|
|
549
|
+
units: sqUnits$4,
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
const inletFlowTemperature = {
|
|
553
|
+
id: "inletFlowTemperature",
|
|
554
|
+
measure: "temperature",
|
|
555
|
+
aggregate: "instant",
|
|
556
|
+
units: units$b,
|
|
557
|
+
};
|
|
558
|
+
const minInletFlowTemperature = {
|
|
559
|
+
id: "minInletFlowTemperature",
|
|
560
|
+
measure: "temperature",
|
|
561
|
+
aggregate: "min",
|
|
562
|
+
units: units$b,
|
|
563
|
+
};
|
|
564
|
+
const maxInletFlowTemperature = {
|
|
565
|
+
id: "maxInletFlowTemperature",
|
|
566
|
+
measure: "temperature",
|
|
567
|
+
aggregate: "max",
|
|
568
|
+
units: units$b,
|
|
569
|
+
};
|
|
570
|
+
const avgInletFlowTemperature = {
|
|
571
|
+
id: "avgInletFlowTemperature",
|
|
572
|
+
measure: "temperature",
|
|
573
|
+
aggregate: "avg",
|
|
574
|
+
units: units$b,
|
|
575
|
+
};
|
|
576
|
+
const sumInletFlowTemperature = {
|
|
577
|
+
id: "sumInletFlowTemperature",
|
|
578
|
+
measure: "temperature",
|
|
579
|
+
aggregate: "sum",
|
|
580
|
+
units: units$b,
|
|
581
|
+
};
|
|
582
|
+
const cntInletFlowTemperature = {
|
|
583
|
+
id: "cntInletFlowTemperature",
|
|
584
|
+
measure: "temperature",
|
|
585
|
+
aggregate: "cnt",
|
|
586
|
+
units: ["unitless"],
|
|
587
|
+
};
|
|
588
|
+
const ssqInletFlowTemperature = {
|
|
589
|
+
id: "ssqInletFlowTemperature",
|
|
590
|
+
measure: "temperature",
|
|
591
|
+
aggregate: "ssq",
|
|
592
|
+
units: sqUnits$4,
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
const outletFlowTemperature = {
|
|
596
|
+
id: "outletFlowTemperature",
|
|
597
|
+
measure: "temperature",
|
|
598
|
+
aggregate: "instant",
|
|
599
|
+
units: units$b,
|
|
600
|
+
};
|
|
601
|
+
const minOutletFlowTemperature = {
|
|
602
|
+
id: "minOutletFlowTemperature",
|
|
603
|
+
measure: "temperature",
|
|
604
|
+
aggregate: "min",
|
|
605
|
+
units: units$b,
|
|
606
|
+
};
|
|
607
|
+
const maxOutletFlowTemperature = {
|
|
608
|
+
id: "maxOutletFlowTemperature",
|
|
609
|
+
measure: "temperature",
|
|
610
|
+
aggregate: "max",
|
|
611
|
+
units: units$b,
|
|
612
|
+
};
|
|
613
|
+
const avgOutletFlowTemperature = {
|
|
614
|
+
id: "avgOutletFlowTemperature",
|
|
615
|
+
measure: "temperature",
|
|
616
|
+
aggregate: "avg",
|
|
617
|
+
units: units$b,
|
|
618
|
+
};
|
|
619
|
+
const sumOutletFlowTemperature = {
|
|
620
|
+
id: "sumOutletFlowTemperature",
|
|
621
|
+
measure: "temperature",
|
|
622
|
+
aggregate: "sum",
|
|
623
|
+
units: units$b,
|
|
624
|
+
};
|
|
625
|
+
const cntOutletFlowTemperature = {
|
|
626
|
+
id: "cntOutletFlowTemperature",
|
|
627
|
+
measure: "temperature",
|
|
628
|
+
aggregate: "cnt",
|
|
629
|
+
units: ["unitless"],
|
|
630
|
+
};
|
|
631
|
+
const ssqOutletFlowTemperature = {
|
|
632
|
+
id: "ssqOutletFlowTemperature",
|
|
633
|
+
measure: "temperature",
|
|
634
|
+
aggregate: "ssq",
|
|
635
|
+
units: sqUnits$4,
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
const flowTemperature = {
|
|
639
|
+
id: "flowTemperature",
|
|
640
|
+
measure: "temperature",
|
|
641
|
+
aggregate: "instant",
|
|
642
|
+
units: units$b,
|
|
643
|
+
};
|
|
644
|
+
const minFlowTemperature = {
|
|
645
|
+
id: "minFlowTemperature",
|
|
646
|
+
measure: "temperature",
|
|
647
|
+
aggregate: "min",
|
|
648
|
+
units: units$b,
|
|
649
|
+
};
|
|
650
|
+
const maxFlowTemperature = {
|
|
651
|
+
id: "maxFlowTemperature",
|
|
652
|
+
measure: "temperature",
|
|
653
|
+
aggregate: "max",
|
|
654
|
+
units: units$b,
|
|
655
|
+
};
|
|
656
|
+
const avgFlowTemperature = {
|
|
657
|
+
id: "avgFlowTemperature",
|
|
658
|
+
measure: "temperature",
|
|
659
|
+
aggregate: "avg",
|
|
660
|
+
units: units$b,
|
|
661
|
+
};
|
|
662
|
+
const sumFlowTemperature = {
|
|
663
|
+
id: "sumFlowTemperature",
|
|
664
|
+
measure: "temperature",
|
|
665
|
+
aggregate: "sum",
|
|
666
|
+
units: units$b,
|
|
667
|
+
};
|
|
668
|
+
const cntFlowTemperature = {
|
|
669
|
+
id: "cntFlowTemperature",
|
|
670
|
+
measure: "temperature",
|
|
671
|
+
aggregate: "cnt",
|
|
672
|
+
units: ["unitless"],
|
|
673
|
+
};
|
|
674
|
+
const ssqFlowTemperature = {
|
|
675
|
+
id: "ssqFlowTemperature",
|
|
676
|
+
measure: "temperature",
|
|
677
|
+
aggregate: "ssq",
|
|
678
|
+
units: sqUnits$4,
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
const heatEnergyVolumeInInlet = {
|
|
682
|
+
id: "heatEnergyVolumeInInlet",
|
|
683
|
+
measure: "energy",
|
|
684
|
+
aggregate: "instant",
|
|
685
|
+
units: units$9,
|
|
686
|
+
};
|
|
687
|
+
const diffHeatEnergyVolumeInInlet = {
|
|
688
|
+
id: "diffHeatEnergyVolumeInInlet",
|
|
689
|
+
measure: "energy",
|
|
690
|
+
aggregate: "diff",
|
|
691
|
+
units: units$9,
|
|
692
|
+
};
|
|
693
|
+
const cntHeatEnergyVolumeInInlet = {
|
|
694
|
+
id: "cntHeatEnergyVolumeInInlet",
|
|
695
|
+
measure: "energy",
|
|
696
|
+
aggregate: "cnt",
|
|
697
|
+
units: ["unitless"],
|
|
698
|
+
};
|
|
699
|
+
const heatEnergyTariff1VolumeInInlet = {
|
|
700
|
+
id: "heatEnergyTariff1VolumeInInlet",
|
|
701
|
+
measure: "energy",
|
|
702
|
+
aggregate: "instant",
|
|
703
|
+
units: units$9,
|
|
704
|
+
};
|
|
705
|
+
const diffHeatEnergyTariff1VolumeInInlet = {
|
|
706
|
+
id: "diffHeatEnergyTariff1VolumeInInlet",
|
|
707
|
+
measure: "energy",
|
|
708
|
+
aggregate: "diff",
|
|
709
|
+
units: units$9,
|
|
710
|
+
};
|
|
711
|
+
const cntHeatEnergyTariff1VolumeInInlet = {
|
|
712
|
+
id: "cntHeatEnergyTariff1VolumeInInlet",
|
|
713
|
+
measure: "energy",
|
|
714
|
+
aggregate: "cnt",
|
|
715
|
+
units: ["unitless"],
|
|
716
|
+
};
|
|
717
|
+
const heatEnergyTariff2VolumeInInlet = {
|
|
718
|
+
id: "heatEnergyTariff2VolumeInInlet",
|
|
719
|
+
measure: "energy",
|
|
720
|
+
aggregate: "instant",
|
|
721
|
+
units: units$9,
|
|
722
|
+
};
|
|
723
|
+
const diffHeatEnergyTariff2VolumeInInlet = {
|
|
724
|
+
id: "diffHeatEnergyTariff2VolumeInInlet",
|
|
725
|
+
measure: "energy",
|
|
726
|
+
aggregate: "diff",
|
|
727
|
+
units: units$9,
|
|
728
|
+
};
|
|
729
|
+
const cntHeatEnergyTariff2VolumeInInlet = {
|
|
730
|
+
id: "cntHeatEnergyTariff2VolumeInInlet",
|
|
731
|
+
measure: "energy",
|
|
732
|
+
aggregate: "cnt",
|
|
733
|
+
units: ["unitless"],
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
const heatEnergyVolumeInOutlet = {
|
|
737
|
+
id: "heatEnergyVolumeInOutlet",
|
|
738
|
+
measure: "energy",
|
|
739
|
+
aggregate: "instant",
|
|
740
|
+
units: units$9,
|
|
741
|
+
};
|
|
742
|
+
const diffHeatEnergyVolumeInOutlet = {
|
|
743
|
+
id: "diffHeatEnergyVolumeInOutlet",
|
|
744
|
+
measure: "energy",
|
|
745
|
+
aggregate: "diff",
|
|
746
|
+
units: units$9,
|
|
747
|
+
};
|
|
748
|
+
const cntHeatEnergyVolumeInOutlet = {
|
|
749
|
+
id: "cntHeatEnergyVolumeInOutlet",
|
|
750
|
+
measure: "energy",
|
|
751
|
+
aggregate: "cnt",
|
|
752
|
+
units: ["unitless"],
|
|
753
|
+
};
|
|
754
|
+
const heatEnergyTariff1VolumeInOutlet = {
|
|
755
|
+
id: "heatEnergyTariff1VolumeInOutlet",
|
|
756
|
+
measure: "energy",
|
|
757
|
+
aggregate: "instant",
|
|
758
|
+
units: units$9,
|
|
759
|
+
};
|
|
760
|
+
const diffHeatEnergyTariff1VolumeInOutlet = {
|
|
761
|
+
id: "diffHeatEnergyTariff1VolumeInOutlet",
|
|
762
|
+
measure: "energy",
|
|
763
|
+
aggregate: "diff",
|
|
764
|
+
units: units$9,
|
|
765
|
+
};
|
|
766
|
+
const cntHeatEnergyTariff1VolumeInOutlet = {
|
|
767
|
+
id: "cntHeatEnergyTariff1VolumeInOutlet",
|
|
768
|
+
measure: "energy",
|
|
769
|
+
aggregate: "cnt",
|
|
770
|
+
units: ["unitless"],
|
|
771
|
+
};
|
|
772
|
+
const heatEnergyTariff2VolumeInOutlet = {
|
|
773
|
+
id: "heatEnergyTariff2VolumeInOutlet",
|
|
774
|
+
measure: "energy",
|
|
775
|
+
aggregate: "instant",
|
|
776
|
+
units: units$9,
|
|
777
|
+
};
|
|
778
|
+
const diffHeatEnergyTariff2VolumeInOutlet = {
|
|
779
|
+
id: "diffHeatEnergyTariff2VolumeInOutlet",
|
|
780
|
+
measure: "energy",
|
|
781
|
+
aggregate: "diff",
|
|
782
|
+
units: units$9,
|
|
783
|
+
};
|
|
784
|
+
const cntHeatEnergyTariff2VolumeInOutlet = {
|
|
785
|
+
id: "cntHeatEnergyTariff2VolumeInOutlet",
|
|
786
|
+
measure: "energy",
|
|
787
|
+
aggregate: "cnt",
|
|
788
|
+
units: ["unitless"],
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
const heatEnergy = {
|
|
792
|
+
id: "heatEnergy",
|
|
793
|
+
measure: "energy",
|
|
794
|
+
aggregate: "instant",
|
|
795
|
+
units: units$9,
|
|
796
|
+
};
|
|
797
|
+
const diffHeatEnergy = {
|
|
798
|
+
id: "diffHeatEnergy",
|
|
799
|
+
measure: "energy",
|
|
800
|
+
aggregate: "diff",
|
|
801
|
+
units: units$9,
|
|
802
|
+
};
|
|
803
|
+
const cntHeatEnergy = {
|
|
804
|
+
id: "cntHeatEnergy",
|
|
805
|
+
measure: "energy",
|
|
806
|
+
aggregate: "cnt",
|
|
807
|
+
units: ["unitless"],
|
|
808
|
+
};
|
|
809
|
+
const heatEnergyTariff1 = {
|
|
810
|
+
id: "heatEnergyTariff1",
|
|
811
|
+
measure: "energy",
|
|
812
|
+
aggregate: "instant",
|
|
813
|
+
units: units$9,
|
|
814
|
+
};
|
|
815
|
+
const diffHeatEnergyTariff1 = {
|
|
816
|
+
id: "diffHeatEnergyTariff1",
|
|
817
|
+
measure: "energy",
|
|
818
|
+
aggregate: "diff",
|
|
819
|
+
units: units$9,
|
|
820
|
+
};
|
|
821
|
+
const cntHeatEnergyTariff1 = {
|
|
822
|
+
id: "cntHeatEnergyTariff1",
|
|
823
|
+
measure: "energy",
|
|
824
|
+
aggregate: "cnt",
|
|
825
|
+
units: ["unitless"],
|
|
826
|
+
};
|
|
827
|
+
const heatEnergyTariff2 = {
|
|
828
|
+
id: "heatEnergyTariff2",
|
|
829
|
+
measure: "energy",
|
|
830
|
+
aggregate: "instant",
|
|
831
|
+
units: units$9,
|
|
832
|
+
};
|
|
833
|
+
const diffHeatEnergyTariff2 = {
|
|
834
|
+
id: "diffHeatEnergyTariff2",
|
|
835
|
+
measure: "energy",
|
|
836
|
+
aggregate: "diff",
|
|
837
|
+
units: units$9,
|
|
838
|
+
};
|
|
839
|
+
const cntHeatEnergyTariff2 = {
|
|
840
|
+
id: "cntHeatEnergyTariff2",
|
|
841
|
+
measure: "energy",
|
|
842
|
+
aggregate: "cnt",
|
|
843
|
+
units: ["unitless"],
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
const infocode = {
|
|
847
|
+
id: "infocode",
|
|
848
|
+
measure: "none",
|
|
849
|
+
aggregate: "instant",
|
|
850
|
+
units: units$a,
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
const kamstrupModuleType = {
|
|
854
|
+
id: "kamstrupModuleType",
|
|
855
|
+
measure: "none",
|
|
856
|
+
aggregate: "instant",
|
|
857
|
+
units: ["unitless"],
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
const kamstrupMulticalInfocode = {
|
|
861
|
+
id: "kamstrupMulticalInfocode",
|
|
862
|
+
measure: "none",
|
|
863
|
+
aggregate: "instant",
|
|
864
|
+
units: units$a,
|
|
865
|
+
};
|
|
866
|
+
const kamstrupMulticalInfocodeType1 = {
|
|
867
|
+
id: "kamstrupMulticalInfocodeType1",
|
|
868
|
+
measure: "none",
|
|
869
|
+
aggregate: "instant",
|
|
870
|
+
units: units$a,
|
|
871
|
+
};
|
|
872
|
+
const kamstrupMulticalInfocodeType2 = {
|
|
873
|
+
id: "kamstrupMulticalInfocodeType2",
|
|
874
|
+
measure: "none",
|
|
875
|
+
aggregate: "instant",
|
|
876
|
+
units: units$a,
|
|
877
|
+
};
|
|
878
|
+
const kamstrupMulticalInfocodeType3 = {
|
|
879
|
+
id: "kamstrupMulticalInfocodeType3",
|
|
880
|
+
measure: "none",
|
|
881
|
+
aggregate: "instant",
|
|
882
|
+
units: units$a,
|
|
883
|
+
};
|
|
884
|
+
const kamstrupMulticalInfocodeType4 = {
|
|
885
|
+
id: "kamstrupMulticalInfocodeType4",
|
|
886
|
+
measure: "none",
|
|
887
|
+
aggregate: "instant",
|
|
888
|
+
units: units$a,
|
|
889
|
+
};
|
|
890
|
+
const kamstrupMulticalInfocodeType5 = {
|
|
891
|
+
id: "kamstrupMulticalInfocodeType5",
|
|
892
|
+
measure: "none",
|
|
893
|
+
aggregate: "instant",
|
|
894
|
+
units: units$a,
|
|
895
|
+
};
|
|
896
|
+
const kamstrupMulticalInfocodeType6 = {
|
|
897
|
+
id: "kamstrupMulticalInfocodeType6",
|
|
898
|
+
measure: "none",
|
|
899
|
+
aggregate: "instant",
|
|
900
|
+
units: units$a,
|
|
901
|
+
};
|
|
902
|
+
const kamstrupMulticalInfocodeType7 = {
|
|
903
|
+
id: "kamstrupMulticalInfocodeType7",
|
|
904
|
+
measure: "none",
|
|
905
|
+
aggregate: "instant",
|
|
906
|
+
units: units$a,
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
const landisGyrInfocode = {
|
|
910
|
+
id: "landisGyrInfocode",
|
|
911
|
+
measure: "none",
|
|
912
|
+
aggregate: "instant",
|
|
913
|
+
units: units$a,
|
|
914
|
+
};
|
|
915
|
+
const landisGyrInfocodeType1 = {
|
|
916
|
+
id: "landisGyrInfocodeType1",
|
|
917
|
+
measure: "none",
|
|
918
|
+
aggregate: "instant",
|
|
919
|
+
units: units$a,
|
|
920
|
+
};
|
|
921
|
+
const landisGyrInfocodeType2 = {
|
|
922
|
+
id: "landisGyrInfocodeType2",
|
|
923
|
+
measure: "none",
|
|
924
|
+
aggregate: "instant",
|
|
925
|
+
units: units$a,
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
const landisGyrMBusStatus = {
|
|
929
|
+
id: "landisGyrMBusStatus",
|
|
930
|
+
measure: "none",
|
|
931
|
+
aggregate: "instant",
|
|
932
|
+
units: units$a,
|
|
933
|
+
};
|
|
934
|
+
const landisGyrMBusStatusType1 = {
|
|
935
|
+
id: "landisGyrMBusStatusType1",
|
|
936
|
+
measure: "none",
|
|
937
|
+
aggregate: "instant",
|
|
938
|
+
units: units$a,
|
|
939
|
+
};
|
|
940
|
+
const landisGyrMBusStatusType2 = {
|
|
941
|
+
id: "landisGyrMBusStatusType2",
|
|
942
|
+
measure: "none",
|
|
943
|
+
aggregate: "instant",
|
|
944
|
+
units: units$a,
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
const units$6 = [
|
|
948
|
+
"gramsPerSecond",
|
|
949
|
+
"gramsPerMinute",
|
|
950
|
+
"gramsPerHour",
|
|
951
|
+
"kiloGramsPerSecond",
|
|
952
|
+
"kiloGramsPerMinute",
|
|
953
|
+
"kiloGramsPerHour",
|
|
954
|
+
];
|
|
955
|
+
const sqUnits$3 = [
|
|
956
|
+
"gramsPerSecond2",
|
|
957
|
+
"gramsPerMinute2",
|
|
958
|
+
"gramsPerHour2",
|
|
959
|
+
"kiloGramsPerSecond2",
|
|
960
|
+
"kiloGramsPerMinute2",
|
|
961
|
+
"kiloGramsPerHour2",
|
|
962
|
+
];
|
|
963
|
+
|
|
964
|
+
const inletMassFlow = {
|
|
965
|
+
id: "inletMassFlow",
|
|
966
|
+
measure: "massFlow",
|
|
967
|
+
aggregate: "instant",
|
|
968
|
+
units: units$6,
|
|
969
|
+
};
|
|
970
|
+
const minInletMassFlow = {
|
|
971
|
+
id: "minInletMassFlow",
|
|
972
|
+
measure: "massFlow",
|
|
973
|
+
aggregate: "min",
|
|
974
|
+
units: units$6,
|
|
975
|
+
};
|
|
976
|
+
const maxInletMassFlow = {
|
|
977
|
+
id: "maxInletMassFlow",
|
|
978
|
+
measure: "massFlow",
|
|
979
|
+
aggregate: "max",
|
|
980
|
+
units: units$6,
|
|
981
|
+
};
|
|
982
|
+
const avgInletMassFlow = {
|
|
983
|
+
id: "avgInletMassFlow",
|
|
984
|
+
measure: "massFlow",
|
|
985
|
+
aggregate: "avg",
|
|
986
|
+
units: units$6,
|
|
987
|
+
};
|
|
988
|
+
const sumInletMassFlow = {
|
|
989
|
+
id: "sumInletMassFlow",
|
|
990
|
+
measure: "massFlow",
|
|
991
|
+
aggregate: "sum",
|
|
992
|
+
units: units$6,
|
|
993
|
+
};
|
|
994
|
+
const cntInletMassFlow = {
|
|
995
|
+
id: "cntInletMassFlow",
|
|
996
|
+
measure: "massFlow",
|
|
997
|
+
aggregate: "cnt",
|
|
998
|
+
units: ["unitless"],
|
|
999
|
+
};
|
|
1000
|
+
const ssqInletMassFlow = {
|
|
1001
|
+
id: "ssqInletMassFlow",
|
|
1002
|
+
measure: "massFlow",
|
|
1003
|
+
aggregate: "ssq",
|
|
1004
|
+
units: sqUnits$3,
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
const outletMassFlow = {
|
|
1008
|
+
id: "outletMassFlow",
|
|
1009
|
+
measure: "massFlow",
|
|
1010
|
+
aggregate: "instant",
|
|
1011
|
+
units: units$6,
|
|
1012
|
+
};
|
|
1013
|
+
const minOutletMassFlow = {
|
|
1014
|
+
id: "minOutletMassFlow",
|
|
1015
|
+
measure: "massFlow",
|
|
1016
|
+
aggregate: "min",
|
|
1017
|
+
units: units$6,
|
|
1018
|
+
};
|
|
1019
|
+
const maxOutletMassFlow = {
|
|
1020
|
+
id: "maxOutletMassFlow",
|
|
1021
|
+
measure: "massFlow",
|
|
1022
|
+
aggregate: "max",
|
|
1023
|
+
units: units$6,
|
|
1024
|
+
};
|
|
1025
|
+
const avgOutletMassFlow = {
|
|
1026
|
+
id: "avgOutletMassFlow",
|
|
1027
|
+
measure: "massFlow",
|
|
1028
|
+
aggregate: "avg",
|
|
1029
|
+
units: units$6,
|
|
1030
|
+
};
|
|
1031
|
+
const sumOutletMassFlow = {
|
|
1032
|
+
id: "sumOutletMassFlow",
|
|
1033
|
+
measure: "massFlow",
|
|
1034
|
+
aggregate: "sum",
|
|
1035
|
+
units: units$6,
|
|
1036
|
+
};
|
|
1037
|
+
const cntOutletMassFlow = {
|
|
1038
|
+
id: "cntOutletMassFlow",
|
|
1039
|
+
measure: "massFlow",
|
|
1040
|
+
aggregate: "cnt",
|
|
1041
|
+
units: ["unitless"],
|
|
1042
|
+
};
|
|
1043
|
+
const ssqOutletMassFlow = {
|
|
1044
|
+
id: "ssqOutletMassFlow",
|
|
1045
|
+
measure: "massFlow",
|
|
1046
|
+
aggregate: "ssq",
|
|
1047
|
+
units: sqUnits$3,
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
const massFlow = {
|
|
1051
|
+
id: "massFlow",
|
|
1052
|
+
measure: "massFlow",
|
|
1053
|
+
aggregate: "instant",
|
|
1054
|
+
units: units$6,
|
|
1055
|
+
};
|
|
1056
|
+
const minMassFlow = {
|
|
1057
|
+
id: "minMassFlow",
|
|
1058
|
+
measure: "massFlow",
|
|
1059
|
+
aggregate: "min",
|
|
1060
|
+
units: units$6,
|
|
1061
|
+
};
|
|
1062
|
+
const maxMassFlow = {
|
|
1063
|
+
id: "maxMassFlow",
|
|
1064
|
+
measure: "massFlow",
|
|
1065
|
+
aggregate: "max",
|
|
1066
|
+
units: units$6,
|
|
1067
|
+
};
|
|
1068
|
+
const avgMassFlow = {
|
|
1069
|
+
id: "avgMassFlow",
|
|
1070
|
+
measure: "massFlow",
|
|
1071
|
+
aggregate: "avg",
|
|
1072
|
+
units: units$6,
|
|
1073
|
+
};
|
|
1074
|
+
const sumMassFlow = {
|
|
1075
|
+
id: "sumMassFlow",
|
|
1076
|
+
measure: "massFlow",
|
|
1077
|
+
aggregate: "sum",
|
|
1078
|
+
units: units$6,
|
|
1079
|
+
};
|
|
1080
|
+
const cntMassFlow = {
|
|
1081
|
+
id: "cntMassFlow",
|
|
1082
|
+
measure: "massFlow",
|
|
1083
|
+
aggregate: "cnt",
|
|
1084
|
+
units: ["unitless"],
|
|
1085
|
+
};
|
|
1086
|
+
const ssqMassFlow = {
|
|
1087
|
+
id: "ssqMassFlow",
|
|
1088
|
+
measure: "massFlow",
|
|
1089
|
+
aggregate: "ssq",
|
|
1090
|
+
units: sqUnits$3,
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
const units$5 = [
|
|
1094
|
+
"gram",
|
|
1095
|
+
"kiloGram",
|
|
1096
|
+
"tonne",
|
|
1097
|
+
"ounce",
|
|
1098
|
+
"pound",
|
|
1099
|
+
"ton",
|
|
1100
|
+
];
|
|
1101
|
+
|
|
1102
|
+
const inletMass = {
|
|
1103
|
+
id: "inletMass",
|
|
1104
|
+
measure: "mass",
|
|
1105
|
+
aggregate: "instant",
|
|
1106
|
+
units: units$5,
|
|
1107
|
+
};
|
|
1108
|
+
const diffInletMass = {
|
|
1109
|
+
id: "diffInletMass",
|
|
1110
|
+
measure: "mass",
|
|
1111
|
+
aggregate: "diff",
|
|
1112
|
+
units: units$5,
|
|
1113
|
+
};
|
|
1114
|
+
const cntInletMass = {
|
|
1115
|
+
id: "cntInletMass",
|
|
1116
|
+
measure: "mass",
|
|
1117
|
+
aggregate: "cnt",
|
|
1118
|
+
units: ["unitless"],
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
const outletMass = {
|
|
1122
|
+
id: "outletMass",
|
|
1123
|
+
measure: "mass",
|
|
1124
|
+
aggregate: "instant",
|
|
1125
|
+
units: units$5,
|
|
1126
|
+
};
|
|
1127
|
+
const diffOutletMass = {
|
|
1128
|
+
id: "diffOutletMass",
|
|
1129
|
+
measure: "mass",
|
|
1130
|
+
aggregate: "diff",
|
|
1131
|
+
units: units$5,
|
|
1132
|
+
};
|
|
1133
|
+
const cntOutletMass = {
|
|
1134
|
+
id: "cntOutletMass",
|
|
1135
|
+
measure: "mass",
|
|
1136
|
+
aggregate: "cnt",
|
|
1137
|
+
units: ["unitless"],
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
const mass = {
|
|
1141
|
+
id: "mass",
|
|
1142
|
+
measure: "mass",
|
|
1143
|
+
aggregate: "instant",
|
|
1144
|
+
units: units$5,
|
|
1145
|
+
};
|
|
1146
|
+
const diffMass = {
|
|
1147
|
+
id: "diffMass",
|
|
1148
|
+
measure: "mass",
|
|
1149
|
+
aggregate: "diff",
|
|
1150
|
+
units: units$5,
|
|
1151
|
+
};
|
|
1152
|
+
const cntMass = {
|
|
1153
|
+
id: "cntMass",
|
|
1154
|
+
measure: "mass",
|
|
1155
|
+
aggregate: "cnt",
|
|
1156
|
+
units: ["unitless"],
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
const mBusFormatStringSignature = {
|
|
1160
|
+
id: "mBusFormatStringSignature",
|
|
1161
|
+
measure: "none",
|
|
1162
|
+
aggregate: "instant",
|
|
1163
|
+
units: ["unitless"],
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1166
|
+
const none = {
|
|
1167
|
+
id: "none",
|
|
1168
|
+
measure: "none",
|
|
1169
|
+
aggregate: "instant",
|
|
1170
|
+
units: ["unitless"],
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
const operatingTime = {
|
|
1174
|
+
id: "operatingTime",
|
|
1175
|
+
measure: "duration",
|
|
1176
|
+
aggregate: "instant",
|
|
1177
|
+
units: units$7,
|
|
1178
|
+
};
|
|
1179
|
+
const diffOperatingTime = {
|
|
1180
|
+
id: "diffOperatingTime",
|
|
1181
|
+
measure: "duration",
|
|
1182
|
+
aggregate: "diff",
|
|
1183
|
+
units: units$7,
|
|
1184
|
+
};
|
|
1185
|
+
const cntOperatingTime = {
|
|
1186
|
+
id: "cntOperatingTime",
|
|
1187
|
+
measure: "duration",
|
|
1188
|
+
aggregate: "cnt",
|
|
1189
|
+
units: ["unitless"],
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
const place = {
|
|
1193
|
+
id: "place",
|
|
1194
|
+
measure: "none",
|
|
1195
|
+
aggregate: "instant",
|
|
1196
|
+
units: ["json"],
|
|
1197
|
+
immediate: true,
|
|
1198
|
+
};
|
|
1199
|
+
const lastPlace = {
|
|
1200
|
+
id: "lastPlace",
|
|
1201
|
+
measure: "none",
|
|
1202
|
+
aggregate: "instant",
|
|
1203
|
+
units: ["json"],
|
|
1204
|
+
immediate: true,
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
const units$4 = [
|
|
1208
|
+
"milliWatt",
|
|
1209
|
+
"watt",
|
|
1210
|
+
"kiloWatt",
|
|
1211
|
+
"megaWatt",
|
|
1212
|
+
"gigaWatt",
|
|
1213
|
+
"joulesPerSecond",
|
|
1214
|
+
"joulesPerMinute",
|
|
1215
|
+
"joulesPerHour",
|
|
1216
|
+
];
|
|
1217
|
+
const sqUnits$2 = [
|
|
1218
|
+
"milliWatt2",
|
|
1219
|
+
"watt2",
|
|
1220
|
+
"kiloWatt2",
|
|
1221
|
+
"megaWatt2",
|
|
1222
|
+
"gigaWatt2",
|
|
1223
|
+
"joulesPerSecond2",
|
|
1224
|
+
"joulesPerMinute2",
|
|
1225
|
+
"joulesPerHour2",
|
|
1226
|
+
];
|
|
1227
|
+
|
|
1228
|
+
const inletPower = {
|
|
1229
|
+
id: "inletPower",
|
|
1230
|
+
measure: "power",
|
|
1231
|
+
aggregate: "instant",
|
|
1232
|
+
units: units$4,
|
|
1233
|
+
};
|
|
1234
|
+
const minInletPower = {
|
|
1235
|
+
id: "minInletPower",
|
|
1236
|
+
measure: "power",
|
|
1237
|
+
aggregate: "min",
|
|
1238
|
+
units: units$4,
|
|
1239
|
+
};
|
|
1240
|
+
const maxInletPower = {
|
|
1241
|
+
id: "maxInletPower",
|
|
1242
|
+
measure: "power",
|
|
1243
|
+
aggregate: "max",
|
|
1244
|
+
units: units$4,
|
|
1245
|
+
};
|
|
1246
|
+
const avgInletPower = {
|
|
1247
|
+
id: "avgInletPower",
|
|
1248
|
+
measure: "power",
|
|
1249
|
+
aggregate: "avg",
|
|
1250
|
+
units: units$4,
|
|
1251
|
+
};
|
|
1252
|
+
const sumInletPower = {
|
|
1253
|
+
id: "sumInletPower",
|
|
1254
|
+
measure: "power",
|
|
1255
|
+
aggregate: "sum",
|
|
1256
|
+
units: units$4,
|
|
1257
|
+
};
|
|
1258
|
+
const cntInletPower = {
|
|
1259
|
+
id: "cntInletPower",
|
|
1260
|
+
measure: "power",
|
|
1261
|
+
aggregate: "cnt",
|
|
1262
|
+
units: ["unitless"],
|
|
1263
|
+
};
|
|
1264
|
+
const ssqInletPower = {
|
|
1265
|
+
id: "ssqInletPower",
|
|
1266
|
+
measure: "power",
|
|
1267
|
+
aggregate: "ssq",
|
|
1268
|
+
units: sqUnits$2,
|
|
1269
|
+
};
|
|
1270
|
+
|
|
1271
|
+
const outletPower = {
|
|
1272
|
+
id: "outletPower",
|
|
1273
|
+
measure: "power",
|
|
1274
|
+
aggregate: "instant",
|
|
1275
|
+
units: units$4,
|
|
1276
|
+
};
|
|
1277
|
+
const minOutletPower = {
|
|
1278
|
+
id: "minOutletPower",
|
|
1279
|
+
measure: "power",
|
|
1280
|
+
aggregate: "min",
|
|
1281
|
+
units: units$4,
|
|
1282
|
+
};
|
|
1283
|
+
const maxOutletPower = {
|
|
1284
|
+
id: "maxOutletPower",
|
|
1285
|
+
measure: "power",
|
|
1286
|
+
aggregate: "max",
|
|
1287
|
+
units: units$4,
|
|
1288
|
+
};
|
|
1289
|
+
const avgOutletPower = {
|
|
1290
|
+
id: "avgOutletPower",
|
|
1291
|
+
measure: "power",
|
|
1292
|
+
aggregate: "avg",
|
|
1293
|
+
units: units$4,
|
|
1294
|
+
};
|
|
1295
|
+
const sumOutletPower = {
|
|
1296
|
+
id: "sumOutletPower",
|
|
1297
|
+
measure: "power",
|
|
1298
|
+
aggregate: "sum",
|
|
1299
|
+
units: units$4,
|
|
1300
|
+
};
|
|
1301
|
+
const cntOutletPower = {
|
|
1302
|
+
id: "cntOutletPower",
|
|
1303
|
+
measure: "power",
|
|
1304
|
+
aggregate: "cnt",
|
|
1305
|
+
units: ["unitless"],
|
|
1306
|
+
};
|
|
1307
|
+
const ssqOutletPower = {
|
|
1308
|
+
id: "ssqOutletPower",
|
|
1309
|
+
measure: "power",
|
|
1310
|
+
aggregate: "ssq",
|
|
1311
|
+
units: sqUnits$2,
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
const power = {
|
|
1315
|
+
id: "power",
|
|
1316
|
+
measure: "power",
|
|
1317
|
+
aggregate: "instant",
|
|
1318
|
+
units: units$4,
|
|
1319
|
+
};
|
|
1320
|
+
const minPower = {
|
|
1321
|
+
id: "minPower",
|
|
1322
|
+
measure: "power",
|
|
1323
|
+
aggregate: "min",
|
|
1324
|
+
units: units$4,
|
|
1325
|
+
};
|
|
1326
|
+
const maxPower = {
|
|
1327
|
+
id: "maxPower",
|
|
1328
|
+
measure: "power",
|
|
1329
|
+
aggregate: "max",
|
|
1330
|
+
units: units$4,
|
|
1331
|
+
};
|
|
1332
|
+
const avgPower = {
|
|
1333
|
+
id: "avgPower",
|
|
1334
|
+
measure: "power",
|
|
1335
|
+
aggregate: "avg",
|
|
1336
|
+
units: units$4,
|
|
1337
|
+
};
|
|
1338
|
+
const sumPower = {
|
|
1339
|
+
id: "sumPower",
|
|
1340
|
+
measure: "power",
|
|
1341
|
+
aggregate: "sum",
|
|
1342
|
+
units: units$4,
|
|
1343
|
+
};
|
|
1344
|
+
const cntPower = {
|
|
1345
|
+
id: "cntPower",
|
|
1346
|
+
measure: "power",
|
|
1347
|
+
aggregate: "cnt",
|
|
1348
|
+
units: ["unitless"],
|
|
1349
|
+
};
|
|
1350
|
+
const ssqPower = {
|
|
1351
|
+
id: "ssqPower",
|
|
1352
|
+
measure: "power",
|
|
1353
|
+
aggregate: "ssq",
|
|
1354
|
+
units: sqUnits$2,
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
const units$3 = ["bar", "pascal", "kiloPascal"];
|
|
1358
|
+
const sqUnits$1 = [
|
|
1359
|
+
"bar2",
|
|
1360
|
+
"pascal2",
|
|
1361
|
+
"kiloPascal2",
|
|
1362
|
+
];
|
|
1363
|
+
|
|
1364
|
+
const inletPressure = {
|
|
1365
|
+
id: "inletPressure",
|
|
1366
|
+
measure: "pressure",
|
|
1367
|
+
aggregate: "instant",
|
|
1368
|
+
units: units$3,
|
|
1369
|
+
};
|
|
1370
|
+
const minInletPressure = {
|
|
1371
|
+
id: "minInletPressure",
|
|
1372
|
+
measure: "pressure",
|
|
1373
|
+
aggregate: "min",
|
|
1374
|
+
units: units$3,
|
|
1375
|
+
};
|
|
1376
|
+
const maxInletPressure = {
|
|
1377
|
+
id: "maxInletPressure",
|
|
1378
|
+
measure: "pressure",
|
|
1379
|
+
aggregate: "max",
|
|
1380
|
+
units: units$3,
|
|
1381
|
+
};
|
|
1382
|
+
const avgInletPressure = {
|
|
1383
|
+
id: "avgInletPressure",
|
|
1384
|
+
measure: "pressure",
|
|
1385
|
+
aggregate: "avg",
|
|
1386
|
+
units: units$3,
|
|
1387
|
+
};
|
|
1388
|
+
const sumInletPressure = {
|
|
1389
|
+
id: "sumInletPressure",
|
|
1390
|
+
measure: "pressure",
|
|
1391
|
+
aggregate: "sum",
|
|
1392
|
+
units: units$3,
|
|
1393
|
+
};
|
|
1394
|
+
const cntInletPressure = {
|
|
1395
|
+
id: "cntInletPressure",
|
|
1396
|
+
measure: "pressure",
|
|
1397
|
+
aggregate: "cnt",
|
|
1398
|
+
units: ["unitless"],
|
|
1399
|
+
};
|
|
1400
|
+
const ssqInletPressure = {
|
|
1401
|
+
id: "ssqInletPressure",
|
|
1402
|
+
measure: "pressure",
|
|
1403
|
+
aggregate: "ssq",
|
|
1404
|
+
units: sqUnits$1,
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
const outletPressure = {
|
|
1408
|
+
id: "outletPressure",
|
|
1409
|
+
measure: "pressure",
|
|
1410
|
+
aggregate: "instant",
|
|
1411
|
+
units: units$3,
|
|
1412
|
+
};
|
|
1413
|
+
const minOutletPressure = {
|
|
1414
|
+
id: "minOutletPressure",
|
|
1415
|
+
measure: "pressure",
|
|
1416
|
+
aggregate: "min",
|
|
1417
|
+
units: units$3,
|
|
1418
|
+
};
|
|
1419
|
+
const maxOutletPressure = {
|
|
1420
|
+
id: "maxOutletPressure",
|
|
1421
|
+
measure: "pressure",
|
|
1422
|
+
aggregate: "max",
|
|
1423
|
+
units: units$3,
|
|
1424
|
+
};
|
|
1425
|
+
const avgOutletPressure = {
|
|
1426
|
+
id: "avgOutletPressure",
|
|
1427
|
+
measure: "pressure",
|
|
1428
|
+
aggregate: "avg",
|
|
1429
|
+
units: units$3,
|
|
1430
|
+
};
|
|
1431
|
+
const sumOutletPressure = {
|
|
1432
|
+
id: "sumOutletPressure",
|
|
1433
|
+
measure: "pressure",
|
|
1434
|
+
aggregate: "sum",
|
|
1435
|
+
units: units$3,
|
|
1436
|
+
};
|
|
1437
|
+
const cntOutletPressure = {
|
|
1438
|
+
id: "cntOutletPressure",
|
|
1439
|
+
measure: "pressure",
|
|
1440
|
+
aggregate: "cnt",
|
|
1441
|
+
units: ["unitless"],
|
|
1442
|
+
};
|
|
1443
|
+
const ssqOutletPressure = {
|
|
1444
|
+
id: "ssqOutletPressure",
|
|
1445
|
+
measure: "pressure",
|
|
1446
|
+
aggregate: "ssq",
|
|
1447
|
+
units: sqUnits$1,
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
const pressure = {
|
|
1451
|
+
id: "pressure",
|
|
1452
|
+
measure: "pressure",
|
|
1453
|
+
aggregate: "instant",
|
|
1454
|
+
units: units$3,
|
|
1455
|
+
};
|
|
1456
|
+
const minPressure = {
|
|
1457
|
+
id: "minPressure",
|
|
1458
|
+
measure: "pressure",
|
|
1459
|
+
aggregate: "min",
|
|
1460
|
+
units: units$3,
|
|
1461
|
+
};
|
|
1462
|
+
const maxPressure = {
|
|
1463
|
+
id: "maxPressure",
|
|
1464
|
+
measure: "pressure",
|
|
1465
|
+
aggregate: "max",
|
|
1466
|
+
units: units$3,
|
|
1467
|
+
};
|
|
1468
|
+
const avgPressure = {
|
|
1469
|
+
id: "avgPressure",
|
|
1470
|
+
measure: "pressure",
|
|
1471
|
+
aggregate: "avg",
|
|
1472
|
+
units: units$3,
|
|
1473
|
+
};
|
|
1474
|
+
const sumPressure = {
|
|
1475
|
+
id: "sumPressure",
|
|
1476
|
+
measure: "pressure",
|
|
1477
|
+
aggregate: "sum",
|
|
1478
|
+
units: units$3,
|
|
1479
|
+
};
|
|
1480
|
+
const cntPressure = {
|
|
1481
|
+
id: "cntPressure",
|
|
1482
|
+
measure: "pressure",
|
|
1483
|
+
aggregate: "cnt",
|
|
1484
|
+
units: ["unitless"],
|
|
1485
|
+
};
|
|
1486
|
+
const ssqPressure = {
|
|
1487
|
+
id: "ssqPressure",
|
|
1488
|
+
measure: "pressure",
|
|
1489
|
+
aggregate: "ssq",
|
|
1490
|
+
units: sqUnits$1,
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
const radiatorTemperature = {
|
|
1494
|
+
id: "radiatorTemperature",
|
|
1495
|
+
measure: "temperature",
|
|
1496
|
+
aggregate: "instant",
|
|
1497
|
+
units: units$b,
|
|
1498
|
+
};
|
|
1499
|
+
const minRadiatorTemperature = {
|
|
1500
|
+
id: "minRadiatorTemperature",
|
|
1501
|
+
measure: "temperature",
|
|
1502
|
+
aggregate: "min",
|
|
1503
|
+
units: units$b,
|
|
1504
|
+
};
|
|
1505
|
+
const maxRadiatorTemperature = {
|
|
1506
|
+
id: "maxRadiatorTemperature",
|
|
1507
|
+
measure: "temperature",
|
|
1508
|
+
aggregate: "max",
|
|
1509
|
+
units: units$b,
|
|
1510
|
+
};
|
|
1511
|
+
const avgRadiatorTemperature = {
|
|
1512
|
+
id: "avgRadiatorTemperature",
|
|
1513
|
+
measure: "temperature",
|
|
1514
|
+
aggregate: "avg",
|
|
1515
|
+
units: units$b,
|
|
1516
|
+
};
|
|
1517
|
+
const sumRadiatorTemperature = {
|
|
1518
|
+
id: "sumRadiatorTemperature",
|
|
1519
|
+
measure: "temperature",
|
|
1520
|
+
aggregate: "sum",
|
|
1521
|
+
units: units$b,
|
|
1522
|
+
};
|
|
1523
|
+
const cntRadiatorTemperature = {
|
|
1524
|
+
id: "cntRadiatorTemperature",
|
|
1525
|
+
measure: "temperature",
|
|
1526
|
+
aggregate: "cnt",
|
|
1527
|
+
units: ["unitless"],
|
|
1528
|
+
};
|
|
1529
|
+
const ssqRadiatorTemperature = {
|
|
1530
|
+
id: "ssqRadiatorTemperature",
|
|
1531
|
+
measure: "temperature",
|
|
1532
|
+
aggregate: "ssq",
|
|
1533
|
+
units: sqUnits$4,
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
const units$2 = [
|
|
1537
|
+
"varHour",
|
|
1538
|
+
"kiloVarHour",
|
|
1539
|
+
"megaVarHour",
|
|
1540
|
+
];
|
|
1541
|
+
|
|
1542
|
+
const reactiveEnergy = {
|
|
1543
|
+
id: "reactiveEnergy",
|
|
1544
|
+
measure: "reactiveEnergy",
|
|
1545
|
+
aggregate: "instant",
|
|
1546
|
+
units: units$2,
|
|
1547
|
+
};
|
|
1548
|
+
const diffReactiveEnergy = {
|
|
1549
|
+
id: "diffReactiveEnergy",
|
|
1550
|
+
measure: "reactiveEnergy",
|
|
1551
|
+
aggregate: "diff",
|
|
1552
|
+
units: units$2,
|
|
1553
|
+
};
|
|
1554
|
+
const cntReactiveEnergy = {
|
|
1555
|
+
id: "cntReactiveEnergy",
|
|
1556
|
+
measure: "reactiveEnergy",
|
|
1557
|
+
aggregate: "cnt",
|
|
1558
|
+
units: ["unitless"],
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
const relativeHumidity = {
|
|
1562
|
+
id: "relativeHumidity",
|
|
1563
|
+
measure: "humidity",
|
|
1564
|
+
aggregate: "instant",
|
|
1565
|
+
units: ["percentage"],
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
const remainingBatteryTime = {
|
|
1569
|
+
id: "remainingBatteryTime",
|
|
1570
|
+
measure: "duration",
|
|
1571
|
+
aggregate: "instant",
|
|
1572
|
+
units: units$7,
|
|
1573
|
+
};
|
|
1574
|
+
const diffRemainingBatteryTime = {
|
|
1575
|
+
id: "diffRemainingBatteryTime",
|
|
1576
|
+
measure: "duration",
|
|
1577
|
+
aggregate: "diff",
|
|
1578
|
+
units: units$7,
|
|
1579
|
+
};
|
|
1580
|
+
const cntRemainingBatteryTime = {
|
|
1581
|
+
id: "cntRemainingBatteryTime",
|
|
1582
|
+
measure: "duration",
|
|
1583
|
+
aggregate: "cnt",
|
|
1584
|
+
units: ["unitless"],
|
|
1585
|
+
};
|
|
1586
|
+
|
|
1587
|
+
const timeAtLastExactOverhearingArrived = {
|
|
1588
|
+
id: "timeAtLastExactOverhearingArrived",
|
|
1589
|
+
measure: "time",
|
|
1590
|
+
aggregate: "instant",
|
|
1591
|
+
units: units$8,
|
|
1592
|
+
immediate: true,
|
|
1593
|
+
};
|
|
1594
|
+
const timeSinceLastExactOverhearingArrived = {
|
|
1595
|
+
id: "timeSinceLastExactOverhearingArrived",
|
|
1596
|
+
measure: "duration",
|
|
1597
|
+
aggregate: "instant",
|
|
1598
|
+
units: units$7,
|
|
1599
|
+
immediate: true,
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
const timeAtLastInstallationMounted = {
|
|
1603
|
+
id: "timeAtLastInstallationMounted",
|
|
1604
|
+
measure: "time",
|
|
1605
|
+
aggregate: "instant",
|
|
1606
|
+
units: units$8,
|
|
1607
|
+
immediate: true,
|
|
1608
|
+
};
|
|
1609
|
+
const timeSinceLastInstallationMounted = {
|
|
1610
|
+
id: "timeSinceLastInstallationMounted",
|
|
1611
|
+
measure: "duration",
|
|
1612
|
+
aggregate: "instant",
|
|
1613
|
+
units: units$7,
|
|
1614
|
+
immediate: true,
|
|
1615
|
+
};
|
|
1616
|
+
|
|
1617
|
+
const timeAtLastPossibleCandidateOverhearingArrived = {
|
|
1618
|
+
id: "timeAtLastPossibleCandidateOverhearingArrived",
|
|
1619
|
+
measure: "time",
|
|
1620
|
+
aggregate: "instant",
|
|
1621
|
+
units: units$8,
|
|
1622
|
+
immediate: true,
|
|
1623
|
+
};
|
|
1624
|
+
const timeSinceLastPossibleCandidateOverhearingArrived = {
|
|
1625
|
+
id: "timeSinceLastPossibleCandidateOverhearingArrived",
|
|
1626
|
+
measure: "duration",
|
|
1627
|
+
aggregate: "instant",
|
|
1628
|
+
units: units$7,
|
|
1629
|
+
immediate: true,
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
const timeAtLastSampled = {
|
|
1633
|
+
id: "timeAtLastSampled",
|
|
1634
|
+
measure: "time",
|
|
1635
|
+
aggregate: "instant",
|
|
1636
|
+
units: units$8,
|
|
1637
|
+
immediate: true,
|
|
1638
|
+
};
|
|
1639
|
+
const timeSinceLastSampled = {
|
|
1640
|
+
id: "timeSinceLastSampled",
|
|
1641
|
+
measure: "duration",
|
|
1642
|
+
aggregate: "instant",
|
|
1643
|
+
units: units$7,
|
|
1644
|
+
immediate: true,
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
const basetime = {
|
|
1648
|
+
id: "basetime",
|
|
1649
|
+
measure: "time",
|
|
1650
|
+
aggregate: "instant",
|
|
1651
|
+
units: units$8,
|
|
1652
|
+
immediate: true,
|
|
1653
|
+
};
|
|
1654
|
+
const instantTime = {
|
|
1655
|
+
id: "instantTime",
|
|
1656
|
+
measure: "time",
|
|
1657
|
+
aggregate: "instant",
|
|
1658
|
+
units: units$8,
|
|
1659
|
+
};
|
|
1660
|
+
const periodStartTime = {
|
|
1661
|
+
id: "periodStartTime",
|
|
1662
|
+
measure: "time",
|
|
1663
|
+
aggregate: "instant",
|
|
1664
|
+
units: units$8,
|
|
1665
|
+
};
|
|
1666
|
+
const periodEndTime = {
|
|
1667
|
+
id: "periodEndTime",
|
|
1668
|
+
measure: "time",
|
|
1669
|
+
aggregate: "instant",
|
|
1670
|
+
units: units$8,
|
|
1671
|
+
};
|
|
1672
|
+
const instantOrPeriodStartTime = {
|
|
1673
|
+
id: "instantOrPeriodStartTime",
|
|
1674
|
+
measure: "time",
|
|
1675
|
+
aggregate: "instant",
|
|
1676
|
+
units: units$8,
|
|
1677
|
+
};
|
|
1678
|
+
const instantOrPeriodEndTime = {
|
|
1679
|
+
id: "instantOrPeriodEndTime",
|
|
1680
|
+
measure: "time",
|
|
1681
|
+
aggregate: "instant",
|
|
1682
|
+
units: units$8,
|
|
1683
|
+
};
|
|
1684
|
+
|
|
1685
|
+
const units$1 = [
|
|
1686
|
+
"litersPerSecond",
|
|
1687
|
+
"litersPerMinute",
|
|
1688
|
+
"litersPerHour",
|
|
1689
|
+
"cubicMetersPerSecond",
|
|
1690
|
+
"cubicMetersPerMinute",
|
|
1691
|
+
"cubicMetersPerHour",
|
|
1692
|
+
"gallonsPerSecond",
|
|
1693
|
+
"gallonsPerMinute",
|
|
1694
|
+
"gallonsPerHour",
|
|
1695
|
+
];
|
|
1696
|
+
const sqUnits = [
|
|
1697
|
+
"litersPerSecond2",
|
|
1698
|
+
"litersPerMinute2",
|
|
1699
|
+
"litersPerHour2",
|
|
1700
|
+
"cubicMetersPerSecond2",
|
|
1701
|
+
"cubicMetersPerMinute2",
|
|
1702
|
+
"cubicMetersPerHour2",
|
|
1703
|
+
"gallonsPerSecond2",
|
|
1704
|
+
"gallonsPerMinute2",
|
|
1705
|
+
"gallonsPerHour2",
|
|
1706
|
+
];
|
|
1707
|
+
|
|
1708
|
+
const inletVolumeFlow = {
|
|
1709
|
+
id: "inletVolumeFlow",
|
|
1710
|
+
measure: "volumeFlow",
|
|
1711
|
+
aggregate: "instant",
|
|
1712
|
+
units: units$1,
|
|
1713
|
+
};
|
|
1714
|
+
const minInletVolumeFlow = {
|
|
1715
|
+
id: "minInletVolumeFlow",
|
|
1716
|
+
measure: "volumeFlow",
|
|
1717
|
+
aggregate: "min",
|
|
1718
|
+
units: units$1,
|
|
1719
|
+
};
|
|
1720
|
+
const maxInletVolumeFlow = {
|
|
1721
|
+
id: "maxInletVolumeFlow",
|
|
1722
|
+
measure: "volumeFlow",
|
|
1723
|
+
aggregate: "max",
|
|
1724
|
+
units: units$1,
|
|
1725
|
+
};
|
|
1726
|
+
const avgInletVolumeFlow = {
|
|
1727
|
+
id: "avgInletVolumeFlow",
|
|
1728
|
+
measure: "volumeFlow",
|
|
1729
|
+
aggregate: "avg",
|
|
1730
|
+
units: units$1,
|
|
1731
|
+
};
|
|
1732
|
+
const sumInletVolumeFlow = {
|
|
1733
|
+
id: "sumInletVolumeFlow",
|
|
1734
|
+
measure: "volumeFlow",
|
|
1735
|
+
aggregate: "sum",
|
|
1736
|
+
units: units$1,
|
|
1737
|
+
};
|
|
1738
|
+
const cntInletVolumeFlow = {
|
|
1739
|
+
id: "cntInletVolumeFlow",
|
|
1740
|
+
measure: "volumeFlow",
|
|
1741
|
+
aggregate: "cnt",
|
|
1742
|
+
units: ["unitless"],
|
|
1743
|
+
};
|
|
1744
|
+
const ssqInletVolumeFlow = {
|
|
1745
|
+
id: "ssqInletVolumeFlow",
|
|
1746
|
+
measure: "volumeFlow",
|
|
1747
|
+
aggregate: "ssq",
|
|
1748
|
+
units: sqUnits,
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
const outletVolumeFlow = {
|
|
1752
|
+
id: "outletVolumeFlow",
|
|
1753
|
+
measure: "volumeFlow",
|
|
1754
|
+
aggregate: "instant",
|
|
1755
|
+
units: units$1,
|
|
1756
|
+
};
|
|
1757
|
+
const minOutletVolumeFlow = {
|
|
1758
|
+
id: "minOutletVolumeFlow",
|
|
1759
|
+
measure: "volumeFlow",
|
|
1760
|
+
aggregate: "min",
|
|
1761
|
+
units: units$1,
|
|
1762
|
+
};
|
|
1763
|
+
const maxOutletVolumeFlow = {
|
|
1764
|
+
id: "maxOutletVolumeFlow",
|
|
1765
|
+
measure: "volumeFlow",
|
|
1766
|
+
aggregate: "max",
|
|
1767
|
+
units: units$1,
|
|
1768
|
+
};
|
|
1769
|
+
const avgOutletVolumeFlow = {
|
|
1770
|
+
id: "avgOutletVolumeFlow",
|
|
1771
|
+
measure: "volumeFlow",
|
|
1772
|
+
aggregate: "avg",
|
|
1773
|
+
units: units$1,
|
|
1774
|
+
};
|
|
1775
|
+
const sumOutletVolumeFlow = {
|
|
1776
|
+
id: "sumOutletVolumeFlow",
|
|
1777
|
+
measure: "volumeFlow",
|
|
1778
|
+
aggregate: "sum",
|
|
1779
|
+
units: units$1,
|
|
1780
|
+
};
|
|
1781
|
+
const cntOutletVolumeFlow = {
|
|
1782
|
+
id: "cntOutletVolumeFlow",
|
|
1783
|
+
measure: "volumeFlow",
|
|
1784
|
+
aggregate: "cnt",
|
|
1785
|
+
units: ["unitless"],
|
|
1786
|
+
};
|
|
1787
|
+
const ssqOutletVolumeFlow = {
|
|
1788
|
+
id: "ssqOutletVolumeFlow",
|
|
1789
|
+
measure: "volumeFlow",
|
|
1790
|
+
aggregate: "ssq",
|
|
1791
|
+
units: sqUnits,
|
|
1792
|
+
};
|
|
1793
|
+
|
|
1794
|
+
const volumeFlow = {
|
|
1795
|
+
id: "volumeFlow",
|
|
1796
|
+
measure: "volumeFlow",
|
|
1797
|
+
aggregate: "instant",
|
|
1798
|
+
units: units$1,
|
|
1799
|
+
};
|
|
1800
|
+
const minVolumeFlow = {
|
|
1801
|
+
id: "minVolumeFlow",
|
|
1802
|
+
measure: "volumeFlow",
|
|
1803
|
+
aggregate: "min",
|
|
1804
|
+
units: units$1,
|
|
1805
|
+
};
|
|
1806
|
+
const maxVolumeFlow = {
|
|
1807
|
+
id: "maxVolumeFlow",
|
|
1808
|
+
measure: "volumeFlow",
|
|
1809
|
+
aggregate: "max",
|
|
1810
|
+
units: units$1,
|
|
1811
|
+
};
|
|
1812
|
+
const avgVolumeFlow = {
|
|
1813
|
+
id: "avgVolumeFlow",
|
|
1814
|
+
measure: "volumeFlow",
|
|
1815
|
+
aggregate: "avg",
|
|
1816
|
+
units: units$1,
|
|
1817
|
+
};
|
|
1818
|
+
const sumVolumeFlow = {
|
|
1819
|
+
id: "sumVolumeFlow",
|
|
1820
|
+
measure: "volumeFlow",
|
|
1821
|
+
aggregate: "sum",
|
|
1822
|
+
units: units$1,
|
|
1823
|
+
};
|
|
1824
|
+
const cntVolumeFlow = {
|
|
1825
|
+
id: "cntVolumeFlow",
|
|
1826
|
+
measure: "volumeFlow",
|
|
1827
|
+
aggregate: "cnt",
|
|
1828
|
+
units: ["unitless"],
|
|
1829
|
+
};
|
|
1830
|
+
const ssqVolumeFlow = {
|
|
1831
|
+
id: "ssqVolumeFlow",
|
|
1832
|
+
measure: "volumeFlow",
|
|
1833
|
+
aggregate: "ssq",
|
|
1834
|
+
units: sqUnits,
|
|
1835
|
+
};
|
|
1836
|
+
|
|
1837
|
+
const units = ["liter", "cubicMeter", "gallon"];
|
|
1838
|
+
|
|
1839
|
+
const inletVolume = {
|
|
1840
|
+
id: "inletVolume",
|
|
1841
|
+
measure: "volume",
|
|
1842
|
+
aggregate: "instant",
|
|
1843
|
+
units,
|
|
1844
|
+
};
|
|
1845
|
+
const diffInletVolume = {
|
|
1846
|
+
id: "diffInletVolume",
|
|
1847
|
+
measure: "volume",
|
|
1848
|
+
aggregate: "diff",
|
|
1849
|
+
units,
|
|
1850
|
+
};
|
|
1851
|
+
const cntInletVolume = {
|
|
1852
|
+
id: "cntInletVolume",
|
|
1853
|
+
measure: "volume",
|
|
1854
|
+
aggregate: "cnt",
|
|
1855
|
+
units: ["unitless"],
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
const outletVolume = {
|
|
1859
|
+
id: "outletVolume",
|
|
1860
|
+
measure: "volume",
|
|
1861
|
+
aggregate: "instant",
|
|
1862
|
+
units,
|
|
1863
|
+
};
|
|
1864
|
+
const diffOutletVolume = {
|
|
1865
|
+
id: "diffOutletVolume",
|
|
1866
|
+
measure: "volume",
|
|
1867
|
+
aggregate: "diff",
|
|
1868
|
+
units,
|
|
1869
|
+
};
|
|
1870
|
+
const cntOutletVolume = {
|
|
1871
|
+
id: "cntOutletVolume",
|
|
1872
|
+
measure: "volume",
|
|
1873
|
+
aggregate: "cnt",
|
|
1874
|
+
units: ["unitless"],
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
const pulseInputAVolume = {
|
|
1878
|
+
id: "pulseInputAVolume",
|
|
1879
|
+
measure: "volume",
|
|
1880
|
+
aggregate: "instant",
|
|
1881
|
+
units,
|
|
1882
|
+
};
|
|
1883
|
+
const diffPulseInputAVolume = {
|
|
1884
|
+
id: "diffPulseInputAVolume",
|
|
1885
|
+
measure: "volume",
|
|
1886
|
+
aggregate: "diff",
|
|
1887
|
+
units,
|
|
1888
|
+
};
|
|
1889
|
+
const cntPulseInputAVolume = {
|
|
1890
|
+
id: "cntPulseInputAVolume",
|
|
1891
|
+
measure: "volume",
|
|
1892
|
+
aggregate: "cnt",
|
|
1893
|
+
units: ["unitless"],
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
const pulseInputBVolume = {
|
|
1897
|
+
id: "pulseInputBVolume",
|
|
1898
|
+
measure: "volume",
|
|
1899
|
+
aggregate: "instant",
|
|
1900
|
+
units,
|
|
1901
|
+
};
|
|
1902
|
+
const diffPulseInputBVolume = {
|
|
1903
|
+
id: "diffPulseInputBVolume",
|
|
1904
|
+
measure: "volume",
|
|
1905
|
+
aggregate: "diff",
|
|
1906
|
+
units,
|
|
1907
|
+
};
|
|
1908
|
+
const cntPulseInputBVolume = {
|
|
1909
|
+
id: "cntPulseInputBVolume",
|
|
1910
|
+
measure: "volume",
|
|
1911
|
+
aggregate: "cnt",
|
|
1912
|
+
units: ["unitless"],
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1915
|
+
const volume = {
|
|
1916
|
+
id: "volume",
|
|
1917
|
+
measure: "volume",
|
|
1918
|
+
aggregate: "instant",
|
|
1919
|
+
units,
|
|
1920
|
+
};
|
|
1921
|
+
const diffVolume = {
|
|
1922
|
+
id: "diffVolume",
|
|
1923
|
+
measure: "volume",
|
|
1924
|
+
aggregate: "diff",
|
|
1925
|
+
units,
|
|
1926
|
+
};
|
|
1927
|
+
const cntVolume = {
|
|
1928
|
+
id: "cntVolume",
|
|
1929
|
+
measure: "volume",
|
|
1930
|
+
aggregate: "cnt",
|
|
1931
|
+
units: ["unitless"],
|
|
1932
|
+
};
|
|
1933
|
+
|
|
1934
|
+
var Registers = /*#__PURE__*/Object.freeze({
|
|
1935
|
+
__proto__: null,
|
|
1936
|
+
acousticNoise: acousticNoise,
|
|
1937
|
+
ambientTemperature: ambientTemperature,
|
|
1938
|
+
auxFlowTemperature: auxFlowTemperature,
|
|
1939
|
+
avgAcousticNoise: avgAcousticNoise,
|
|
1940
|
+
avgAmbientTemperature: avgAmbientTemperature,
|
|
1941
|
+
avgAuxFlowTemperature: avgAuxFlowTemperature,
|
|
1942
|
+
avgFlowTemperature: avgFlowTemperature,
|
|
1943
|
+
avgInletFlowTemperature: avgInletFlowTemperature,
|
|
1944
|
+
avgInletMassFlow: avgInletMassFlow,
|
|
1945
|
+
avgInletMinusOutletFlowTemperatureDifference: avgInletMinusOutletFlowTemperatureDifference,
|
|
1946
|
+
avgInletPower: avgInletPower,
|
|
1947
|
+
avgInletPressure: avgInletPressure,
|
|
1948
|
+
avgInletVolumeFlow: avgInletVolumeFlow,
|
|
1949
|
+
avgMassFlow: avgMassFlow,
|
|
1950
|
+
avgOutletFlowTemperature: avgOutletFlowTemperature,
|
|
1951
|
+
avgOutletMassFlow: avgOutletMassFlow,
|
|
1952
|
+
avgOutletMinusInletFlowTemperatureDifference: avgOutletMinusInletFlowTemperatureDifference,
|
|
1953
|
+
avgOutletPower: avgOutletPower,
|
|
1954
|
+
avgOutletPressure: avgOutletPressure,
|
|
1955
|
+
avgOutletVolumeFlow: avgOutletVolumeFlow,
|
|
1956
|
+
avgPower: avgPower,
|
|
1957
|
+
avgPressure: avgPressure,
|
|
1958
|
+
avgRadiatorTemperature: avgRadiatorTemperature,
|
|
1959
|
+
avgVolumeFlow: avgVolumeFlow,
|
|
1960
|
+
axiomaInfocode: axiomaInfocode,
|
|
1961
|
+
axiomaInfocodeType1: axiomaInfocodeType1,
|
|
1962
|
+
basetime: basetime,
|
|
1963
|
+
cntAcousticNoise: cntAcousticNoise,
|
|
1964
|
+
cntAmbientTemperature: cntAmbientTemperature,
|
|
1965
|
+
cntAuxFlowTemperature: cntAuxFlowTemperature,
|
|
1966
|
+
cntCoolingEnergy: cntCoolingEnergy,
|
|
1967
|
+
cntCoolingEnergyVolumeInInlet: cntCoolingEnergyVolumeInInlet,
|
|
1968
|
+
cntCoolingEnergyVolumeInOutlet: cntCoolingEnergyVolumeInOutlet,
|
|
1969
|
+
cntElectricalEnergy: cntElectricalEnergy,
|
|
1970
|
+
cntErrorOperatingTime: cntErrorOperatingTime,
|
|
1971
|
+
cntFlowTemperature: cntFlowTemperature,
|
|
1972
|
+
cntHeatEnergy: cntHeatEnergy,
|
|
1973
|
+
cntHeatEnergyTariff1: cntHeatEnergyTariff1,
|
|
1974
|
+
cntHeatEnergyTariff1VolumeInInlet: cntHeatEnergyTariff1VolumeInInlet,
|
|
1975
|
+
cntHeatEnergyTariff1VolumeInOutlet: cntHeatEnergyTariff1VolumeInOutlet,
|
|
1976
|
+
cntHeatEnergyTariff2: cntHeatEnergyTariff2,
|
|
1977
|
+
cntHeatEnergyTariff2VolumeInInlet: cntHeatEnergyTariff2VolumeInInlet,
|
|
1978
|
+
cntHeatEnergyTariff2VolumeInOutlet: cntHeatEnergyTariff2VolumeInOutlet,
|
|
1979
|
+
cntHeatEnergyVolumeInInlet: cntHeatEnergyVolumeInInlet,
|
|
1980
|
+
cntHeatEnergyVolumeInOutlet: cntHeatEnergyVolumeInOutlet,
|
|
1981
|
+
cntInletFlowTemperature: cntInletFlowTemperature,
|
|
1982
|
+
cntInletMass: cntInletMass,
|
|
1983
|
+
cntInletMassFlow: cntInletMassFlow,
|
|
1984
|
+
cntInletMinusOutletFlowTemperatureDifference: cntInletMinusOutletFlowTemperatureDifference,
|
|
1985
|
+
cntInletPower: cntInletPower,
|
|
1986
|
+
cntInletPressure: cntInletPressure,
|
|
1987
|
+
cntInletVolume: cntInletVolume,
|
|
1988
|
+
cntInletVolumeFlow: cntInletVolumeFlow,
|
|
1989
|
+
cntKamstrupE8Inlet: cntKamstrupE8Inlet,
|
|
1990
|
+
cntKamstrupE9Outlet: cntKamstrupE9Outlet,
|
|
1991
|
+
cntMass: cntMass,
|
|
1992
|
+
cntMassFlow: cntMassFlow,
|
|
1993
|
+
cntOperatingTime: cntOperatingTime,
|
|
1994
|
+
cntOutletFlowTemperature: cntOutletFlowTemperature,
|
|
1995
|
+
cntOutletMass: cntOutletMass,
|
|
1996
|
+
cntOutletMassFlow: cntOutletMassFlow,
|
|
1997
|
+
cntOutletMinusInletFlowTemperatureDifference: cntOutletMinusInletFlowTemperatureDifference,
|
|
1998
|
+
cntOutletPower: cntOutletPower,
|
|
1999
|
+
cntOutletPressure: cntOutletPressure,
|
|
2000
|
+
cntOutletVolume: cntOutletVolume,
|
|
2001
|
+
cntOutletVolumeFlow: cntOutletVolumeFlow,
|
|
2002
|
+
cntPower: cntPower,
|
|
2003
|
+
cntPressure: cntPressure,
|
|
2004
|
+
cntPulseInputAVolume: cntPulseInputAVolume,
|
|
2005
|
+
cntPulseInputBVolume: cntPulseInputBVolume,
|
|
2006
|
+
cntRadiatorTemperature: cntRadiatorTemperature,
|
|
2007
|
+
cntReactiveEnergy: cntReactiveEnergy,
|
|
2008
|
+
cntRemainingBatteryTime: cntRemainingBatteryTime,
|
|
2009
|
+
cntVolume: cntVolume,
|
|
2010
|
+
cntVolumeFlow: cntVolumeFlow,
|
|
2011
|
+
consumer: consumer,
|
|
2012
|
+
coolingEnergy: coolingEnergy,
|
|
2013
|
+
coolingEnergyVolumeInInlet: coolingEnergyVolumeInInlet,
|
|
2014
|
+
coolingEnergyVolumeInOutlet: coolingEnergyVolumeInOutlet,
|
|
2015
|
+
device: device,
|
|
2016
|
+
deviceDate: deviceDate,
|
|
2017
|
+
deviceDateTime: deviceDateTime,
|
|
2018
|
+
deviceNominalDiameter: deviceNominalDiameter,
|
|
2019
|
+
devicePermanentVolumeFlow: devicePermanentVolumeFlow,
|
|
2020
|
+
deviceRegisters: deviceRegisters,
|
|
2021
|
+
deviceSamplesOnLastMount: deviceSamplesOnLastMount,
|
|
2022
|
+
deviceSamplesOnLastUnmount: deviceSamplesOnLastUnmount,
|
|
2023
|
+
deviceSoftwareVersion: deviceSoftwareVersion,
|
|
2024
|
+
deviceTime: deviceTime,
|
|
2025
|
+
diehlInfocode: diehlInfocode,
|
|
2026
|
+
diehlInfocodeType1: diehlInfocodeType1,
|
|
2027
|
+
diehlInfocodeType2: diehlInfocodeType2,
|
|
2028
|
+
diehlInfocodeType3: diehlInfocodeType3,
|
|
2029
|
+
diehlInfocodeType4: diehlInfocodeType4,
|
|
2030
|
+
diffCoolingEnergy: diffCoolingEnergy,
|
|
2031
|
+
diffCoolingEnergyVolumeInInlet: diffCoolingEnergyVolumeInInlet,
|
|
2032
|
+
diffCoolingEnergyVolumeInOutlet: diffCoolingEnergyVolumeInOutlet,
|
|
2033
|
+
diffElectricalEnergy: diffElectricalEnergy,
|
|
2034
|
+
diffErrorOperatingTime: diffErrorOperatingTime,
|
|
2035
|
+
diffHeatEnergy: diffHeatEnergy,
|
|
2036
|
+
diffHeatEnergyTariff1: diffHeatEnergyTariff1,
|
|
2037
|
+
diffHeatEnergyTariff1VolumeInInlet: diffHeatEnergyTariff1VolumeInInlet,
|
|
2038
|
+
diffHeatEnergyTariff1VolumeInOutlet: diffHeatEnergyTariff1VolumeInOutlet,
|
|
2039
|
+
diffHeatEnergyTariff2: diffHeatEnergyTariff2,
|
|
2040
|
+
diffHeatEnergyTariff2VolumeInInlet: diffHeatEnergyTariff2VolumeInInlet,
|
|
2041
|
+
diffHeatEnergyTariff2VolumeInOutlet: diffHeatEnergyTariff2VolumeInOutlet,
|
|
2042
|
+
diffHeatEnergyVolumeInInlet: diffHeatEnergyVolumeInInlet,
|
|
2043
|
+
diffHeatEnergyVolumeInOutlet: diffHeatEnergyVolumeInOutlet,
|
|
2044
|
+
diffInletMass: diffInletMass,
|
|
2045
|
+
diffInletVolume: diffInletVolume,
|
|
2046
|
+
diffKamstrupE8Inlet: diffKamstrupE8Inlet,
|
|
2047
|
+
diffKamstrupE9Outlet: diffKamstrupE9Outlet,
|
|
2048
|
+
diffMass: diffMass,
|
|
2049
|
+
diffOperatingTime: diffOperatingTime,
|
|
2050
|
+
diffOutletMass: diffOutletMass,
|
|
2051
|
+
diffOutletVolume: diffOutletVolume,
|
|
2052
|
+
diffPulseInputAVolume: diffPulseInputAVolume,
|
|
2053
|
+
diffPulseInputBVolume: diffPulseInputBVolume,
|
|
2054
|
+
diffReactiveEnergy: diffReactiveEnergy,
|
|
2055
|
+
diffRemainingBatteryTime: diffRemainingBatteryTime,
|
|
2056
|
+
diffVolume: diffVolume,
|
|
2057
|
+
electricalEnergy: electricalEnergy,
|
|
2058
|
+
errorOperatingTime: errorOperatingTime,
|
|
2059
|
+
flowTemperature: flowTemperature,
|
|
2060
|
+
heatEnergy: heatEnergy,
|
|
2061
|
+
heatEnergyTariff1: heatEnergyTariff1,
|
|
2062
|
+
heatEnergyTariff1VolumeInInlet: heatEnergyTariff1VolumeInInlet,
|
|
2063
|
+
heatEnergyTariff1VolumeInOutlet: heatEnergyTariff1VolumeInOutlet,
|
|
2064
|
+
heatEnergyTariff2: heatEnergyTariff2,
|
|
2065
|
+
heatEnergyTariff2VolumeInInlet: heatEnergyTariff2VolumeInInlet,
|
|
2066
|
+
heatEnergyTariff2VolumeInOutlet: heatEnergyTariff2VolumeInOutlet,
|
|
2067
|
+
heatEnergyVolumeInInlet: heatEnergyVolumeInInlet,
|
|
2068
|
+
heatEnergyVolumeInOutlet: heatEnergyVolumeInOutlet,
|
|
2069
|
+
infocode: infocode,
|
|
2070
|
+
inletFlowTemperature: inletFlowTemperature,
|
|
2071
|
+
inletMass: inletMass,
|
|
2072
|
+
inletMassFlow: inletMassFlow,
|
|
2073
|
+
inletMinusOutletFlowTemperatureDifference: inletMinusOutletFlowTemperatureDifference,
|
|
2074
|
+
inletPower: inletPower,
|
|
2075
|
+
inletPressure: inletPressure,
|
|
2076
|
+
inletVolume: inletVolume,
|
|
2077
|
+
inletVolumeFlow: inletVolumeFlow,
|
|
2078
|
+
instantOrPeriodEndTime: instantOrPeriodEndTime,
|
|
2079
|
+
instantOrPeriodStartTime: instantOrPeriodStartTime,
|
|
2080
|
+
instantTime: instantTime,
|
|
2081
|
+
kamdraftDeviceAddresses: kamdraftDeviceAddresses,
|
|
2082
|
+
kamstrupE8Inlet: kamstrupE8Inlet,
|
|
2083
|
+
kamstrupE9Outlet: kamstrupE9Outlet,
|
|
2084
|
+
kamstrupModuleType: kamstrupModuleType,
|
|
2085
|
+
kamstrupMulticalInfocode: kamstrupMulticalInfocode,
|
|
2086
|
+
kamstrupMulticalInfocodeType1: kamstrupMulticalInfocodeType1,
|
|
2087
|
+
kamstrupMulticalInfocodeType2: kamstrupMulticalInfocodeType2,
|
|
2088
|
+
kamstrupMulticalInfocodeType3: kamstrupMulticalInfocodeType3,
|
|
2089
|
+
kamstrupMulticalInfocodeType4: kamstrupMulticalInfocodeType4,
|
|
2090
|
+
kamstrupMulticalInfocodeType5: kamstrupMulticalInfocodeType5,
|
|
2091
|
+
kamstrupMulticalInfocodeType6: kamstrupMulticalInfocodeType6,
|
|
2092
|
+
kamstrupMulticalInfocodeType7: kamstrupMulticalInfocodeType7,
|
|
2093
|
+
landisGyrInfocode: landisGyrInfocode,
|
|
2094
|
+
landisGyrInfocodeType1: landisGyrInfocodeType1,
|
|
2095
|
+
landisGyrInfocodeType2: landisGyrInfocodeType2,
|
|
2096
|
+
landisGyrMBusStatus: landisGyrMBusStatus,
|
|
2097
|
+
landisGyrMBusStatusType1: landisGyrMBusStatusType1,
|
|
2098
|
+
landisGyrMBusStatusType2: landisGyrMBusStatusType2,
|
|
2099
|
+
lastPlace: lastPlace,
|
|
2100
|
+
legacyDeviceSamples: legacyDeviceSamples,
|
|
2101
|
+
mBusFormatStringSignature: mBusFormatStringSignature,
|
|
2102
|
+
mass: mass,
|
|
2103
|
+
massFlow: massFlow,
|
|
2104
|
+
maxAcousticNoise: maxAcousticNoise,
|
|
2105
|
+
maxAmbientTemperature: maxAmbientTemperature,
|
|
2106
|
+
maxAuxFlowTemperature: maxAuxFlowTemperature,
|
|
2107
|
+
maxFlowTemperature: maxFlowTemperature,
|
|
2108
|
+
maxInletFlowTemperature: maxInletFlowTemperature,
|
|
2109
|
+
maxInletMassFlow: maxInletMassFlow,
|
|
2110
|
+
maxInletMinusOutletFlowTemperatureDifference: maxInletMinusOutletFlowTemperatureDifference,
|
|
2111
|
+
maxInletPower: maxInletPower,
|
|
2112
|
+
maxInletPressure: maxInletPressure,
|
|
2113
|
+
maxInletVolumeFlow: maxInletVolumeFlow,
|
|
2114
|
+
maxMassFlow: maxMassFlow,
|
|
2115
|
+
maxOutletFlowTemperature: maxOutletFlowTemperature,
|
|
2116
|
+
maxOutletMassFlow: maxOutletMassFlow,
|
|
2117
|
+
maxOutletMinusInletFlowTemperatureDifference: maxOutletMinusInletFlowTemperatureDifference,
|
|
2118
|
+
maxOutletPower: maxOutletPower,
|
|
2119
|
+
maxOutletPressure: maxOutletPressure,
|
|
2120
|
+
maxOutletVolumeFlow: maxOutletVolumeFlow,
|
|
2121
|
+
maxPower: maxPower,
|
|
2122
|
+
maxPressure: maxPressure,
|
|
2123
|
+
maxRadiatorTemperature: maxRadiatorTemperature,
|
|
2124
|
+
maxVolumeFlow: maxVolumeFlow,
|
|
2125
|
+
minAcousticNoise: minAcousticNoise,
|
|
2126
|
+
minAmbientTemperature: minAmbientTemperature,
|
|
2127
|
+
minAuxFlowTemperature: minAuxFlowTemperature,
|
|
2128
|
+
minFlowTemperature: minFlowTemperature,
|
|
2129
|
+
minInletFlowTemperature: minInletFlowTemperature,
|
|
2130
|
+
minInletMassFlow: minInletMassFlow,
|
|
2131
|
+
minInletMinusOutletFlowTemperatureDifference: minInletMinusOutletFlowTemperatureDifference,
|
|
2132
|
+
minInletPower: minInletPower,
|
|
2133
|
+
minInletPressure: minInletPressure,
|
|
2134
|
+
minInletVolumeFlow: minInletVolumeFlow,
|
|
2135
|
+
minMassFlow: minMassFlow,
|
|
2136
|
+
minOutletFlowTemperature: minOutletFlowTemperature,
|
|
2137
|
+
minOutletMassFlow: minOutletMassFlow,
|
|
2138
|
+
minOutletMinusInletFlowTemperatureDifference: minOutletMinusInletFlowTemperatureDifference,
|
|
2139
|
+
minOutletPower: minOutletPower,
|
|
2140
|
+
minOutletPressure: minOutletPressure,
|
|
2141
|
+
minOutletVolumeFlow: minOutletVolumeFlow,
|
|
2142
|
+
minPower: minPower,
|
|
2143
|
+
minPressure: minPressure,
|
|
2144
|
+
minRadiatorTemperature: minRadiatorTemperature,
|
|
2145
|
+
minVolumeFlow: minVolumeFlow,
|
|
2146
|
+
msisdnDeviceAddresses: msisdnDeviceAddresses,
|
|
2147
|
+
none: none,
|
|
2148
|
+
operatingTime: operatingTime,
|
|
2149
|
+
outletFlowTemperature: outletFlowTemperature,
|
|
2150
|
+
outletMass: outletMass,
|
|
2151
|
+
outletMassFlow: outletMassFlow,
|
|
2152
|
+
outletMinusInletFlowTemperatureDifference: outletMinusInletFlowTemperatureDifference,
|
|
2153
|
+
outletPower: outletPower,
|
|
2154
|
+
outletPressure: outletPressure,
|
|
2155
|
+
outletVolume: outletVolume,
|
|
2156
|
+
outletVolumeFlow: outletVolumeFlow,
|
|
2157
|
+
periodEndTime: periodEndTime,
|
|
2158
|
+
periodStartTime: periodStartTime,
|
|
2159
|
+
place: place,
|
|
2160
|
+
power: power,
|
|
2161
|
+
pressure: pressure,
|
|
2162
|
+
pulseInputAVolume: pulseInputAVolume,
|
|
2163
|
+
pulseInputBVolume: pulseInputBVolume,
|
|
2164
|
+
radiatorTemperature: radiatorTemperature,
|
|
2165
|
+
reactiveEnergy: reactiveEnergy,
|
|
2166
|
+
relativeHumidity: relativeHumidity,
|
|
2167
|
+
remainingBatteryTime: remainingBatteryTime,
|
|
2168
|
+
ssqAcousticNoise: ssqAcousticNoise,
|
|
2169
|
+
ssqAmbientTemperature: ssqAmbientTemperature,
|
|
2170
|
+
ssqAuxFlowTemperature: ssqAuxFlowTemperature,
|
|
2171
|
+
ssqFlowTemperature: ssqFlowTemperature,
|
|
2172
|
+
ssqInletFlowTemperature: ssqInletFlowTemperature,
|
|
2173
|
+
ssqInletMassFlow: ssqInletMassFlow,
|
|
2174
|
+
ssqInletMinusOutletFlowTemperatureDifference: ssqInletMinusOutletFlowTemperatureDifference,
|
|
2175
|
+
ssqInletPower: ssqInletPower,
|
|
2176
|
+
ssqInletPressure: ssqInletPressure,
|
|
2177
|
+
ssqInletVolumeFlow: ssqInletVolumeFlow,
|
|
2178
|
+
ssqMassFlow: ssqMassFlow,
|
|
2179
|
+
ssqOutletFlowTemperature: ssqOutletFlowTemperature,
|
|
2180
|
+
ssqOutletMassFlow: ssqOutletMassFlow,
|
|
2181
|
+
ssqOutletMinusInletFlowTemperatureDifference: ssqOutletMinusInletFlowTemperatureDifference,
|
|
2182
|
+
ssqOutletPower: ssqOutletPower,
|
|
2183
|
+
ssqOutletPressure: ssqOutletPressure,
|
|
2184
|
+
ssqOutletVolumeFlow: ssqOutletVolumeFlow,
|
|
2185
|
+
ssqPower: ssqPower,
|
|
2186
|
+
ssqPressure: ssqPressure,
|
|
2187
|
+
ssqRadiatorTemperature: ssqRadiatorTemperature,
|
|
2188
|
+
ssqVolumeFlow: ssqVolumeFlow,
|
|
2189
|
+
sumAcousticNoise: sumAcousticNoise,
|
|
2190
|
+
sumAmbientTemperature: sumAmbientTemperature,
|
|
2191
|
+
sumAuxFlowTemperature: sumAuxFlowTemperature,
|
|
2192
|
+
sumFlowTemperature: sumFlowTemperature,
|
|
2193
|
+
sumInletFlowTemperature: sumInletFlowTemperature,
|
|
2194
|
+
sumInletMassFlow: sumInletMassFlow,
|
|
2195
|
+
sumInletMinusOutletFlowTemperatureDifference: sumInletMinusOutletFlowTemperatureDifference,
|
|
2196
|
+
sumInletPower: sumInletPower,
|
|
2197
|
+
sumInletPressure: sumInletPressure,
|
|
2198
|
+
sumInletVolumeFlow: sumInletVolumeFlow,
|
|
2199
|
+
sumMassFlow: sumMassFlow,
|
|
2200
|
+
sumOutletFlowTemperature: sumOutletFlowTemperature,
|
|
2201
|
+
sumOutletMassFlow: sumOutletMassFlow,
|
|
2202
|
+
sumOutletMinusInletFlowTemperatureDifference: sumOutletMinusInletFlowTemperatureDifference,
|
|
2203
|
+
sumOutletPower: sumOutletPower,
|
|
2204
|
+
sumOutletPressure: sumOutletPressure,
|
|
2205
|
+
sumOutletVolumeFlow: sumOutletVolumeFlow,
|
|
2206
|
+
sumPower: sumPower,
|
|
2207
|
+
sumPressure: sumPressure,
|
|
2208
|
+
sumRadiatorTemperature: sumRadiatorTemperature,
|
|
2209
|
+
sumVolumeFlow: sumVolumeFlow,
|
|
2210
|
+
tchlrDeviceAddresses: tchlrDeviceAddresses,
|
|
2211
|
+
timeAtLastExactOverhearingArrived: timeAtLastExactOverhearingArrived,
|
|
2212
|
+
timeAtLastInstallationMounted: timeAtLastInstallationMounted,
|
|
2213
|
+
timeAtLastPossibleCandidateOverhearingArrived: timeAtLastPossibleCandidateOverhearingArrived,
|
|
2214
|
+
timeAtLastSampled: timeAtLastSampled,
|
|
2215
|
+
timeSinceLastExactOverhearingArrived: timeSinceLastExactOverhearingArrived,
|
|
2216
|
+
timeSinceLastInstallationMounted: timeSinceLastInstallationMounted,
|
|
2217
|
+
timeSinceLastPossibleCandidateOverhearingArrived: timeSinceLastPossibleCandidateOverhearingArrived,
|
|
2218
|
+
timeSinceLastSampled: timeSinceLastSampled,
|
|
2219
|
+
volume: volume,
|
|
2220
|
+
volumeFlow: volumeFlow,
|
|
2221
|
+
wMBusDeviceAddresses: wMBusDeviceAddresses
|
|
2222
|
+
});
|
|
2223
|
+
|
|
2224
|
+
var DayOfWeek;
|
|
2225
|
+
(function (DayOfWeek) {
|
|
2226
|
+
DayOfWeek[DayOfWeek["Monday"] = 1] = "Monday";
|
|
2227
|
+
DayOfWeek[DayOfWeek["Tuesday"] = 2] = "Tuesday";
|
|
2228
|
+
DayOfWeek[DayOfWeek["Wednesday"] = 3] = "Wednesday";
|
|
2229
|
+
DayOfWeek[DayOfWeek["Thursday"] = 4] = "Thursday";
|
|
2230
|
+
DayOfWeek[DayOfWeek["Friday"] = 5] = "Friday";
|
|
2231
|
+
DayOfWeek[DayOfWeek["Saturday"] = 6] = "Saturday";
|
|
2232
|
+
DayOfWeek[DayOfWeek["Sunday"] = 7] = "Sunday";
|
|
2233
|
+
})(DayOfWeek || (DayOfWeek = {}));
|
|
2234
|
+
var Step;
|
|
2235
|
+
(function (Step) {
|
|
2236
|
+
function startOf(dateTime, step, firstDayOfWeek) {
|
|
2237
|
+
if (step === "week") {
|
|
2238
|
+
const value = dateTime
|
|
2239
|
+
.startOf("day")
|
|
2240
|
+
.set({ weekday: firstDayOfWeek ?? DayOfWeek.Monday });
|
|
2241
|
+
return value > dateTime ? value.minus({ days: 7 }) : value;
|
|
2242
|
+
}
|
|
2243
|
+
else {
|
|
2244
|
+
return dateTime.startOf(step);
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
Step.startOf = startOf;
|
|
2248
|
+
function asDuration(step, amount = 1) {
|
|
2249
|
+
switch (step) {
|
|
2250
|
+
case "hour":
|
|
2251
|
+
return Duration.fromObject({ hours: amount });
|
|
2252
|
+
case "day":
|
|
2253
|
+
return Duration.fromObject({ days: amount });
|
|
2254
|
+
case "week":
|
|
2255
|
+
return Duration.fromObject({ days: 7 * amount });
|
|
2256
|
+
case "month":
|
|
2257
|
+
return Duration.fromObject({ months: amount });
|
|
2258
|
+
case "year":
|
|
2259
|
+
return Duration.fromObject({ years: amount });
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
Step.asDuration = asDuration;
|
|
2263
|
+
})(Step || (Step = {}));
|
|
2264
|
+
|
|
2265
|
+
const invariantDecimalSeparator = (0.1).toString()[1];
|
|
2266
|
+
const localeDecimalSeparator = (0.1).toLocaleString()[1];
|
|
2267
|
+
class Formatter {
|
|
2268
|
+
toPrecision(value, precision, maxDecimals) {
|
|
2269
|
+
const absValue = Math.abs(value);
|
|
2270
|
+
const noOfIntegerDigits = Math.round(absValue).toString().length;
|
|
2271
|
+
// Adjust precision to maxDecimals
|
|
2272
|
+
if (maxDecimals !== undefined) {
|
|
2273
|
+
precision = Math.min(precision, noOfIntegerDigits + maxDecimals);
|
|
2274
|
+
}
|
|
2275
|
+
if (value === 0) {
|
|
2276
|
+
// (0).toPrecision(1) == "0"
|
|
2277
|
+
// (0).toPrecision(2) == "0.0"
|
|
2278
|
+
// (0).toPrecision(3) == "0.00"
|
|
2279
|
+
// However, we want:
|
|
2280
|
+
// Formatter.toPrecision(0, 0) == "0"
|
|
2281
|
+
// Formatter.toPrecision(0, 1) == "0.0"
|
|
2282
|
+
// Formatter.toPrecision(0, 2) == "0.00"
|
|
2283
|
+
return value.toPrecision(precision + 1);
|
|
2284
|
+
}
|
|
2285
|
+
if (absValue < 1) {
|
|
2286
|
+
return value.toPrecision(precision);
|
|
2287
|
+
}
|
|
2288
|
+
return precision >= noOfIntegerDigits
|
|
2289
|
+
? value.toFixed(precision - noOfIntegerDigits)
|
|
2290
|
+
: value.toPrecision(precision);
|
|
2291
|
+
}
|
|
2292
|
+
toLocalePrecision(value, precision, maxDecimals) {
|
|
2293
|
+
return this.toPrecision(value, precision, maxDecimals).replace(invariantDecimalSeparator, localeDecimalSeparator);
|
|
2294
|
+
}
|
|
2295
|
+
toFixed(value, precision, maxDecimals) {
|
|
2296
|
+
const parts = this.getParts(value, precision, maxDecimals);
|
|
2297
|
+
if (parts.noOfCoefficientDecimals < parts.exponent) {
|
|
2298
|
+
const number = parts.invariantCoefficientString.replace(invariantDecimalSeparator, "");
|
|
2299
|
+
const zeros = parts.exponent - parts.noOfCoefficientDecimals;
|
|
2300
|
+
return `${number}${"0".repeat(zeros)}`;
|
|
2301
|
+
}
|
|
2302
|
+
else {
|
|
2303
|
+
return parts.invariantPrecisionString;
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
toLocaleFixed(value, precision, maxDecimals) {
|
|
2307
|
+
return this.toFixed(value, precision, maxDecimals).replace(invariantDecimalSeparator, localeDecimalSeparator);
|
|
2308
|
+
}
|
|
2309
|
+
getParts(value, precision, maxDecimals) {
|
|
2310
|
+
const precisionString = this.toPrecision(value, precision, maxDecimals);
|
|
2311
|
+
if (precisionString.indexOf("e") >= 0) {
|
|
2312
|
+
const match = /(.*)e([\+-]\d+)$/.exec(precisionString);
|
|
2313
|
+
const coefficientString = match[1];
|
|
2314
|
+
const exponent = parseInt(match[2]);
|
|
2315
|
+
const decimalSeparatorIndex = coefficientString.indexOf(invariantDecimalSeparator);
|
|
2316
|
+
const noOfCoefficientDecimals = decimalSeparatorIndex >= 0
|
|
2317
|
+
? coefficientString.length - decimalSeparatorIndex - 1
|
|
2318
|
+
: 0;
|
|
2319
|
+
return {
|
|
2320
|
+
invariantPrecisionString: precisionString,
|
|
2321
|
+
invariantCoefficientString: coefficientString,
|
|
2322
|
+
exponent,
|
|
2323
|
+
noOfCoefficientDecimals,
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
else {
|
|
2327
|
+
const decimalSeparatorIndex = precisionString.indexOf(invariantDecimalSeparator);
|
|
2328
|
+
const noOfCoefficientDecimals = decimalSeparatorIndex >= 0
|
|
2329
|
+
? precisionString.length - decimalSeparatorIndex - 1
|
|
2330
|
+
: 0;
|
|
2331
|
+
return {
|
|
2332
|
+
invariantPrecisionString: precisionString,
|
|
2333
|
+
invariantCoefficientString: precisionString,
|
|
2334
|
+
exponent: 0,
|
|
2335
|
+
noOfCoefficientDecimals,
|
|
2336
|
+
};
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
const NumberFormatter = new Formatter();
|
|
2341
|
+
|
|
2342
|
+
function TimeOrRule(timeOrRule) {
|
|
2343
|
+
return timeOrRule;
|
|
2344
|
+
}
|
|
2345
|
+
(function (TimeOrRule) {
|
|
2346
|
+
function parse(input) {
|
|
2347
|
+
const time = DateTime.fromISO(input, { setZone: true });
|
|
2348
|
+
return time.isValid ? time : input;
|
|
2349
|
+
}
|
|
2350
|
+
TimeOrRule.parse = parse;
|
|
2351
|
+
function isTime(input) {
|
|
2352
|
+
return typeof input !== "string";
|
|
2353
|
+
}
|
|
2354
|
+
TimeOrRule.isTime = isTime;
|
|
2355
|
+
function isRule(input) {
|
|
2356
|
+
return typeof input === "string";
|
|
2357
|
+
}
|
|
2358
|
+
TimeOrRule.isRule = isRule;
|
|
2359
|
+
function asDateTime(input) {
|
|
2360
|
+
if (isRule(input)) {
|
|
2361
|
+
return;
|
|
2362
|
+
}
|
|
2363
|
+
else if (DateTime.isDateTime(input)) {
|
|
2364
|
+
return input;
|
|
2365
|
+
}
|
|
2366
|
+
else {
|
|
2367
|
+
const dateTime = DateTime.fromJSDate(input);
|
|
2368
|
+
if (!dateTime.isValid) {
|
|
2369
|
+
throw new Error("Unable to convert from Date to DateTime");
|
|
2370
|
+
}
|
|
2371
|
+
return dateTime;
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
TimeOrRule.asDateTime = asDateTime;
|
|
2375
|
+
function toJSON(input) {
|
|
2376
|
+
return isRule(input) ? input : input.toJSON();
|
|
2377
|
+
}
|
|
2378
|
+
TimeOrRule.toJSON = toJSON;
|
|
2379
|
+
})(TimeOrRule);
|
|
2380
|
+
|
|
2381
|
+
function BreakdownRule(...params) {
|
|
2382
|
+
let init;
|
|
2383
|
+
switch (params.length) {
|
|
2384
|
+
case 1:
|
|
2385
|
+
init = params[0];
|
|
2386
|
+
break;
|
|
2387
|
+
case 3:
|
|
2388
|
+
init = {
|
|
2389
|
+
origin: params[0],
|
|
2390
|
+
count: params[1],
|
|
2391
|
+
period: params[2],
|
|
2392
|
+
};
|
|
2393
|
+
break;
|
|
2394
|
+
default:
|
|
2395
|
+
throw new TypeError("Invalid breakdown rule format");
|
|
2396
|
+
}
|
|
2397
|
+
const periodName = Math.abs(init.count) == 1 ? init.period : init.period + "s";
|
|
2398
|
+
return `${init.origin}/${init.count}${periodName}`;
|
|
2399
|
+
}
|
|
2400
|
+
(function (BreakdownRule) {
|
|
2401
|
+
const regex = new RegExp("(.*)/([-+]?[0-9]+)(hour|day|week|month|year)s?");
|
|
2402
|
+
function split(rule) {
|
|
2403
|
+
const match = regex.exec(rule);
|
|
2404
|
+
if (!match) {
|
|
2405
|
+
throw new Error("Invalid breakdown rule format");
|
|
2406
|
+
}
|
|
2407
|
+
const origin = match[1];
|
|
2408
|
+
const count = parseInt(match[2]);
|
|
2409
|
+
let period = match[3];
|
|
2410
|
+
if (period.endsWith("s")) {
|
|
2411
|
+
period = period.substring(0, period.length - 1);
|
|
2412
|
+
}
|
|
2413
|
+
return {
|
|
2414
|
+
origin: TimeOrRule.parse(origin),
|
|
2415
|
+
count,
|
|
2416
|
+
period: period,
|
|
2417
|
+
};
|
|
2418
|
+
}
|
|
2419
|
+
BreakdownRule.split = split;
|
|
2420
|
+
})(BreakdownRule);
|
|
2421
|
+
|
|
2422
|
+
var Medium;
|
|
2423
|
+
(function (Medium) {
|
|
2424
|
+
function isMedium(input) {
|
|
2425
|
+
if (input === "none" || input === "all") {
|
|
2426
|
+
return true;
|
|
2427
|
+
}
|
|
2428
|
+
const ALL_MEDIUMS = [
|
|
2429
|
+
"heat",
|
|
2430
|
+
"water",
|
|
2431
|
+
"cooling",
|
|
2432
|
+
"electricity",
|
|
2433
|
+
"infrastructure",
|
|
2434
|
+
];
|
|
2435
|
+
return Array.isArray(input)
|
|
2436
|
+
? !input.some((x) => !ALL_MEDIUMS.includes(x))
|
|
2437
|
+
: ALL_MEDIUMS.includes(input);
|
|
2438
|
+
}
|
|
2439
|
+
Medium.isMedium = isMedium;
|
|
2440
|
+
function isMeter(medium) {
|
|
2441
|
+
return (medium.includes("heat") ||
|
|
2442
|
+
medium.includes("water") ||
|
|
2443
|
+
medium.includes("cooling") ||
|
|
2444
|
+
medium.includes("electricity"));
|
|
2445
|
+
}
|
|
2446
|
+
Medium.isMeter = isMeter;
|
|
2447
|
+
function isFlowMeter(medium) {
|
|
2448
|
+
return (medium.includes("heat") ||
|
|
2449
|
+
medium.includes("water") ||
|
|
2450
|
+
medium.includes("cooling"));
|
|
2451
|
+
}
|
|
2452
|
+
Medium.isFlowMeter = isFlowMeter;
|
|
2453
|
+
})(Medium || (Medium = {}));
|
|
2454
|
+
|
|
2455
|
+
class PrecisionNumber {
|
|
2456
|
+
constructor(value, precision) {
|
|
2457
|
+
this.value = value;
|
|
2458
|
+
this.precision = precision ?? getPrecision(value);
|
|
2459
|
+
}
|
|
2460
|
+
static parse(input) {
|
|
2461
|
+
let normalized = input
|
|
2462
|
+
.trim()
|
|
2463
|
+
.replace(",", ".")
|
|
2464
|
+
.replace(localeDecimalSeparator, invariantDecimalSeparator);
|
|
2465
|
+
if (normalized.endsWith(invariantDecimalSeparator)) {
|
|
2466
|
+
normalized += "0";
|
|
2467
|
+
}
|
|
2468
|
+
const value = parseFloat(normalized);
|
|
2469
|
+
const precision = value === 0
|
|
2470
|
+
? 1
|
|
2471
|
+
: normalized
|
|
2472
|
+
.replace(".", "")
|
|
2473
|
+
.replace("+", "")
|
|
2474
|
+
.replace("-", "")
|
|
2475
|
+
.replace(/^0+/, "").length;
|
|
2476
|
+
return new PrecisionNumber(value, precision);
|
|
2477
|
+
}
|
|
2478
|
+
abs() {
|
|
2479
|
+
return new PrecisionNumber(Math.abs(this.value), this.precision);
|
|
2480
|
+
}
|
|
2481
|
+
plus(rhs) {
|
|
2482
|
+
// The result should have the same number of decimal places as the minimum of the two inputs
|
|
2483
|
+
const lhs = this;
|
|
2484
|
+
const value = lhs.value + rhs.value;
|
|
2485
|
+
const decimals = Math.min(getNumberOfDecimalDigits(lhs.value, lhs.precision), getNumberOfDecimalDigits(rhs.value, rhs.precision));
|
|
2486
|
+
const precision = getPrecision(value, decimals);
|
|
2487
|
+
return new PrecisionNumber(value, precision);
|
|
2488
|
+
}
|
|
2489
|
+
minus(rhs) {
|
|
2490
|
+
// The result should have the same number of decimal places as the minimum of the two inputs
|
|
2491
|
+
const lhs = this;
|
|
2492
|
+
const value = lhs.value - rhs.value;
|
|
2493
|
+
const decimals = Math.min(getNumberOfDecimalDigits(lhs.value, lhs.precision), getNumberOfDecimalDigits(rhs.value, rhs.precision));
|
|
2494
|
+
const precision = getPrecision(value, decimals);
|
|
2495
|
+
return new PrecisionNumber(value, precision);
|
|
2496
|
+
}
|
|
2497
|
+
valueOf() {
|
|
2498
|
+
const decimals = getNumberOfDecimalDigits(this.value, this.precision);
|
|
2499
|
+
const scale = Math.pow(10, decimals);
|
|
2500
|
+
const integer = Math.round(this.value * scale);
|
|
2501
|
+
const value = integer / scale;
|
|
2502
|
+
return value;
|
|
2503
|
+
}
|
|
2504
|
+
toString() {
|
|
2505
|
+
return this.valueOf().toString();
|
|
2506
|
+
}
|
|
2507
|
+
toFixed() {
|
|
2508
|
+
return NumberFormatter.toFixed(this.valueOf(), this.precision);
|
|
2509
|
+
}
|
|
2510
|
+
toPrecision() {
|
|
2511
|
+
return NumberFormatter.toPrecision(this.valueOf(), this.precision);
|
|
2512
|
+
}
|
|
2513
|
+
toLocaleFixed() {
|
|
2514
|
+
return NumberFormatter.toLocaleFixed(this.valueOf(), this.precision);
|
|
2515
|
+
}
|
|
2516
|
+
toLocalePrecision() {
|
|
2517
|
+
return NumberFormatter.toLocalePrecision(this.valueOf(), this.precision);
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
function getPrecision(number, decimals) {
|
|
2521
|
+
decimals ?? (decimals = number.toString().split(".", 2)[1]?.length ?? 0);
|
|
2522
|
+
if (number == 0) {
|
|
2523
|
+
return 1;
|
|
2524
|
+
}
|
|
2525
|
+
else if (number > -1 && number < 1) {
|
|
2526
|
+
return decimals;
|
|
2527
|
+
}
|
|
2528
|
+
else {
|
|
2529
|
+
return Math.max(getNumberOfIntegralDigits(number) + decimals, 1);
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
function getNumberOfDecimalDigits(number, precision) {
|
|
2533
|
+
if (number > -1 && number < 1) {
|
|
2534
|
+
return precision;
|
|
2535
|
+
}
|
|
2536
|
+
else {
|
|
2537
|
+
return precision - getNumberOfIntegralDigits(number);
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
function getNumberOfIntegralDigits(number) {
|
|
2541
|
+
const abs = Math.abs(number);
|
|
2542
|
+
if (abs < 10)
|
|
2543
|
+
return 1;
|
|
2544
|
+
if (abs < 100)
|
|
2545
|
+
return 2;
|
|
2546
|
+
if (abs < 1000)
|
|
2547
|
+
return 3;
|
|
2548
|
+
if (abs < 10000)
|
|
2549
|
+
return 4;
|
|
2550
|
+
if (abs < 100000)
|
|
2551
|
+
return 5;
|
|
2552
|
+
if (abs < 1000000)
|
|
2553
|
+
return 6;
|
|
2554
|
+
if (abs < 10000000)
|
|
2555
|
+
return 7;
|
|
2556
|
+
if (abs < 100000000)
|
|
2557
|
+
return 8;
|
|
2558
|
+
if (abs < 1000000000)
|
|
2559
|
+
return 9;
|
|
2560
|
+
return Math.floor(Math.log10(abs) + 1);
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
function getRegisterId(register) {
|
|
2564
|
+
return typeof register === "string" ? register : register.id;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
const aggregatePrefixes = {
|
|
2568
|
+
instant: "",
|
|
2569
|
+
diff: "diff",
|
|
2570
|
+
min: "min",
|
|
2571
|
+
max: "max",
|
|
2572
|
+
avg: "avg",
|
|
2573
|
+
sum: "sum",
|
|
2574
|
+
cnt: "cnt",
|
|
2575
|
+
ssq: "ssq",
|
|
2576
|
+
};
|
|
2577
|
+
class Convention {
|
|
2578
|
+
getAggregate(register) {
|
|
2579
|
+
const registerId = getRegisterId(register);
|
|
2580
|
+
// Brute force all prefixes - if none of them, then it must be instant.
|
|
2581
|
+
for (const aggregateString of Object.keys(aggregatePrefixes)) {
|
|
2582
|
+
const aggregate = aggregateString;
|
|
2583
|
+
const prefix = aggregatePrefixes[aggregate];
|
|
2584
|
+
if (prefix.length && isPrefix(registerId, prefix)) {
|
|
2585
|
+
// Not instant - it was any of the others.
|
|
2586
|
+
return aggregate;
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
return "instant";
|
|
2590
|
+
}
|
|
2591
|
+
toInstant(register) {
|
|
2592
|
+
const registerId = getRegisterId(register);
|
|
2593
|
+
for (const prefix of Object.values(aggregatePrefixes)) {
|
|
2594
|
+
if (prefix.length && isPrefix(registerId, prefix)) {
|
|
2595
|
+
const tail = registerId.substr(prefix.length);
|
|
2596
|
+
return (tail[0].toLowerCase() + tail.substr(1));
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
return registerId;
|
|
2600
|
+
}
|
|
2601
|
+
toAggregate(register, aggregate) {
|
|
2602
|
+
const instantRegisterId = this.toInstant(register);
|
|
2603
|
+
if (aggregate === "instant") {
|
|
2604
|
+
return instantRegisterId;
|
|
2605
|
+
}
|
|
2606
|
+
const prefix = aggregatePrefixes[aggregate];
|
|
2607
|
+
return ((prefix +
|
|
2608
|
+
instantRegisterId[0].toUpperCase() +
|
|
2609
|
+
instantRegisterId.substr(1)));
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
function isPrefix(registerId, prefix) {
|
|
2613
|
+
return (registerId.startsWith(prefix) && isUppercase(registerId[prefix.length]));
|
|
2614
|
+
}
|
|
2615
|
+
function isUppercase(input) {
|
|
2616
|
+
return input.toUpperCase() === input;
|
|
2617
|
+
}
|
|
2618
|
+
const RegisterConvention = new Convention();
|
|
2619
|
+
|
|
2620
|
+
class Library {
|
|
2621
|
+
constructor() {
|
|
2622
|
+
this.definitions = {};
|
|
2623
|
+
}
|
|
2624
|
+
add(...definitions) {
|
|
2625
|
+
for (const definition of definitions) {
|
|
2626
|
+
if (isDefinition(definition)) {
|
|
2627
|
+
this.tryAdd(definition);
|
|
2628
|
+
}
|
|
2629
|
+
else {
|
|
2630
|
+
for (const definitionInPack of Object.values(definition)) {
|
|
2631
|
+
this.tryAdd(definitionInPack);
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
tryAdd(definition) {
|
|
2637
|
+
if (!this.definitions[definition.id]) {
|
|
2638
|
+
this.definitions[definition.id] = definition;
|
|
2639
|
+
return true;
|
|
2640
|
+
}
|
|
2641
|
+
return false;
|
|
2642
|
+
}
|
|
2643
|
+
has(id) {
|
|
2644
|
+
return !!this.definitions[id];
|
|
2645
|
+
}
|
|
2646
|
+
tryGet(id) {
|
|
2647
|
+
return this.definitions[id];
|
|
2648
|
+
}
|
|
2649
|
+
get(id) {
|
|
2650
|
+
const definition = this.definitions[id];
|
|
2651
|
+
if (!definition) {
|
|
2652
|
+
throw new Error(`Defintion was not loaded for register ${id}`);
|
|
2653
|
+
}
|
|
2654
|
+
return definition;
|
|
2655
|
+
}
|
|
2656
|
+
all() {
|
|
2657
|
+
return Object.values(this.definitions).map((x) => x);
|
|
2658
|
+
}
|
|
2659
|
+
reset() {
|
|
2660
|
+
this.definitions = {};
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
function isDefinition(definitionOrPack) {
|
|
2664
|
+
return !!(definitionOrPack.id &&
|
|
2665
|
+
definitionOrPack.aggregate &&
|
|
2666
|
+
definitionOrPack.units);
|
|
2667
|
+
}
|
|
2668
|
+
const RegisterLibrary = new Library();
|
|
2669
|
+
|
|
2670
|
+
function Repository(repoOrTeam, name) {
|
|
2671
|
+
const repo = name ? `${repoOrTeam}/${name}` : repoOrTeam;
|
|
2672
|
+
if (!Repository.isRepository(repo)) {
|
|
2673
|
+
throw new TypeError("Invalid repository format");
|
|
2674
|
+
}
|
|
2675
|
+
return repo;
|
|
2676
|
+
}
|
|
2677
|
+
(function (Repository) {
|
|
2678
|
+
function isRepository(input) {
|
|
2679
|
+
return /^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(input);
|
|
2680
|
+
}
|
|
2681
|
+
Repository.isRepository = isRepository;
|
|
2682
|
+
function split(repo) {
|
|
2683
|
+
const parts = repo.split("/");
|
|
2684
|
+
return {
|
|
2685
|
+
team: parts[0],
|
|
2686
|
+
name: parts[1],
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
Repository.split = split;
|
|
2690
|
+
})(Repository);
|
|
2691
|
+
|
|
2692
|
+
const registers = Registers;
|
|
2693
|
+
|
|
2694
|
+
export { BreakdownRule, DayOfWeek, Medium, NumberFormatter, PrecisionNumber, RegisterConvention, RegisterLibrary, Repository, Step, TimeOrRule, invariantDecimalSeparator, localeDecimalSeparator, registers };
|
|
2695
|
+
//# sourceMappingURL=index.mjs.map
|