X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fcomponents%2Factions%2FAddChargingStations.vue;h=a0661a08d083060058d8546bdebcec9e77a860f7;hb=2610da71b813ad94e1a2a48755d5689da53b41fa;hp=ebcef5ed8eca0a6d623668d772f2d00285059e34;hpb=d18fc1e3f7c1c8490a1c328890d03d83218dec64;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/components/actions/AddChargingStations.vue b/ui/web/src/components/actions/AddChargingStations.vue index ebcef5ed..a0661a08 100644 --- a/ui/web/src/components/actions/AddChargingStations.vue +++ b/ui/web/src/components/actions/AddChargingStations.vue @@ -1,9 +1,16 @@ - Action Add Charging Stations + Action + Add Charging Stations Template: - + Please select a template - + {{ template }} @@ -16,12 +23,63 @@ name="number-of-stations" placeholder="number of stations" /> + Template options overrides: + + + Supervision url: + + + + Auto start: + + + + Persistent configuration: + + + + OCPP strict compliance: + + + + Performance statistics: + + + { uiClient - .addChargingStations(state.template, state.numberOfStations) + .addChargingStations(state.template, state.numberOfStations, { + supervisionUrls: state.supervisionUrl.length > 0 ? state.supervisionUrl : undefined, + autoStart: convertToBoolean(state.autoStart), + persistentConfiguration: convertToBoolean(state.persistentConfiguration), + ocppStrictCompliance: convertToBoolean(state.ocppStrictCompliance), + enableStatistics: convertToBoolean(state.enableStatistics) + }) .then(() => { $toast.success('Charging stations successfully added') }) @@ -34,44 +92,31 @@ }) } " - >Add Charging Stations - Cancel + Add Charging Stations +
Template:
Template options overrides: