@utiliread/primitives 1.0.0-58 → 1.0.0-59
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 +16 -0
- package/src/unit-id.ts +12 -33
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":";;;AA0Fa,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" | "
|
|
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" | "watt" | "kiloWatt" | "megaWatt" | "gigaWatt" | "joulesPerSecond" | "joulesPerMinute" | "joulesPerHour" | "litersPerSecond" | "litersPerMinute" | "litersPerHour" | "cubicMetersPerSecond" | "cubicMetersPerMinute" | "cubicMetersPerHour" | "fluidOuncesPerSecond" | "fluidOuncesPerMinute" | "fluidOuncesPerHour" | "gallonsPerSecond" | "gallonsPerMinute" | "gallonsPerHour" | "gramsPerSecond" | "gramsPerMinute" | "gramsPerHour" | "kiloGramsPerSecond" | "kiloGramsPerMinute" | "kiloGramsPerHour" | "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":"AA0FA,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
|
@@ -69,6 +69,7 @@ export type RegisterId =
|
|
|
69
69
|
"maxPower" |
|
|
70
70
|
"minPower" |
|
|
71
71
|
"avgPower" |
|
|
72
|
+
"sumPower" |
|
|
72
73
|
"cntPower" |
|
|
73
74
|
"ssqPower" |
|
|
74
75
|
|
|
@@ -76,6 +77,7 @@ export type RegisterId =
|
|
|
76
77
|
"maxInletPower" |
|
|
77
78
|
"minInletPower" |
|
|
78
79
|
"avgInletPower" |
|
|
80
|
+
"sumInletPower" |
|
|
79
81
|
"cntInletPower" |
|
|
80
82
|
"ssqInletPower" |
|
|
81
83
|
|
|
@@ -83,6 +85,7 @@ export type RegisterId =
|
|
|
83
85
|
"maxOutletPower" |
|
|
84
86
|
"minOutletPower" |
|
|
85
87
|
"avgOutletPower" |
|
|
88
|
+
"sumOutletPower" |
|
|
86
89
|
"cntOutletPower" |
|
|
87
90
|
"ssqOutletPower" |
|
|
88
91
|
|
|
@@ -90,6 +93,7 @@ export type RegisterId =
|
|
|
90
93
|
"maxVolumeFlow" |
|
|
91
94
|
"minVolumeFlow" |
|
|
92
95
|
"avgVolumeFlow" |
|
|
96
|
+
"sumVolumeFlow" |
|
|
93
97
|
"cntVolumeFlow" |
|
|
94
98
|
"ssqVolumeFlow" |
|
|
95
99
|
|
|
@@ -97,6 +101,7 @@ export type RegisterId =
|
|
|
97
101
|
"maxInletVolumeFlow" |
|
|
98
102
|
"minInletVolumeFlow" |
|
|
99
103
|
"avgInletVolumeFlow" |
|
|
104
|
+
"sumInletVolumeFlow" |
|
|
100
105
|
"cntInletVolumeFlow" |
|
|
101
106
|
"ssqInletVolumeFlow" |
|
|
102
107
|
|
|
@@ -104,6 +109,7 @@ export type RegisterId =
|
|
|
104
109
|
"maxOutletVolumeFlow" |
|
|
105
110
|
"minOutletVolumeFlow" |
|
|
106
111
|
"avgOutletVolumeFlow" |
|
|
112
|
+
"sumOutletVolumeFlow" |
|
|
107
113
|
"cntOutletVolumeFlow" |
|
|
108
114
|
"ssqOutletVolumeFlow" |
|
|
109
115
|
|
|
@@ -111,6 +117,7 @@ export type RegisterId =
|
|
|
111
117
|
"maxMassFlow" |
|
|
112
118
|
"minMassFlow" |
|
|
113
119
|
"avgMassFlow" |
|
|
120
|
+
"sumMassFlow" |
|
|
114
121
|
"cntMassFlow" |
|
|
115
122
|
"ssqMassFlow" |
|
|
116
123
|
|
|
@@ -118,6 +125,7 @@ export type RegisterId =
|
|
|
118
125
|
"maxInletMassFlow" |
|
|
119
126
|
"minInletMassFlow" |
|
|
120
127
|
"avgInletMassFlow" |
|
|
128
|
+
"sumInletMassFlow" |
|
|
121
129
|
"cntInletMassFlow" |
|
|
122
130
|
"ssqInletMassFlow" |
|
|
123
131
|
|
|
@@ -125,6 +133,7 @@ export type RegisterId =
|
|
|
125
133
|
"maxOutletMassFlow" |
|
|
126
134
|
"minOutletMassFlow" |
|
|
127
135
|
"avgOutletMassFlow" |
|
|
136
|
+
"sumOutletMassFlow" |
|
|
128
137
|
"cntOutletMassFlow" |
|
|
129
138
|
"ssqOutletMassFlow" |
|
|
130
139
|
|
|
@@ -132,6 +141,7 @@ export type RegisterId =
|
|
|
132
141
|
"maxFlowTemperature" |
|
|
133
142
|
"minFlowTemperature" |
|
|
134
143
|
"avgFlowTemperature" |
|
|
144
|
+
"sumFlowTemperature" |
|
|
135
145
|
"cntFlowTemperature" |
|
|
136
146
|
"ssqFlowTemperature" |
|
|
137
147
|
|
|
@@ -139,6 +149,7 @@ export type RegisterId =
|
|
|
139
149
|
"maxInletFlowTemperature" |
|
|
140
150
|
"minInletFlowTemperature" |
|
|
141
151
|
"avgInletFlowTemperature" |
|
|
152
|
+
"sumInletFlowTemperature" |
|
|
142
153
|
"cntInletFlowTemperature" |
|
|
143
154
|
"ssqInletFlowTemperature" |
|
|
144
155
|
|
|
@@ -146,6 +157,7 @@ export type RegisterId =
|
|
|
146
157
|
"maxOutletFlowTemperature" |
|
|
147
158
|
"minOutletFlowTemperature" |
|
|
148
159
|
"avgOutletFlowTemperature" |
|
|
160
|
+
"sumOutletFlowTemperature" |
|
|
149
161
|
"cntOutletFlowTemperature" |
|
|
150
162
|
"ssqOutletFlowTemperature" |
|
|
151
163
|
|
|
@@ -153,6 +165,7 @@ export type RegisterId =
|
|
|
153
165
|
"maxInletMinusOutletFlowTemperatureDifference" |
|
|
154
166
|
"minInletMinusOutletFlowTemperatureDifference" |
|
|
155
167
|
"avgInletMinusOutletFlowTemperatureDifference" |
|
|
168
|
+
"sumInletMinusOutletFlowTemperatureDifference" |
|
|
156
169
|
"cntInletMinusOutletFlowTemperatureDifference" |
|
|
157
170
|
"ssqInletMinusOutletFlowTemperatureDifference" |
|
|
158
171
|
|
|
@@ -160,6 +173,7 @@ export type RegisterId =
|
|
|
160
173
|
"maxOutletMinusInletFlowTemperatureDifference" |
|
|
161
174
|
"minOutletMinusInletFlowTemperatureDifference" |
|
|
162
175
|
"avgOutletMinusInletFlowTemperatureDifference" |
|
|
176
|
+
"sumOutletMinusInletFlowTemperatureDifference" |
|
|
163
177
|
"cntOutletMinusInletFlowTemperatureDifference" |
|
|
164
178
|
"ssqOutletMinusInletFlowTemperatureDifference" |
|
|
165
179
|
|
|
@@ -167,6 +181,7 @@ export type RegisterId =
|
|
|
167
181
|
"maxAmbientTemperature" |
|
|
168
182
|
"minAmbientTemperature" |
|
|
169
183
|
"avgAmbientTemperature" |
|
|
184
|
+
"sumAmbientTemperature" |
|
|
170
185
|
"cntAmbientTemperature" |
|
|
171
186
|
"ssqAmbientTemperature" |
|
|
172
187
|
|
|
@@ -174,6 +189,7 @@ export type RegisterId =
|
|
|
174
189
|
"maxRadiatorTemperature" |
|
|
175
190
|
"minRadiatorTemperature" |
|
|
176
191
|
"avgRadiatorTemperature" |
|
|
192
|
+
"sumRadiatorTemperature" |
|
|
177
193
|
"cntRadiatorTemperature" |
|
|
178
194
|
"ssqRadiatorTemperature" |
|
|
179
195
|
|
package/src/unit-id.ts
CHANGED
|
@@ -38,78 +38,46 @@ export type UnitId =
|
|
|
38
38
|
"year" |
|
|
39
39
|
|
|
40
40
|
"milliWatt" |
|
|
41
|
-
"milliWatt2" |
|
|
42
41
|
"watt" |
|
|
43
|
-
"watt2" |
|
|
44
42
|
"kiloWatt" |
|
|
45
|
-
"kiloWatt2" |
|
|
46
43
|
"megaWatt" |
|
|
47
|
-
"megaWatt2" |
|
|
48
44
|
"gigaWatt" |
|
|
49
|
-
"gigaWatt2" |
|
|
50
45
|
|
|
51
46
|
"joulesPerSecond" |
|
|
52
|
-
"joulesPerSecond2" |
|
|
53
47
|
"joulesPerMinute" |
|
|
54
|
-
"joulesPerMinute2" |
|
|
55
48
|
"joulesPerHour" |
|
|
56
|
-
"joulesPerHour2" |
|
|
57
49
|
|
|
58
50
|
"litersPerSecond" |
|
|
59
|
-
"litersPerSecond2" |
|
|
60
51
|
"litersPerMinute" |
|
|
61
|
-
"litersPerMinute2" |
|
|
62
52
|
"litersPerHour" |
|
|
63
|
-
"litersPerHour2" |
|
|
64
53
|
|
|
65
54
|
"cubicMetersPerSecond" |
|
|
66
|
-
"cubicMetersPerSecond2" |
|
|
67
55
|
"cubicMetersPerMinute" |
|
|
68
|
-
"cubicMetersPerMinute2" |
|
|
69
56
|
"cubicMetersPerHour" |
|
|
70
|
-
"cubicMetersPerHour2" |
|
|
71
57
|
|
|
72
58
|
"fluidOuncesPerSecond" |
|
|
73
|
-
"fluidOuncesPerSecond2" |
|
|
74
59
|
"fluidOuncesPerMinute" |
|
|
75
|
-
"fluidOuncesPerMinute2" |
|
|
76
60
|
"fluidOuncesPerHour" |
|
|
77
|
-
"fluidOuncesPerHour2" |
|
|
78
61
|
|
|
79
62
|
"gallonsPerSecond" |
|
|
80
|
-
"gallonsPerSecond2" |
|
|
81
63
|
"gallonsPerMinute" |
|
|
82
|
-
"gallonsPerMinute2" |
|
|
83
64
|
"gallonsPerHour" |
|
|
84
|
-
"gallonsPerHour2" |
|
|
85
65
|
|
|
86
66
|
"gramsPerSecond" |
|
|
87
|
-
"gramsPerSecond2" |
|
|
88
67
|
"gramsPerMinute" |
|
|
89
|
-
"gramsPerMinute2" |
|
|
90
68
|
"gramsPerHour" |
|
|
91
|
-
"gramsPerHour2" |
|
|
92
69
|
|
|
93
70
|
"kiloGramsPerSecond" |
|
|
94
|
-
"kiloGramsPerSecond2" |
|
|
95
71
|
"kiloGramsPerMinute" |
|
|
96
|
-
"kiloGramsPerMinute2" |
|
|
97
72
|
"kiloGramsPerHour" |
|
|
98
|
-
"kiloGramsPerHour2" |
|
|
99
73
|
|
|
100
74
|
"celcius" |
|
|
101
|
-
"celcius2" |
|
|
102
75
|
"kelvin" |
|
|
103
|
-
"kelvin2" |
|
|
104
76
|
"fahrenheit" |
|
|
105
|
-
"fahrenheit2" |
|
|
106
77
|
|
|
107
78
|
"var" |
|
|
108
|
-
"var2" |
|
|
109
79
|
"kiloVar" |
|
|
110
|
-
"kiloVar2" |
|
|
111
80
|
"megaVar" |
|
|
112
|
-
"megaVar2" |
|
|
113
81
|
|
|
114
82
|
"varHour" |
|
|
115
83
|
"kiloVarHour" |
|
|
@@ -118,4 +86,15 @@ export type UnitId =
|
|
|
118
86
|
"percentage" |
|
|
119
87
|
|
|
120
88
|
"literCelcius" |
|
|
121
|
-
"cubicMeterCelcius";
|
|
89
|
+
"cubicMeterCelcius";
|
|
90
|
+
|
|
91
|
+
export const energyUnits: UnitId[] = [
|
|
92
|
+
"milliWattHour",
|
|
93
|
+
"wattHour",
|
|
94
|
+
"kiloWattHour",
|
|
95
|
+
"megaWattHour",
|
|
96
|
+
"gigaWattHour",
|
|
97
|
+
"calorie",
|
|
98
|
+
"kiloCalorie",
|
|
99
|
+
"megaCalorie",
|
|
100
|
+
];
|