Persist phases/min/max current (BC) (#11571)
This commit is contained in:
parent
91592bbd26
commit
648fe0cfdf
38 changed files with 216 additions and 271 deletions
|
|
@ -35,11 +35,11 @@ type API interface {
|
|||
// GetMinCurrent returns the min charging current
|
||||
GetMinCurrent() float64
|
||||
// SetMinCurrent sets the min charging current
|
||||
SetMinCurrent(float64)
|
||||
SetMinCurrent(float64) error
|
||||
// GetMaxCurrent returns the max charging current
|
||||
GetMaxCurrent() float64
|
||||
// SetMaxCurrent sets the max charging current
|
||||
SetMaxCurrent(float64)
|
||||
SetMaxCurrent(float64) error
|
||||
|
||||
// GetMode returns the charge mode
|
||||
GetMode() api.ChargeMode
|
||||
|
|
|
|||
|
|
@ -480,9 +480,11 @@ func (mr *MockAPIMockRecorder) SetLimitSoc(arg0 any) *gomock.Call {
|
|||
}
|
||||
|
||||
// SetMaxCurrent mocks base method.
|
||||
func (m *MockAPI) SetMaxCurrent(arg0 float64) {
|
||||
func (m *MockAPI) SetMaxCurrent(arg0 float64) error {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "SetMaxCurrent", arg0)
|
||||
ret := m.ctrl.Call(m, "SetMaxCurrent", arg0)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// SetMaxCurrent indicates an expected call of SetMaxCurrent.
|
||||
|
|
@ -492,9 +494,11 @@ func (mr *MockAPIMockRecorder) SetMaxCurrent(arg0 any) *gomock.Call {
|
|||
}
|
||||
|
||||
// SetMinCurrent mocks base method.
|
||||
func (m *MockAPI) SetMinCurrent(arg0 float64) {
|
||||
func (m *MockAPI) SetMinCurrent(arg0 float64) error {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "SetMinCurrent", arg0)
|
||||
ret := m.ctrl.Call(m, "SetMinCurrent", arg0)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// SetMinCurrent indicates an expected call of SetMinCurrent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue