energy-flow-control--types-and-enums 1.0.208 → 1.0.210
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 +24 -8
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -122,16 +122,30 @@ export interface IProsumerAndAssignedEquipments {
|
|
|
122
122
|
assignedEquipments: tProsumerEquipment[]
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
interface ILoads {
|
|
126
|
+
totalLoad: number
|
|
127
|
+
totalUncontrollableLoad: number
|
|
128
|
+
totalUncControllableLoad: number
|
|
129
|
+
}
|
|
130
|
+
|
|
125
131
|
export interface IBatteryData {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
power: {
|
|
133
|
+
chargingInW: number
|
|
134
|
+
dischargingInW: number
|
|
135
|
+
}
|
|
136
|
+
capacityInKwh: number
|
|
137
|
+
soc: {
|
|
138
|
+
inKwh: {
|
|
132
139
|
actual: number
|
|
133
|
-
|
|
134
|
-
|
|
140
|
+
min: number
|
|
141
|
+
max: number
|
|
142
|
+
reservedAboveMin: number
|
|
143
|
+
}
|
|
144
|
+
inPercent: {
|
|
145
|
+
actual: number
|
|
146
|
+
min: number
|
|
147
|
+
max: number
|
|
148
|
+
reservedAboveMin: number
|
|
135
149
|
}
|
|
136
150
|
}
|
|
137
151
|
}
|
|
@@ -298,6 +312,8 @@ export interface ILedger extends ITimeTravelProps {
|
|
|
298
312
|
invoiceId: number | null
|
|
299
313
|
|
|
300
314
|
bookingDate: Date
|
|
315
|
+
serviceEnd: Date
|
|
316
|
+
|
|
301
317
|
debit: number | null
|
|
302
318
|
credit: number | null
|
|
303
319
|
comment: string | null
|