if (button.tag>=1 && button.tag<=10)
{
GGBall *ball = ballArray[button.tag-1];
ball.selected = YES;
ball.Bypass = !ball.Bypass;
firstSlider.value = (float)ball.Fc;
textFieldBelowFrequency.text =[NSString stringWithFormat:@"%d",(unsigned int)ball.Fc];//fccccccc
thirdSlider.value = ball.gain;
textFieldBelowGain.text =[NSString stringWithFormat:@"%.1f",ball.gain];//作用同上
[self showQandGain];
[self sendData:ball];
}
随便放的一段代码,试验一下,看是否好用。
第一篇博客,呵呵~~~
最新推荐文章于 2023-10-11 19:24:40 发布