// currents implements the api.MeterCurrrents interface
currents implements the api.MeterCurrrents interface
// currents implements the api . MeterCurrrents interface
func (wb *Warp) currents() (float64, float64, float64, error) {
	var res []float64
	s, err := wb.meterDetailsG()
	if err == nil {
		if err = json.Unmarshal([]byte(s), &res); err == nil {
			if len(res) > 5 {
				return res[3], res[4], res[5], nil
			}
			err = errors.New("invalid length")
		}
	}
	return 0, 0, 0, err
}
func ( wb * Warp ) currents ( ) ( float64 , float64 , float64 , error ) { var res [ ] float64 s , err := wb . meterDetailsG ( ) if err == nil { if err = json . Unmarshal ( [ ] byte ( s ) , & res ) ; err == nil { if len ( res ) > 5 { return res [ 3 ] , res [ 4 ] , res [ 5 ] , nil } err = errors . New ( " " ) } } return 0 , 0 , 0 , err }
currents implements the api.MeterCurrrents interface
currents implements the api . MeterCurrrents interface