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

Method GetSmartCostLimit

core/loadpoint_api.go:877–881  ·  view source on GitHub ↗

GetSmartCostLimit gets the smart cost limit

()

Source from the content-addressed store, hash-verified

875
876// GetSmartCostLimit gets the smart cost limit
877func (lp *Loadpoint) GetSmartCostLimit() *float64 {
878 lp.RLock()
879 defer lp.RUnlock()
880 return lp.smartCostLimit
881}
882
883// SetSmartCostLimit sets the smart cost limit
884func (lp *Loadpoint) SetSmartCostLimit(val *float64) {

Callers 2

UpdateMethod · 0.95

Calls 2

RLockMethod · 0.95
RUnlockMethod · 0.95

Tested by

no test coverage detected