ChargingStop class
The options to specify a user-planned charging stop.
Note:
In order to specify this ChargingStop, it is also required to set
sdk.routing.BatterySpecifications.total_capacity_in_kilowatt_hours, sdk.routing.BatterySpecifications.initial_charge_in_kilowatt_hours,
and BatterySpecifications.chargingCurve.
Without all of them, the route calculation will fail as an invalid parameter error.
Constructors
- ChargingStop(double powerInKilowatts, double currentInAmperes, double voltageInVolts, ChargingSupplyType? supplyType, Duration? minDuration, Duration? maxDuration)
- Creates a new instance.
- ChargingStop.withDefaults()
- Creates a new instance.
Properties
- currentInAmperes ↔ double
-
The value of rated current of the connector (in A).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- maxDuration ↔ Duration?
-
The maximum duration the user plans to charge at the station,
including BatterySpecifications.chargingSetupDuration.
Note:
At least one of
min_durationandmax_durationis required for a user-planned charging stop. For most use cases, providing at leastmin_durationis recommended.getter/setter pair - minDuration ↔ Duration?
-
The minimum duration the user expects to charge at the station,
including BatterySpecifications.chargingSetupDuration.
Note:
At least one of
min_durationandmax_durationis required for a user-planned charging stop. For most use cases, providing at leastmin_durationis recommended.getter/setter pair - powerInKilowatts ↔ double
-
The value of rated power of the connector (in kW).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supplyType ↔ ChargingSupplyType?
-
Supply type of the suggested connector.
getter/setter pair
- voltageInVolts ↔ double
-
The value of rated voltage of the connector (in V).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.