@utiliread/primitives 1.0.0-66 → 1.0.0-68
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.map +1 -1
- package/dist/esm/measure-id.d.ts +1 -1
- package/dist/esm/register-id.d.ts +1 -1
- package/dist/esm/unit-id.d.ts +1 -1
- package/dist/esm/unit-id.js.map +1 -1
- package/package.json +1 -1
- package/src/measure-id.ts +2 -1
- package/src/register-id.ts +24 -0
- package/src/unit-id.ts +129 -126
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":";;;AAuHa,QAAA,WAAW,GAAa;IACjC,eAAe;IACf,UAAU;IACV,cAAc;IACd,cAAc;IACd,cAAc;IACd,SAAS;IACT,aAAa;IACb,aAAa;CAChB,CAAC"}
|
package/dist/esm/measure-id.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type MeasureId = "none" | "duration" | "energy" | "humidity" | "mass" | "massFlow" | "power" | "reactiveEnergy" | "reactivePower" | "temperature" | "time" | "volume" | "volumeFlow";
|
|
1
|
+
export type MeasureId = "none" | "duration" | "energy" | "humidity" | "mass" | "massFlow" | "pressure" | "power" | "reactiveEnergy" | "reactivePower" | "temperature" | "time" | "volume" | "volumeFlow";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export 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" | "auxFlowTemperature" | "maxAuxFlowTemperature" | "minAuxFlowTemperature" | "avgAuxFlowTemperature" | "sumAuxFlowTemperature" | "cntAuxFlowTemperature" | "ssqAuxFlowTemperature" | "relativeHumidity" | "kamstrupE8Inlet" | "diffKamstrupE8Inlet" | "cntKamstrupE8Inlet" | "kamstrupE9Outlet" | "diffKamstrupE9Outlet" | "cntKamstrupE9Outlet" | "operatingTime" | "diffOperatingTime" | "cntOperatingTime" | "errorOperatingTime" | "diffErrorOperatingTime" | "cntErrorOperatingTime" | "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 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" | "pressure" | "maxPressure" | "minPressure" | "avgPressure" | "sumPressure" | "cntPressure" | "ssqPressure" | "inletPressure" | "maxInletPressure" | "minInletPressure" | "avgInletPressure" | "sumInletPressure" | "cntInletPressure" | "ssqInletPressure" | "outletPressure" | "maxOutletPressure" | "minOutletPressure" | "avgOutletPressure" | "sumOutletPressure" | "cntOutletPressure" | "ssqOutletPressure" | "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" | "auxFlowTemperature" | "maxAuxFlowTemperature" | "minAuxFlowTemperature" | "avgAuxFlowTemperature" | "sumAuxFlowTemperature" | "cntAuxFlowTemperature" | "ssqAuxFlowTemperature" | "relativeHumidity" | "kamstrupE8Inlet" | "diffKamstrupE8Inlet" | "cntKamstrupE8Inlet" | "kamstrupE9Outlet" | "diffKamstrupE9Outlet" | "cntKamstrupE9Outlet" | "operatingTime" | "diffOperatingTime" | "cntOperatingTime" | "errorOperatingTime" | "diffErrorOperatingTime" | "cntErrorOperatingTime" | "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,2 +1,2 @@
|
|
|
1
|
-
export 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";
|
|
1
|
+
export 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" | "bar" | "pascal" | "var" | "kiloVar" | "megaVar" | "varHour" | "kiloVarHour" | "megaVarHour" | "percentage" | "literCelcius" | "cubicMeterCelcius";
|
|
2
2
|
export declare const energyUnits: UnitId[];
|
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":"AAuHA,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/measure-id.ts
CHANGED
package/src/register-id.ts
CHANGED
|
@@ -65,6 +65,30 @@ export type RegisterId =
|
|
|
65
65
|
"diffOutletMass" |
|
|
66
66
|
"cntOutletMass" |
|
|
67
67
|
|
|
68
|
+
"pressure" |
|
|
69
|
+
"maxPressure" |
|
|
70
|
+
"minPressure" |
|
|
71
|
+
"avgPressure" |
|
|
72
|
+
"sumPressure" |
|
|
73
|
+
"cntPressure" |
|
|
74
|
+
"ssqPressure" |
|
|
75
|
+
|
|
76
|
+
"inletPressure" |
|
|
77
|
+
"maxInletPressure" |
|
|
78
|
+
"minInletPressure" |
|
|
79
|
+
"avgInletPressure" |
|
|
80
|
+
"sumInletPressure" |
|
|
81
|
+
"cntInletPressure" |
|
|
82
|
+
"ssqInletPressure" |
|
|
83
|
+
|
|
84
|
+
"outletPressure" |
|
|
85
|
+
"maxOutletPressure" |
|
|
86
|
+
"minOutletPressure" |
|
|
87
|
+
"avgOutletPressure" |
|
|
88
|
+
"sumOutletPressure" |
|
|
89
|
+
"cntOutletPressure" |
|
|
90
|
+
"ssqOutletPressure" |
|
|
91
|
+
|
|
68
92
|
"power" |
|
|
69
93
|
"maxPower" |
|
|
70
94
|
"minPower" |
|
package/src/unit-id.ts
CHANGED
|
@@ -1,126 +1,129 @@
|
|
|
1
|
-
export type UnitId =
|
|
2
|
-
"unitless" |
|
|
3
|
-
|
|
4
|
-
"milliWattHour" |
|
|
5
|
-
"wattHour" |
|
|
6
|
-
"kiloWattHour" |
|
|
7
|
-
"megaWattHour" |
|
|
8
|
-
"gigaWattHour" |
|
|
9
|
-
"calorie" |
|
|
10
|
-
"kiloCalorie" |
|
|
11
|
-
"megaCalorie" |
|
|
12
|
-
|
|
13
|
-
"joule" |
|
|
14
|
-
"kiloJoule" |
|
|
15
|
-
"megaJoule" |
|
|
16
|
-
"gigaJoule" |
|
|
17
|
-
|
|
18
|
-
"liter" |
|
|
19
|
-
"cubicMeter" |
|
|
20
|
-
|
|
21
|
-
"fluidOunce" |
|
|
22
|
-
"gallon" |
|
|
23
|
-
|
|
24
|
-
"gram" |
|
|
25
|
-
"kiloGram" |
|
|
26
|
-
"tonne" |
|
|
27
|
-
|
|
28
|
-
"ounce" |
|
|
29
|
-
"pound" |
|
|
30
|
-
"ton" |
|
|
31
|
-
|
|
32
|
-
"second" |
|
|
33
|
-
"minute" |
|
|
34
|
-
"hour" |
|
|
35
|
-
"day" |
|
|
36
|
-
"week" |
|
|
37
|
-
"month" |
|
|
38
|
-
"year" |
|
|
39
|
-
|
|
40
|
-
"milliWatt" |
|
|
41
|
-
"milliWatt2" |
|
|
42
|
-
"watt" |
|
|
43
|
-
"watt2" |
|
|
44
|
-
"kiloWatt" |
|
|
45
|
-
"kiloWatt2" |
|
|
46
|
-
"megaWatt" |
|
|
47
|
-
"megaWatt2" |
|
|
48
|
-
"gigaWatt" |
|
|
49
|
-
"gigaWatt2" |
|
|
50
|
-
|
|
51
|
-
"joulesPerSecond" |
|
|
52
|
-
"joulesPerSecond2" |
|
|
53
|
-
"joulesPerMinute" |
|
|
54
|
-
"joulesPerMinute2" |
|
|
55
|
-
"joulesPerHour" |
|
|
56
|
-
"joulesPerHour2" |
|
|
57
|
-
|
|
58
|
-
"litersPerSecond" |
|
|
59
|
-
"litersPerSecond2" |
|
|
60
|
-
"litersPerMinute" |
|
|
61
|
-
"litersPerMinute2" |
|
|
62
|
-
"litersPerHour" |
|
|
63
|
-
"litersPerHour2" |
|
|
64
|
-
|
|
65
|
-
"cubicMetersPerSecond" |
|
|
66
|
-
"cubicMetersPerSecond2" |
|
|
67
|
-
"cubicMetersPerMinute" |
|
|
68
|
-
"cubicMetersPerMinute2" |
|
|
69
|
-
"cubicMetersPerHour" |
|
|
70
|
-
"cubicMetersPerHour2" |
|
|
71
|
-
|
|
72
|
-
"fluidOuncesPerSecond" |
|
|
73
|
-
"fluidOuncesPerSecond2" |
|
|
74
|
-
"fluidOuncesPerMinute" |
|
|
75
|
-
"fluidOuncesPerMinute2" |
|
|
76
|
-
"fluidOuncesPerHour" |
|
|
77
|
-
"fluidOuncesPerHour2" |
|
|
78
|
-
|
|
79
|
-
"gallonsPerSecond" |
|
|
80
|
-
"gallonsPerSecond2" |
|
|
81
|
-
"gallonsPerMinute" |
|
|
82
|
-
"gallonsPerMinute2" |
|
|
83
|
-
"gallonsPerHour" |
|
|
84
|
-
"gallonsPerHour2" |
|
|
85
|
-
|
|
86
|
-
"gramsPerSecond" |
|
|
87
|
-
"gramsPerSecond2" |
|
|
88
|
-
"gramsPerMinute" |
|
|
89
|
-
"gramsPerMinute2" |
|
|
90
|
-
"gramsPerHour" |
|
|
91
|
-
"gramsPerHour2" |
|
|
92
|
-
|
|
93
|
-
"kiloGramsPerSecond" |
|
|
94
|
-
"kiloGramsPerSecond2" |
|
|
95
|
-
"kiloGramsPerMinute" |
|
|
96
|
-
"kiloGramsPerMinute2" |
|
|
97
|
-
"kiloGramsPerHour" |
|
|
98
|
-
"kiloGramsPerHour2" |
|
|
99
|
-
|
|
100
|
-
"celcius" |
|
|
101
|
-
"kelvin" |
|
|
102
|
-
"fahrenheit" |
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
1
|
+
export type UnitId =
|
|
2
|
+
"unitless" |
|
|
3
|
+
|
|
4
|
+
"milliWattHour" |
|
|
5
|
+
"wattHour" |
|
|
6
|
+
"kiloWattHour" |
|
|
7
|
+
"megaWattHour" |
|
|
8
|
+
"gigaWattHour" |
|
|
9
|
+
"calorie" |
|
|
10
|
+
"kiloCalorie" |
|
|
11
|
+
"megaCalorie" |
|
|
12
|
+
|
|
13
|
+
"joule" |
|
|
14
|
+
"kiloJoule" |
|
|
15
|
+
"megaJoule" |
|
|
16
|
+
"gigaJoule" |
|
|
17
|
+
|
|
18
|
+
"liter" |
|
|
19
|
+
"cubicMeter" |
|
|
20
|
+
|
|
21
|
+
"fluidOunce" |
|
|
22
|
+
"gallon" |
|
|
23
|
+
|
|
24
|
+
"gram" |
|
|
25
|
+
"kiloGram" |
|
|
26
|
+
"tonne" |
|
|
27
|
+
|
|
28
|
+
"ounce" |
|
|
29
|
+
"pound" |
|
|
30
|
+
"ton" |
|
|
31
|
+
|
|
32
|
+
"second" |
|
|
33
|
+
"minute" |
|
|
34
|
+
"hour" |
|
|
35
|
+
"day" |
|
|
36
|
+
"week" |
|
|
37
|
+
"month" |
|
|
38
|
+
"year" |
|
|
39
|
+
|
|
40
|
+
"milliWatt" |
|
|
41
|
+
"milliWatt2" |
|
|
42
|
+
"watt" |
|
|
43
|
+
"watt2" |
|
|
44
|
+
"kiloWatt" |
|
|
45
|
+
"kiloWatt2" |
|
|
46
|
+
"megaWatt" |
|
|
47
|
+
"megaWatt2" |
|
|
48
|
+
"gigaWatt" |
|
|
49
|
+
"gigaWatt2" |
|
|
50
|
+
|
|
51
|
+
"joulesPerSecond" |
|
|
52
|
+
"joulesPerSecond2" |
|
|
53
|
+
"joulesPerMinute" |
|
|
54
|
+
"joulesPerMinute2" |
|
|
55
|
+
"joulesPerHour" |
|
|
56
|
+
"joulesPerHour2" |
|
|
57
|
+
|
|
58
|
+
"litersPerSecond" |
|
|
59
|
+
"litersPerSecond2" |
|
|
60
|
+
"litersPerMinute" |
|
|
61
|
+
"litersPerMinute2" |
|
|
62
|
+
"litersPerHour" |
|
|
63
|
+
"litersPerHour2" |
|
|
64
|
+
|
|
65
|
+
"cubicMetersPerSecond" |
|
|
66
|
+
"cubicMetersPerSecond2" |
|
|
67
|
+
"cubicMetersPerMinute" |
|
|
68
|
+
"cubicMetersPerMinute2" |
|
|
69
|
+
"cubicMetersPerHour" |
|
|
70
|
+
"cubicMetersPerHour2" |
|
|
71
|
+
|
|
72
|
+
"fluidOuncesPerSecond" |
|
|
73
|
+
"fluidOuncesPerSecond2" |
|
|
74
|
+
"fluidOuncesPerMinute" |
|
|
75
|
+
"fluidOuncesPerMinute2" |
|
|
76
|
+
"fluidOuncesPerHour" |
|
|
77
|
+
"fluidOuncesPerHour2" |
|
|
78
|
+
|
|
79
|
+
"gallonsPerSecond" |
|
|
80
|
+
"gallonsPerSecond2" |
|
|
81
|
+
"gallonsPerMinute" |
|
|
82
|
+
"gallonsPerMinute2" |
|
|
83
|
+
"gallonsPerHour" |
|
|
84
|
+
"gallonsPerHour2" |
|
|
85
|
+
|
|
86
|
+
"gramsPerSecond" |
|
|
87
|
+
"gramsPerSecond2" |
|
|
88
|
+
"gramsPerMinute" |
|
|
89
|
+
"gramsPerMinute2" |
|
|
90
|
+
"gramsPerHour" |
|
|
91
|
+
"gramsPerHour2" |
|
|
92
|
+
|
|
93
|
+
"kiloGramsPerSecond" |
|
|
94
|
+
"kiloGramsPerSecond2" |
|
|
95
|
+
"kiloGramsPerMinute" |
|
|
96
|
+
"kiloGramsPerMinute2" |
|
|
97
|
+
"kiloGramsPerHour" |
|
|
98
|
+
"kiloGramsPerHour2" |
|
|
99
|
+
|
|
100
|
+
"celcius" |
|
|
101
|
+
"kelvin" |
|
|
102
|
+
"fahrenheit" |
|
|
103
|
+
|
|
104
|
+
"bar" |
|
|
105
|
+
"pascal" |
|
|
106
|
+
|
|
107
|
+
"var" |
|
|
108
|
+
"kiloVar" |
|
|
109
|
+
"megaVar" |
|
|
110
|
+
|
|
111
|
+
"varHour" |
|
|
112
|
+
"kiloVarHour" |
|
|
113
|
+
"megaVarHour" |
|
|
114
|
+
|
|
115
|
+
"percentage" |
|
|
116
|
+
|
|
117
|
+
"literCelcius" |
|
|
118
|
+
"cubicMeterCelcius";
|
|
119
|
+
|
|
120
|
+
export const energyUnits: UnitId[] = [
|
|
121
|
+
"milliWattHour",
|
|
122
|
+
"wattHour",
|
|
123
|
+
"kiloWattHour",
|
|
124
|
+
"megaWattHour",
|
|
125
|
+
"gigaWattHour",
|
|
126
|
+
"calorie",
|
|
127
|
+
"kiloCalorie",
|
|
128
|
+
"megaCalorie",
|
|
129
|
+
];
|