Unify charge start/stop interfaces (#3002)
This commit is contained in:
parent
ed980c5656
commit
58d4dd5cf8
12 changed files with 47 additions and 187 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue