Unify charge start/stop interfaces (#3002)

This commit is contained in:
andig 2022-03-25 18:04:44 +01:00
parent ed980c5656
commit 58d4dd5cf8
12 changed files with 47 additions and 187 deletions

View file

@ -173,13 +173,9 @@ type VehiclePosition interface {
Position() (float64, float64, error)
}
// VehicleStartCharge starts the charging session on the vehicle side
type VehicleStartCharge interface {
// VehicleChargeController allows to start/stop the charging session on the vehicle side
type VehicleChargeController interface {
StartCharge() error
}
// VehicleStopCharge stops the charging session on the vehicle side
type VehicleStopCharge interface {
StopCharge() error
}