repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: ensure charging station uid is stable between firmware update
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
MeterValues.ts
diff --git
a/src/types/ocpp/MeterValues.ts
b/src/types/ocpp/MeterValues.ts
index 1022c9fbbce8a5d8c62a1f13b4f49f59e19a8d86..10b8323df4fefac9eab9bf9719657562ccfe1389 100644
(file)
--- a/
src/types/ocpp/MeterValues.ts
+++ b/
src/types/ocpp/MeterValues.ts
@@
-1,10
+1,19
@@
-import { OCPP16MeterValue, OCPP16MeterValueMeasurand, OCPP16SampledValue } from './1.6/MeterValues';
+import {
+ type OCPP16MeterValue,
+ OCPP16MeterValueMeasurand,
+ OCPP16MeterValuePhase,
+ type OCPP16SampledValue,
+} from '../internal';
+export const MeterValueMeasurand = {
+ ...OCPP16MeterValueMeasurand,
+} as const;
export type MeterValueMeasurand = OCPP16MeterValueMeasurand;
export type MeterValueMeasurand = OCPP16MeterValueMeasurand;
-export const MeterValueMeasurand = {
- ...OCPP16MeterValueMeasurand
-};
+export const MeterValuePhase = {
+ ...OCPP16MeterValuePhase,
+} as const;
+export type MeterValuePhase = OCPP16MeterValuePhase;
export type SampledValue = OCPP16SampledValue;
export type SampledValue = OCPP16SampledValue;