chore: api structure
This commit is contained in:
parent
24ecaf7790
commit
753a4da076
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,6 @@ type Controller interface {
|
|||
type API interface {
|
||||
// Name returns the defined loadpoint name
|
||||
Name() string
|
||||
// HasChargeMeter determines if a physical charge meter is attached
|
||||
HasChargeMeter() bool
|
||||
|
||||
//
|
||||
// status
|
||||
|
|
@ -55,6 +53,8 @@ type API interface {
|
|||
// power and energy
|
||||
//
|
||||
|
||||
// HasChargeMeter determines if a physical charge meter is attached
|
||||
HasChargeMeter() bool
|
||||
// GetChargePower returns the current charging power
|
||||
GetChargePower() float64
|
||||
// GetMinCurrent returns the min charging current
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue