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

Method GetPriority

core/loadpoint_api.go:225–229  ·  view source on GitHub ↗

GetPriority returns the loadpoint priority

()

Source from the content-addressed store, hash-verified

223
224// GetPriority returns the loadpoint priority
225func (lp *Loadpoint) GetPriority() int {
226 lp.RLock()
227 defer lp.RUnlock()
228 return lp.priority
229}
230
231// setPriority sets the loadpoint priority (no mutex)
232func (lp *Loadpoint) setPriority(prio int) {

Callers 2

PrepareMethod · 0.95
EffectivePriorityMethod · 0.95

Calls 2

RLockMethod · 0.95
RUnlockMethod · 0.95

Tested by

no test coverage detected