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

Method EffectivePlanId

core/loadpoint_effective.go:123–127  ·  view source on GitHub ↗

EffectivePlanId returns the id for the current plan

()

Source from the content-addressed store, hash-verified

121
122// EffectivePlanId returns the id for the current plan
123func (lp *Loadpoint) EffectivePlanId() int {
124 lp.RLock()
125 defer lp.RUnlock()
126 return lp.getPlanId()
127}
128
129// EffectivePlanTime returns the effective plan time
130func (lp *Loadpoint) EffectivePlanTime() time.Time {

Callers 1

Calls 3

RLockMethod · 0.95
RUnlockMethod · 0.95
getPlanIdMethod · 0.95

Tested by

no test coverage detected