Add charger authorization api (#15399)
This commit is contained in:
parent
208f113346
commit
5cf124af50
14 changed files with 1733 additions and 71 deletions
|
|
@ -49,6 +49,10 @@ type ChargeState interface {
|
|||
Status() (ChargeStatus, error)
|
||||
}
|
||||
|
||||
type StatusReasoner interface {
|
||||
StatusReason() (Reason, error)
|
||||
}
|
||||
|
||||
// CurrentController provides settings charging maximum charging current
|
||||
type CurrentController interface {
|
||||
MaxCurrent(current int64) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue