X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FMeasurandPerPhaseSampledValueTemplates.ts;h=73df20be9f1a8bf27dd1091aeb76a615fadbda0f;hb=c3da35d496cbb2c78e85fb3d2e125ffd6fd297f4;hp=c78d9ebdd4591e414a8c945829fd08341cd88a91;hpb=6ce0bca57a96ef920df4e0786d8f28b0b89a36ef;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/MeasurandPerPhaseSampledValueTemplates.ts b/src/types/MeasurandPerPhaseSampledValueTemplates.ts index c78d9ebd..73df20be 100644 --- a/src/types/MeasurandPerPhaseSampledValueTemplates.ts +++ b/src/types/MeasurandPerPhaseSampledValueTemplates.ts @@ -1,7 +1,12 @@ -import { SampledValueTemplate } from './Connectors'; +import type { SampledValue } from './ocpp/MeterValues'; -export default interface MeasurandPerPhaseSampledValueTemplates { +export type SampledValueTemplate = SampledValue & { + fluctuationPercent?: number; + minimumValue?: number; +}; + +export type MeasurandPerPhaseSampledValueTemplates = { L1?: SampledValueTemplate; L2?: SampledValueTemplate; L3?: SampledValueTemplate; -} +};