MCPcopy Create free account
hub / github.com/evcc-io/evcc / GetMaxCurrent

Method GetMaxCurrent

core/loadpoint_api.go:750–754  ·  view source on GitHub ↗

GetMaxCurrent returns the max loadpoint current

()

Source from the content-addressed store, hash-verified

748
749// GetMaxCurrent returns the max loadpoint current
750func (lp *Loadpoint) GetMaxCurrent() float64 {
751 lp.RLock()
752 defer lp.RUnlock()
753 return lp.getMaxCurrent()
754}
755
756// getMaxCurrent returns the max loadpoint current
757func (lp *Loadpoint) getMaxCurrent() float64 {

Callers 1

PrepareMethod · 0.95

Calls 3

RLockMethod · 0.95
RUnlockMethod · 0.95
getMaxCurrentMethod · 0.95

Tested by

no test coverage detected