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

Method GetLimitEnergy

core/loadpoint_api.go:319–323  ·  view source on GitHub ↗

GetLimitEnergy returns the session limit energy

()

Source from the content-addressed store, hash-verified

317
318// GetLimitEnergy returns the session limit energy
319func (lp *Loadpoint) GetLimitEnergy() float64 {
320 lp.RLock()
321 defer lp.RUnlock()
322 return lp.getLimitEnergy()
323}
324
325// getLimitEnergy returns the session limit energy
326func (lp *Loadpoint) getLimitEnergy() float64 {

Callers

nothing calls this directly

Calls 3

RLockMethod · 0.95
RUnlockMethod · 0.95
getLimitEnergyMethod · 0.95

Tested by

no test coverage detected