Custom vehicle: add charge controller (#13119)
This commit is contained in:
parent
6f8d0b8a89
commit
a5c7b9fd64
18 changed files with 1684 additions and 259 deletions
|
|
@ -162,10 +162,9 @@ type SocLimiter interface {
|
|||
TargetSoc() (float64, error)
|
||||
}
|
||||
|
||||
// VehicleChargeController allows to start/stop the charging session on the vehicle side
|
||||
type VehicleChargeController interface {
|
||||
StartCharge() error
|
||||
StopCharge() error
|
||||
// ChargeController allows to start/stop the charging session on the vehicle side
|
||||
type ChargeController interface {
|
||||
ChargeEnable(bool) error
|
||||
}
|
||||
|
||||
// Resurrector provides wakeup calls to the vehicle with an API call or a CP interrupt from the charger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue