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

Method evVehicleSocProgressHandler

core/loadpoint.go:633–637  ·  view source on GitHub ↗

evVehicleSocProgressHandler sends external start event

(soc float64)

Source from the content-addressed store, hash-verified

631
632// evVehicleSocProgressHandler sends external start event
633func (lp *Loadpoint) evVehicleSocProgressHandler(soc float64) {
634 if lp.progress.NextStep(soc) {
635 lp.pushEvent(evVehicleSoc)
636 }
637}
638
639// evChargeCurrentHandler publishes the offered current
640func (lp *Loadpoint) evChargeCurrentHandler(current float64) {

Callers

nothing calls this directly

Calls 2

pushEventMethod · 0.95
NextStepMethod · 0.80

Tested by

no test coverage detected