energy-flow-control--types-and-enums 1.0.273 → 1.0.274
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/package.json +1 -1
- package/src/types/index.d.ts +9 -1
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -741,7 +741,7 @@ export interface IMetric {
|
|
|
741
741
|
label: string
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
interface IMetricReading {
|
|
744
|
+
export interface IMetricReading {
|
|
745
745
|
id: number
|
|
746
746
|
metricId: number
|
|
747
747
|
unit: EnumUnit,
|
|
@@ -750,6 +750,14 @@ interface IMetricReading {
|
|
|
750
750
|
value: number
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
+
export interface IMetricReadingValue {
|
|
754
|
+
pos: number
|
|
755
|
+
metricId: number
|
|
756
|
+
datetime: Date
|
|
757
|
+
unit: EnumUnit,
|
|
758
|
+
value: number
|
|
759
|
+
}
|
|
760
|
+
|
|
753
761
|
export interface IEnergyMeterData {
|
|
754
762
|
inboundMeterReadingAtStartOfPeriod: number
|
|
755
763
|
inboundMeterReadingAtEndOfPeriod: number
|