// SetMaxCurrent returns the max loadpoint current
SetMaxCurrent returns the max loadpoint current
// SetMaxCurrent returns the max loadpoint current
func (lp *LoadPoint) SetMaxCurrent(current float64) {
	lp.Lock()
	defer lp.Unlock()
	lp.log.DEBUG.Println("set max current:", current)
	if current != lp.MaxCurrent {
		lp.MaxCurrent = current
		lp.publish("maxCurrent", lp.MaxCurrent)
	}
}
func ( lp * LoadPoint ) SetMaxCurrent ( current float64 ) { lp . Lock ( ) defer lp . Unlock ( ) lp . log . DEBUG . Println ( " " , current ) if current != lp . MaxCurrent { lp . MaxCurrent = current lp . publish ( " " , lp . MaxCurrent ) } }
SetMaxCurrent returns the max loadpoint current
SetMaxCurrent returns the max loadpoint current