func CurrentTargetSoCHandler(loadpoint core.LoadPointAPI) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		res := targetSoCJSON{TargetSoC: loadpoint.GetTargetSoC()}
		jsonResponse(w, r, res)
	}
}
// CurrentTargetSoCHandler returns current target soc
CurrentTargetSoCHandler returns current target soc
// CurrentTargetSoCHandler returns current target soc
func CurrentTargetSoCHandler(loadpoint core.LoadPointAPI) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		res := targetSoCJSON{TargetSoC: loadpoint.GetTargetSoC()}
		jsonResponse(w, r, res)
	}
}
func CurrentTargetSoCHandler ( loadpoint core . LoadPointAPI ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { res := targetSoCJSON { TargetSoC : loadpoint . GetTargetSoC ( ) } jsonResponse ( w , r , res ) } }
CurrentTargetSoCHandler returns current target soc
CurrentTargetSoCHandler returns current target soc