@utiliread/primitives 1.0.0-58 → 1.0.0-60
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/cjs/unit-id.js +11 -0
- package/dist/cjs/unit-id.js.map +1 -1
- package/dist/esm/register-id.d.ts +1 -1
- package/dist/esm/unit-id.d.ts +2 -1
- package/dist/esm/unit-id.js +10 -1
- package/dist/esm/unit-id.js.map +1 -1
- package/package.json +1 -1
- package/src/register-id.ts +265 -249
- package/src/unit-id.ts +12 -7
package/dist/cjs/unit-id.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.energyUnits = void 0;
|
|
4
|
+
exports.energyUnits = [
|
|
5
|
+
"milliWattHour",
|
|
6
|
+
"wattHour",
|
|
7
|
+
"kiloWattHour",
|
|
8
|
+
"megaWattHour",
|
|
9
|
+
"gigaWattHour",
|
|
10
|
+
"calorie",
|
|
11
|
+
"kiloCalorie",
|
|
12
|
+
"megaCalorie",
|
|
13
|
+
];
|
|
3
14
|
//# sourceMappingURL=unit-id.js.map
|
package/dist/cjs/unit-id.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit-id.js","sourceRoot":"","sources":["../../src/unit-id.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"unit-id.js","sourceRoot":"","sources":["../../src/unit-id.ts"],"names":[],"mappings":";;;AAoHa,QAAA,WAAW,GAAa;IACjC,eAAe;IACf,UAAU;IACV,cAAc;IACd,cAAc;IACd,cAAc;IACd,SAAS;IACT,aAAa;IACb,aAAa;CAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type RegisterId = "none" | "heatEnergy" | "diffHeatEnergy" | "cntHeatEnergy" | "heatEnergyVolumeInInlet" | "diffHeatEnergyVolumeInInlet" | "cntHeatEnergyVolumeInInlet" | "heatEnergyVolumeInOutlet" | "diffHeatEnergyVolumeInOutlet" | "cntHeatEnergyVolumeInOutlet" | "coolingEnergy" | "diffCoolingEnergy" | "cntCoolingEnergy" | "coolingEnergyVolumeInInlet" | "diffCoolingEnergyVolumeInInlet" | "cntCoolingEnergyVolumeInInlet" | "coolingEnergyVolumeInOutlet" | "diffCoolingEnergyVolumeInOutlet" | "cntCoolingEnergyVolumeInOutlet" | "electricalEnergy" | "diffElectricalEnergy" | "cntElectricalEnergy" | "reactiveEnergy" | "diffReactiveEnergy" | "cntReactiveEnergy" | "volume" | "diffVolume" | "cntVolume" | "inletVolume" | "diffInletVolume" | "cntInletVolume" | "outletVolume" | "diffOutletVolume" | "cntOutletVolume" | "pulseInputAVolume" | "diffPulseInputAVolume" | "cntPulseInputAVolume" | "pulseInputBVolume" | "diffPulseInputBVolume" | "cntPulseInputBVolume" | "mass" | "diffMass" | "cntMass" | "inletMass" | "diffInletMass" | "cntInletMass" | "outletMass" | "diffOutletMass" | "cntOutletMass" | "power" | "maxPower" | "minPower" | "avgPower" | "cntPower" | "ssqPower" | "inletPower" | "maxInletPower" | "minInletPower" | "avgInletPower" | "cntInletPower" | "ssqInletPower" | "outletPower" | "maxOutletPower" | "minOutletPower" | "avgOutletPower" | "cntOutletPower" | "ssqOutletPower" | "volumeFlow" | "maxVolumeFlow" | "minVolumeFlow" | "avgVolumeFlow" | "cntVolumeFlow" | "ssqVolumeFlow" | "inletVolumeFlow" | "maxInletVolumeFlow" | "minInletVolumeFlow" | "avgInletVolumeFlow" | "cntInletVolumeFlow" | "ssqInletVolumeFlow" | "outletVolumeFlow" | "maxOutletVolumeFlow" | "minOutletVolumeFlow" | "avgOutletVolumeFlow" | "cntOutletVolumeFlow" | "ssqOutletVolumeFlow" | "massFlow" | "maxMassFlow" | "minMassFlow" | "avgMassFlow" | "cntMassFlow" | "ssqMassFlow" | "inletMassFlow" | "maxInletMassFlow" | "minInletMassFlow" | "avgInletMassFlow" | "cntInletMassFlow" | "ssqInletMassFlow" | "outletMassFlow" | "maxOutletMassFlow" | "minOutletMassFlow" | "avgOutletMassFlow" | "cntOutletMassFlow" | "ssqOutletMassFlow" | "flowTemperature" | "maxFlowTemperature" | "minFlowTemperature" | "avgFlowTemperature" | "cntFlowTemperature" | "ssqFlowTemperature" | "inletFlowTemperature" | "maxInletFlowTemperature" | "minInletFlowTemperature" | "avgInletFlowTemperature" | "cntInletFlowTemperature" | "ssqInletFlowTemperature" | "outletFlowTemperature" | "maxOutletFlowTemperature" | "minOutletFlowTemperature" | "avgOutletFlowTemperature" | "cntOutletFlowTemperature" | "ssqOutletFlowTemperature" | "inletMinusOutletFlowTemperatureDifference" | "maxInletMinusOutletFlowTemperatureDifference" | "minInletMinusOutletFlowTemperatureDifference" | "avgInletMinusOutletFlowTemperatureDifference" | "cntInletMinusOutletFlowTemperatureDifference" | "ssqInletMinusOutletFlowTemperatureDifference" | "outletMinusInletFlowTemperatureDifference" | "maxOutletMinusInletFlowTemperatureDifference" | "minOutletMinusInletFlowTemperatureDifference" | "avgOutletMinusInletFlowTemperatureDifference" | "cntOutletMinusInletFlowTemperatureDifference" | "ssqOutletMinusInletFlowTemperatureDifference" | "ambientTemperature" | "maxAmbientTemperature" | "minAmbientTemperature" | "avgAmbientTemperature" | "cntAmbientTemperature" | "ssqAmbientTemperature" | "radiatorTemperature" | "maxRadiatorTemperature" | "minRadiatorTemperature" | "avgRadiatorTemperature" | "cntRadiatorTemperature" | "ssqRadiatorTemperature" | "relativeHumidity" | "kamstrupE8Inlet" | "diffKamstrupE8Inlet" | "cntKamstrupE8Inlet" | "kamstrupE9Outlet" | "diffKamstrupE9Outlet" | "cntKamstrupE9Outlet" | "operatingTime" | "diffOperatingTime" | "cntOperatingTime" | "remainingBatteryTime" | "diffRemainingBatteryTime" | "cntRemainingBatteryTime" | "deviceDate" | "deviceTime" | "deviceDateTime" | "timeSinceLastExactOverhearingArrived" | "timeAtLastExactOverhearingArrived" | "timeSinceLastPossibleCandidateOverhearingArrived" | "timeAtLastPossibleCandidateOverhearingArrived" | "timeSinceLastSampled" | "timeAtLastSampled" | "timeSinceLastInstallationMounted" | "timeAtLastInstallationMounted" | "basetime" | "instantTime" | "periodStartTime" | "periodEndTime" | "instantOrPeriodStartTime" | "instantOrPeriodEndTime" | "device" | "wMBusDeviceAddresses" | "kamdraftDeviceAddresses" | "tchlrDeviceAddresses" | "kamdaDeviceAddresses" | "msisdnDeviceAddresses" | "deviceRegisters" | "consumptionZone" | "mBusFormatStringSignature" | "deviceSoftwareVersion" | "kamstrupMulticalInfocodeType1" | "kamstrupMulticalInfocodeType2" | "kamstrupMulticalInfocodeType3" | "kamstrupMulticalInfocodeType4" | "kamstrupMulticalInfocode" | "kamstrupModuleType" | "diehlInfocodeType1" | "diehlInfocode" | "landisGyrMBusStatusType1" | "landisGyrMBusStatusType2" | "landisGyrMBusStatus" | "landisGyrInfocodeType1" | "landisGyrInfocodeType2" | "landisGyrInfocode" | "infocode";
|
|
1
|
+
export declare type RegisterId = "none" | "heatEnergy" | "diffHeatEnergy" | "cntHeatEnergy" | "heatEnergyVolumeInInlet" | "diffHeatEnergyVolumeInInlet" | "cntHeatEnergyVolumeInInlet" | "heatEnergyVolumeInOutlet" | "diffHeatEnergyVolumeInOutlet" | "cntHeatEnergyVolumeInOutlet" | "coolingEnergy" | "diffCoolingEnergy" | "cntCoolingEnergy" | "coolingEnergyVolumeInInlet" | "diffCoolingEnergyVolumeInInlet" | "cntCoolingEnergyVolumeInInlet" | "coolingEnergyVolumeInOutlet" | "diffCoolingEnergyVolumeInOutlet" | "cntCoolingEnergyVolumeInOutlet" | "electricalEnergy" | "diffElectricalEnergy" | "cntElectricalEnergy" | "reactiveEnergy" | "diffReactiveEnergy" | "cntReactiveEnergy" | "volume" | "diffVolume" | "cntVolume" | "inletVolume" | "diffInletVolume" | "cntInletVolume" | "outletVolume" | "diffOutletVolume" | "cntOutletVolume" | "pulseInputAVolume" | "diffPulseInputAVolume" | "cntPulseInputAVolume" | "pulseInputBVolume" | "diffPulseInputBVolume" | "cntPulseInputBVolume" | "mass" | "diffMass" | "cntMass" | "inletMass" | "diffInletMass" | "cntInletMass" | "outletMass" | "diffOutletMass" | "cntOutletMass" | "power" | "maxPower" | "minPower" | "avgPower" | "sumPower" | "cntPower" | "ssqPower" | "inletPower" | "maxInletPower" | "minInletPower" | "avgInletPower" | "sumInletPower" | "cntInletPower" | "ssqInletPower" | "outletPower" | "maxOutletPower" | "minOutletPower" | "avgOutletPower" | "sumOutletPower" | "cntOutletPower" | "ssqOutletPower" | "volumeFlow" | "maxVolumeFlow" | "minVolumeFlow" | "avgVolumeFlow" | "sumVolumeFlow" | "cntVolumeFlow" | "ssqVolumeFlow" | "inletVolumeFlow" | "maxInletVolumeFlow" | "minInletVolumeFlow" | "avgInletVolumeFlow" | "sumInletVolumeFlow" | "cntInletVolumeFlow" | "ssqInletVolumeFlow" | "outletVolumeFlow" | "maxOutletVolumeFlow" | "minOutletVolumeFlow" | "avgOutletVolumeFlow" | "sumOutletVolumeFlow" | "cntOutletVolumeFlow" | "ssqOutletVolumeFlow" | "massFlow" | "maxMassFlow" | "minMassFlow" | "avgMassFlow" | "sumMassFlow" | "cntMassFlow" | "ssqMassFlow" | "inletMassFlow" | "maxInletMassFlow" | "minInletMassFlow" | "avgInletMassFlow" | "sumInletMassFlow" | "cntInletMassFlow" | "ssqInletMassFlow" | "outletMassFlow" | "maxOutletMassFlow" | "minOutletMassFlow" | "avgOutletMassFlow" | "sumOutletMassFlow" | "cntOutletMassFlow" | "ssqOutletMassFlow" | "flowTemperature" | "maxFlowTemperature" | "minFlowTemperature" | "avgFlowTemperature" | "sumFlowTemperature" | "cntFlowTemperature" | "ssqFlowTemperature" | "inletFlowTemperature" | "maxInletFlowTemperature" | "minInletFlowTemperature" | "avgInletFlowTemperature" | "sumInletFlowTemperature" | "cntInletFlowTemperature" | "ssqInletFlowTemperature" | "outletFlowTemperature" | "maxOutletFlowTemperature" | "minOutletFlowTemperature" | "avgOutletFlowTemperature" | "sumOutletFlowTemperature" | "cntOutletFlowTemperature" | "ssqOutletFlowTemperature" | "inletMinusOutletFlowTemperatureDifference" | "maxInletMinusOutletFlowTemperatureDifference" | "minInletMinusOutletFlowTemperatureDifference" | "avgInletMinusOutletFlowTemperatureDifference" | "sumInletMinusOutletFlowTemperatureDifference" | "cntInletMinusOutletFlowTemperatureDifference" | "ssqInletMinusOutletFlowTemperatureDifference" | "outletMinusInletFlowTemperatureDifference" | "maxOutletMinusInletFlowTemperatureDifference" | "minOutletMinusInletFlowTemperatureDifference" | "avgOutletMinusInletFlowTemperatureDifference" | "sumOutletMinusInletFlowTemperatureDifference" | "cntOutletMinusInletFlowTemperatureDifference" | "ssqOutletMinusInletFlowTemperatureDifference" | "ambientTemperature" | "maxAmbientTemperature" | "minAmbientTemperature" | "avgAmbientTemperature" | "sumAmbientTemperature" | "cntAmbientTemperature" | "ssqAmbientTemperature" | "radiatorTemperature" | "maxRadiatorTemperature" | "minRadiatorTemperature" | "avgRadiatorTemperature" | "sumRadiatorTemperature" | "cntRadiatorTemperature" | "ssqRadiatorTemperature" | "relativeHumidity" | "kamstrupE8Inlet" | "diffKamstrupE8Inlet" | "cntKamstrupE8Inlet" | "kamstrupE9Outlet" | "diffKamstrupE9Outlet" | "cntKamstrupE9Outlet" | "operatingTime" | "diffOperatingTime" | "cntOperatingTime" | "remainingBatteryTime" | "diffRemainingBatteryTime" | "cntRemainingBatteryTime" | "deviceDate" | "deviceTime" | "deviceDateTime" | "timeSinceLastExactOverhearingArrived" | "timeAtLastExactOverhearingArrived" | "timeSinceLastPossibleCandidateOverhearingArrived" | "timeAtLastPossibleCandidateOverhearingArrived" | "timeSinceLastSampled" | "timeAtLastSampled" | "timeSinceLastInstallationMounted" | "timeAtLastInstallationMounted" | "basetime" | "instantTime" | "periodStartTime" | "periodEndTime" | "instantOrPeriodStartTime" | "instantOrPeriodEndTime" | "device" | "wMBusDeviceAddresses" | "kamdraftDeviceAddresses" | "tchlrDeviceAddresses" | "kamdaDeviceAddresses" | "msisdnDeviceAddresses" | "deviceRegisters" | "consumptionZone" | "mBusFormatStringSignature" | "deviceSoftwareVersion" | "kamstrupMulticalInfocodeType1" | "kamstrupMulticalInfocodeType2" | "kamstrupMulticalInfocodeType3" | "kamstrupMulticalInfocodeType4" | "kamstrupMulticalInfocode" | "kamstrupModuleType" | "diehlInfocodeType1" | "diehlInfocode" | "landisGyrMBusStatusType1" | "landisGyrMBusStatusType2" | "landisGyrMBusStatus" | "landisGyrInfocodeType1" | "landisGyrInfocodeType2" | "landisGyrInfocode" | "infocode";
|
package/dist/esm/unit-id.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export declare type UnitId = "unitless" | "milliWattHour" | "wattHour" | "kiloWattHour" | "megaWattHour" | "gigaWattHour" | "calorie" | "kiloCalorie" | "megaCalorie" | "joule" | "kiloJoule" | "megaJoule" | "gigaJoule" | "liter" | "cubicMeter" | "fluidOunce" | "gallon" | "gram" | "kiloGram" | "tonne" | "ounce" | "pound" | "ton" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | "milliWatt" | "milliWatt2" | "watt" | "watt2" | "kiloWatt" | "kiloWatt2" | "megaWatt" | "megaWatt2" | "gigaWatt" | "gigaWatt2" | "joulesPerSecond" | "joulesPerSecond2" | "joulesPerMinute" | "joulesPerMinute2" | "joulesPerHour" | "joulesPerHour2" | "litersPerSecond" | "litersPerSecond2" | "litersPerMinute" | "litersPerMinute2" | "litersPerHour" | "litersPerHour2" | "cubicMetersPerSecond" | "cubicMetersPerSecond2" | "cubicMetersPerMinute" | "cubicMetersPerMinute2" | "cubicMetersPerHour" | "cubicMetersPerHour2" | "fluidOuncesPerSecond" | "fluidOuncesPerSecond2" | "fluidOuncesPerMinute" | "fluidOuncesPerMinute2" | "fluidOuncesPerHour" | "fluidOuncesPerHour2" | "gallonsPerSecond" | "gallonsPerSecond2" | "gallonsPerMinute" | "gallonsPerMinute2" | "gallonsPerHour" | "gallonsPerHour2" | "gramsPerSecond" | "gramsPerSecond2" | "gramsPerMinute" | "gramsPerMinute2" | "gramsPerHour" | "gramsPerHour2" | "kiloGramsPerSecond" | "kiloGramsPerSecond2" | "kiloGramsPerMinute" | "kiloGramsPerMinute2" | "kiloGramsPerHour" | "kiloGramsPerHour2" | "celcius" | "
|
|
1
|
+
export declare type UnitId = "unitless" | "milliWattHour" | "wattHour" | "kiloWattHour" | "megaWattHour" | "gigaWattHour" | "calorie" | "kiloCalorie" | "megaCalorie" | "joule" | "kiloJoule" | "megaJoule" | "gigaJoule" | "liter" | "cubicMeter" | "fluidOunce" | "gallon" | "gram" | "kiloGram" | "tonne" | "ounce" | "pound" | "ton" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | "milliWatt" | "milliWatt2" | "watt" | "watt2" | "kiloWatt" | "kiloWatt2" | "megaWatt" | "megaWatt2" | "gigaWatt" | "gigaWatt2" | "joulesPerSecond" | "joulesPerSecond2" | "joulesPerMinute" | "joulesPerMinute2" | "joulesPerHour" | "joulesPerHour2" | "litersPerSecond" | "litersPerSecond2" | "litersPerMinute" | "litersPerMinute2" | "litersPerHour" | "litersPerHour2" | "cubicMetersPerSecond" | "cubicMetersPerSecond2" | "cubicMetersPerMinute" | "cubicMetersPerMinute2" | "cubicMetersPerHour" | "cubicMetersPerHour2" | "fluidOuncesPerSecond" | "fluidOuncesPerSecond2" | "fluidOuncesPerMinute" | "fluidOuncesPerMinute2" | "fluidOuncesPerHour" | "fluidOuncesPerHour2" | "gallonsPerSecond" | "gallonsPerSecond2" | "gallonsPerMinute" | "gallonsPerMinute2" | "gallonsPerHour" | "gallonsPerHour2" | "gramsPerSecond" | "gramsPerSecond2" | "gramsPerMinute" | "gramsPerMinute2" | "gramsPerHour" | "gramsPerHour2" | "kiloGramsPerSecond" | "kiloGramsPerSecond2" | "kiloGramsPerMinute" | "kiloGramsPerMinute2" | "kiloGramsPerHour" | "kiloGramsPerHour2" | "celcius" | "kelvin" | "fahrenheit" | "var" | "kiloVar" | "megaVar" | "varHour" | "kiloVarHour" | "megaVarHour" | "percentage" | "literCelcius" | "cubicMeterCelcius";
|
|
2
|
+
export declare const energyUnits: UnitId[];
|
package/dist/esm/unit-id.js
CHANGED
package/dist/esm/unit-id.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit-id.js","sourceRoot":"","sources":["../../src/unit-id.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"unit-id.js","sourceRoot":"","sources":["../../src/unit-id.ts"],"names":[],"mappings":"AAoHA,MAAM,CAAC,MAAM,WAAW,GAAa;IACjC,eAAe;IACf,UAAU;IACV,cAAc;IACd,cAAc;IACd,cAAc;IACd,SAAS;IACT,aAAa;IACb,aAAa;CAChB,CAAC"}
|
package/package.json
CHANGED
package/src/register-id.ts
CHANGED
|
@@ -1,249 +1,265 @@
|
|
|
1
|
-
export type RegisterId =
|
|
2
|
-
"none" |
|
|
3
|
-
|
|
4
|
-
"heatEnergy" |
|
|
5
|
-
"diffHeatEnergy" |
|
|
6
|
-
"cntHeatEnergy" |
|
|
7
|
-
|
|
8
|
-
"heatEnergyVolumeInInlet" |
|
|
9
|
-
"diffHeatEnergyVolumeInInlet" |
|
|
10
|
-
"cntHeatEnergyVolumeInInlet" |
|
|
11
|
-
|
|
12
|
-
"heatEnergyVolumeInOutlet" |
|
|
13
|
-
"diffHeatEnergyVolumeInOutlet" |
|
|
14
|
-
"cntHeatEnergyVolumeInOutlet" |
|
|
15
|
-
|
|
16
|
-
"coolingEnergy" |
|
|
17
|
-
"diffCoolingEnergy" |
|
|
18
|
-
"cntCoolingEnergy" |
|
|
19
|
-
|
|
20
|
-
"coolingEnergyVolumeInInlet" |
|
|
21
|
-
"diffCoolingEnergyVolumeInInlet" |
|
|
22
|
-
"cntCoolingEnergyVolumeInInlet" |
|
|
23
|
-
|
|
24
|
-
"coolingEnergyVolumeInOutlet" |
|
|
25
|
-
"diffCoolingEnergyVolumeInOutlet" |
|
|
26
|
-
"cntCoolingEnergyVolumeInOutlet" |
|
|
27
|
-
|
|
28
|
-
"electricalEnergy" |
|
|
29
|
-
"diffElectricalEnergy" |
|
|
30
|
-
"cntElectricalEnergy" |
|
|
31
|
-
|
|
32
|
-
"reactiveEnergy" |
|
|
33
|
-
"diffReactiveEnergy" |
|
|
34
|
-
"cntReactiveEnergy" |
|
|
35
|
-
|
|
36
|
-
"volume" |
|
|
37
|
-
"diffVolume" |
|
|
38
|
-
"cntVolume" |
|
|
39
|
-
|
|
40
|
-
"inletVolume" |
|
|
41
|
-
"diffInletVolume" |
|
|
42
|
-
"cntInletVolume" |
|
|
43
|
-
|
|
44
|
-
"outletVolume" |
|
|
45
|
-
"diffOutletVolume" |
|
|
46
|
-
"cntOutletVolume" |
|
|
47
|
-
|
|
48
|
-
"pulseInputAVolume" |
|
|
49
|
-
"diffPulseInputAVolume" |
|
|
50
|
-
"cntPulseInputAVolume" |
|
|
51
|
-
|
|
52
|
-
"pulseInputBVolume" |
|
|
53
|
-
"diffPulseInputBVolume" |
|
|
54
|
-
"cntPulseInputBVolume" |
|
|
55
|
-
|
|
56
|
-
"mass" |
|
|
57
|
-
"diffMass" |
|
|
58
|
-
"cntMass" |
|
|
59
|
-
|
|
60
|
-
"inletMass" |
|
|
61
|
-
"diffInletMass" |
|
|
62
|
-
"cntInletMass" |
|
|
63
|
-
|
|
64
|
-
"outletMass" |
|
|
65
|
-
"diffOutletMass" |
|
|
66
|
-
"cntOutletMass" |
|
|
67
|
-
|
|
68
|
-
"power" |
|
|
69
|
-
"maxPower" |
|
|
70
|
-
"minPower" |
|
|
71
|
-
"avgPower" |
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
"
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
"
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"
|
|
1
|
+
export type RegisterId =
|
|
2
|
+
"none" |
|
|
3
|
+
|
|
4
|
+
"heatEnergy" |
|
|
5
|
+
"diffHeatEnergy" |
|
|
6
|
+
"cntHeatEnergy" |
|
|
7
|
+
|
|
8
|
+
"heatEnergyVolumeInInlet" |
|
|
9
|
+
"diffHeatEnergyVolumeInInlet" |
|
|
10
|
+
"cntHeatEnergyVolumeInInlet" |
|
|
11
|
+
|
|
12
|
+
"heatEnergyVolumeInOutlet" |
|
|
13
|
+
"diffHeatEnergyVolumeInOutlet" |
|
|
14
|
+
"cntHeatEnergyVolumeInOutlet" |
|
|
15
|
+
|
|
16
|
+
"coolingEnergy" |
|
|
17
|
+
"diffCoolingEnergy" |
|
|
18
|
+
"cntCoolingEnergy" |
|
|
19
|
+
|
|
20
|
+
"coolingEnergyVolumeInInlet" |
|
|
21
|
+
"diffCoolingEnergyVolumeInInlet" |
|
|
22
|
+
"cntCoolingEnergyVolumeInInlet" |
|
|
23
|
+
|
|
24
|
+
"coolingEnergyVolumeInOutlet" |
|
|
25
|
+
"diffCoolingEnergyVolumeInOutlet" |
|
|
26
|
+
"cntCoolingEnergyVolumeInOutlet" |
|
|
27
|
+
|
|
28
|
+
"electricalEnergy" |
|
|
29
|
+
"diffElectricalEnergy" |
|
|
30
|
+
"cntElectricalEnergy" |
|
|
31
|
+
|
|
32
|
+
"reactiveEnergy" |
|
|
33
|
+
"diffReactiveEnergy" |
|
|
34
|
+
"cntReactiveEnergy" |
|
|
35
|
+
|
|
36
|
+
"volume" |
|
|
37
|
+
"diffVolume" |
|
|
38
|
+
"cntVolume" |
|
|
39
|
+
|
|
40
|
+
"inletVolume" |
|
|
41
|
+
"diffInletVolume" |
|
|
42
|
+
"cntInletVolume" |
|
|
43
|
+
|
|
44
|
+
"outletVolume" |
|
|
45
|
+
"diffOutletVolume" |
|
|
46
|
+
"cntOutletVolume" |
|
|
47
|
+
|
|
48
|
+
"pulseInputAVolume" |
|
|
49
|
+
"diffPulseInputAVolume" |
|
|
50
|
+
"cntPulseInputAVolume" |
|
|
51
|
+
|
|
52
|
+
"pulseInputBVolume" |
|
|
53
|
+
"diffPulseInputBVolume" |
|
|
54
|
+
"cntPulseInputBVolume" |
|
|
55
|
+
|
|
56
|
+
"mass" |
|
|
57
|
+
"diffMass" |
|
|
58
|
+
"cntMass" |
|
|
59
|
+
|
|
60
|
+
"inletMass" |
|
|
61
|
+
"diffInletMass" |
|
|
62
|
+
"cntInletMass" |
|
|
63
|
+
|
|
64
|
+
"outletMass" |
|
|
65
|
+
"diffOutletMass" |
|
|
66
|
+
"cntOutletMass" |
|
|
67
|
+
|
|
68
|
+
"power" |
|
|
69
|
+
"maxPower" |
|
|
70
|
+
"minPower" |
|
|
71
|
+
"avgPower" |
|
|
72
|
+
"sumPower" |
|
|
73
|
+
"cntPower" |
|
|
74
|
+
"ssqPower" |
|
|
75
|
+
|
|
76
|
+
"inletPower" |
|
|
77
|
+
"maxInletPower" |
|
|
78
|
+
"minInletPower" |
|
|
79
|
+
"avgInletPower" |
|
|
80
|
+
"sumInletPower" |
|
|
81
|
+
"cntInletPower" |
|
|
82
|
+
"ssqInletPower" |
|
|
83
|
+
|
|
84
|
+
"outletPower" |
|
|
85
|
+
"maxOutletPower" |
|
|
86
|
+
"minOutletPower" |
|
|
87
|
+
"avgOutletPower" |
|
|
88
|
+
"sumOutletPower" |
|
|
89
|
+
"cntOutletPower" |
|
|
90
|
+
"ssqOutletPower" |
|
|
91
|
+
|
|
92
|
+
"volumeFlow" |
|
|
93
|
+
"maxVolumeFlow" |
|
|
94
|
+
"minVolumeFlow" |
|
|
95
|
+
"avgVolumeFlow" |
|
|
96
|
+
"sumVolumeFlow" |
|
|
97
|
+
"cntVolumeFlow" |
|
|
98
|
+
"ssqVolumeFlow" |
|
|
99
|
+
|
|
100
|
+
"inletVolumeFlow" |
|
|
101
|
+
"maxInletVolumeFlow" |
|
|
102
|
+
"minInletVolumeFlow" |
|
|
103
|
+
"avgInletVolumeFlow" |
|
|
104
|
+
"sumInletVolumeFlow" |
|
|
105
|
+
"cntInletVolumeFlow" |
|
|
106
|
+
"ssqInletVolumeFlow" |
|
|
107
|
+
|
|
108
|
+
"outletVolumeFlow" |
|
|
109
|
+
"maxOutletVolumeFlow" |
|
|
110
|
+
"minOutletVolumeFlow" |
|
|
111
|
+
"avgOutletVolumeFlow" |
|
|
112
|
+
"sumOutletVolumeFlow" |
|
|
113
|
+
"cntOutletVolumeFlow" |
|
|
114
|
+
"ssqOutletVolumeFlow" |
|
|
115
|
+
|
|
116
|
+
"massFlow" |
|
|
117
|
+
"maxMassFlow" |
|
|
118
|
+
"minMassFlow" |
|
|
119
|
+
"avgMassFlow" |
|
|
120
|
+
"sumMassFlow" |
|
|
121
|
+
"cntMassFlow" |
|
|
122
|
+
"ssqMassFlow" |
|
|
123
|
+
|
|
124
|
+
"inletMassFlow" |
|
|
125
|
+
"maxInletMassFlow" |
|
|
126
|
+
"minInletMassFlow" |
|
|
127
|
+
"avgInletMassFlow" |
|
|
128
|
+
"sumInletMassFlow" |
|
|
129
|
+
"cntInletMassFlow" |
|
|
130
|
+
"ssqInletMassFlow" |
|
|
131
|
+
|
|
132
|
+
"outletMassFlow" |
|
|
133
|
+
"maxOutletMassFlow" |
|
|
134
|
+
"minOutletMassFlow" |
|
|
135
|
+
"avgOutletMassFlow" |
|
|
136
|
+
"sumOutletMassFlow" |
|
|
137
|
+
"cntOutletMassFlow" |
|
|
138
|
+
"ssqOutletMassFlow" |
|
|
139
|
+
|
|
140
|
+
"flowTemperature" |
|
|
141
|
+
"maxFlowTemperature" |
|
|
142
|
+
"minFlowTemperature" |
|
|
143
|
+
"avgFlowTemperature" |
|
|
144
|
+
"sumFlowTemperature" |
|
|
145
|
+
"cntFlowTemperature" |
|
|
146
|
+
"ssqFlowTemperature" |
|
|
147
|
+
|
|
148
|
+
"inletFlowTemperature" |
|
|
149
|
+
"maxInletFlowTemperature" |
|
|
150
|
+
"minInletFlowTemperature" |
|
|
151
|
+
"avgInletFlowTemperature" |
|
|
152
|
+
"sumInletFlowTemperature" |
|
|
153
|
+
"cntInletFlowTemperature" |
|
|
154
|
+
"ssqInletFlowTemperature" |
|
|
155
|
+
|
|
156
|
+
"outletFlowTemperature" |
|
|
157
|
+
"maxOutletFlowTemperature" |
|
|
158
|
+
"minOutletFlowTemperature" |
|
|
159
|
+
"avgOutletFlowTemperature" |
|
|
160
|
+
"sumOutletFlowTemperature" |
|
|
161
|
+
"cntOutletFlowTemperature" |
|
|
162
|
+
"ssqOutletFlowTemperature" |
|
|
163
|
+
|
|
164
|
+
"inletMinusOutletFlowTemperatureDifference" |
|
|
165
|
+
"maxInletMinusOutletFlowTemperatureDifference" |
|
|
166
|
+
"minInletMinusOutletFlowTemperatureDifference" |
|
|
167
|
+
"avgInletMinusOutletFlowTemperatureDifference" |
|
|
168
|
+
"sumInletMinusOutletFlowTemperatureDifference" |
|
|
169
|
+
"cntInletMinusOutletFlowTemperatureDifference" |
|
|
170
|
+
"ssqInletMinusOutletFlowTemperatureDifference" |
|
|
171
|
+
|
|
172
|
+
"outletMinusInletFlowTemperatureDifference" |
|
|
173
|
+
"maxOutletMinusInletFlowTemperatureDifference" |
|
|
174
|
+
"minOutletMinusInletFlowTemperatureDifference" |
|
|
175
|
+
"avgOutletMinusInletFlowTemperatureDifference" |
|
|
176
|
+
"sumOutletMinusInletFlowTemperatureDifference" |
|
|
177
|
+
"cntOutletMinusInletFlowTemperatureDifference" |
|
|
178
|
+
"ssqOutletMinusInletFlowTemperatureDifference" |
|
|
179
|
+
|
|
180
|
+
"ambientTemperature" |
|
|
181
|
+
"maxAmbientTemperature" |
|
|
182
|
+
"minAmbientTemperature" |
|
|
183
|
+
"avgAmbientTemperature" |
|
|
184
|
+
"sumAmbientTemperature" |
|
|
185
|
+
"cntAmbientTemperature" |
|
|
186
|
+
"ssqAmbientTemperature" |
|
|
187
|
+
|
|
188
|
+
"radiatorTemperature" |
|
|
189
|
+
"maxRadiatorTemperature" |
|
|
190
|
+
"minRadiatorTemperature" |
|
|
191
|
+
"avgRadiatorTemperature" |
|
|
192
|
+
"sumRadiatorTemperature" |
|
|
193
|
+
"cntRadiatorTemperature" |
|
|
194
|
+
"ssqRadiatorTemperature" |
|
|
195
|
+
|
|
196
|
+
"relativeHumidity" |
|
|
197
|
+
|
|
198
|
+
"kamstrupE8Inlet" |
|
|
199
|
+
"diffKamstrupE8Inlet" |
|
|
200
|
+
"cntKamstrupE8Inlet" |
|
|
201
|
+
"kamstrupE9Outlet" |
|
|
202
|
+
"diffKamstrupE9Outlet" |
|
|
203
|
+
"cntKamstrupE9Outlet" |
|
|
204
|
+
|
|
205
|
+
"operatingTime" |
|
|
206
|
+
"diffOperatingTime" |
|
|
207
|
+
"cntOperatingTime" |
|
|
208
|
+
|
|
209
|
+
"remainingBatteryTime" |
|
|
210
|
+
"diffRemainingBatteryTime" |
|
|
211
|
+
"cntRemainingBatteryTime" |
|
|
212
|
+
|
|
213
|
+
"deviceDate" |
|
|
214
|
+
"deviceTime" |
|
|
215
|
+
"deviceDateTime" |
|
|
216
|
+
|
|
217
|
+
"timeSinceLastExactOverhearingArrived" |
|
|
218
|
+
"timeAtLastExactOverhearingArrived" |
|
|
219
|
+
|
|
220
|
+
"timeSinceLastPossibleCandidateOverhearingArrived" |
|
|
221
|
+
"timeAtLastPossibleCandidateOverhearingArrived" |
|
|
222
|
+
|
|
223
|
+
"timeSinceLastSampled" |
|
|
224
|
+
"timeAtLastSampled" |
|
|
225
|
+
|
|
226
|
+
"timeSinceLastInstallationMounted" |
|
|
227
|
+
"timeAtLastInstallationMounted" |
|
|
228
|
+
|
|
229
|
+
"basetime" |
|
|
230
|
+
"instantTime" |
|
|
231
|
+
"periodStartTime" |
|
|
232
|
+
"periodEndTime" |
|
|
233
|
+
"instantOrPeriodStartTime" |
|
|
234
|
+
"instantOrPeriodEndTime" |
|
|
235
|
+
|
|
236
|
+
"device" |
|
|
237
|
+
"wMBusDeviceAddresses" |
|
|
238
|
+
"kamdraftDeviceAddresses" |
|
|
239
|
+
"tchlrDeviceAddresses" |
|
|
240
|
+
"kamdaDeviceAddresses" |
|
|
241
|
+
"msisdnDeviceAddresses" |
|
|
242
|
+
"deviceRegisters" |
|
|
243
|
+
"consumptionZone" |
|
|
244
|
+
|
|
245
|
+
"mBusFormatStringSignature" |
|
|
246
|
+
"deviceSoftwareVersion" |
|
|
247
|
+
|
|
248
|
+
"kamstrupMulticalInfocodeType1" |
|
|
249
|
+
"kamstrupMulticalInfocodeType2" |
|
|
250
|
+
"kamstrupMulticalInfocodeType3" |
|
|
251
|
+
"kamstrupMulticalInfocodeType4" |
|
|
252
|
+
"kamstrupMulticalInfocode" |
|
|
253
|
+
"kamstrupModuleType" |
|
|
254
|
+
|
|
255
|
+
"diehlInfocodeType1" |
|
|
256
|
+
"diehlInfocode" |
|
|
257
|
+
|
|
258
|
+
"landisGyrMBusStatusType1" |
|
|
259
|
+
"landisGyrMBusStatusType2" |
|
|
260
|
+
"landisGyrMBusStatus" |
|
|
261
|
+
"landisGyrInfocodeType1" |
|
|
262
|
+
"landisGyrInfocodeType2" |
|
|
263
|
+
"landisGyrInfocode" |
|
|
264
|
+
|
|
265
|
+
"infocode";
|
package/src/unit-id.ts
CHANGED
|
@@ -98,18 +98,12 @@ export type UnitId =
|
|
|
98
98
|
"kiloGramsPerHour2" |
|
|
99
99
|
|
|
100
100
|
"celcius" |
|
|
101
|
-
"celcius2" |
|
|
102
101
|
"kelvin" |
|
|
103
|
-
"kelvin2" |
|
|
104
102
|
"fahrenheit" |
|
|
105
|
-
"fahrenheit2" |
|
|
106
103
|
|
|
107
104
|
"var" |
|
|
108
|
-
"var2" |
|
|
109
105
|
"kiloVar" |
|
|
110
|
-
"kiloVar2" |
|
|
111
106
|
"megaVar" |
|
|
112
|
-
"megaVar2" |
|
|
113
107
|
|
|
114
108
|
"varHour" |
|
|
115
109
|
"kiloVarHour" |
|
|
@@ -118,4 +112,15 @@ export type UnitId =
|
|
|
118
112
|
"percentage" |
|
|
119
113
|
|
|
120
114
|
"literCelcius" |
|
|
121
|
-
"cubicMeterCelcius";
|
|
115
|
+
"cubicMeterCelcius";
|
|
116
|
+
|
|
117
|
+
export const energyUnits: UnitId[] = [
|
|
118
|
+
"milliWattHour",
|
|
119
|
+
"wattHour",
|
|
120
|
+
"kiloWattHour",
|
|
121
|
+
"megaWattHour",
|
|
122
|
+
"gigaWattHour",
|
|
123
|
+
"calorie",
|
|
124
|
+
"kiloCalorie",
|
|
125
|
+
"megaCalorie",
|
|
126
|
+
];
|