修改多项式
This commit is contained in:
@@ -166,7 +166,7 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
case 11:
|
||||
ui->label_1_rate->setText(value1.toString());
|
||||
|
||||
if(value1.toFloat() <= -10)
|
||||
if(value1.toFloat() <= -30)
|
||||
{
|
||||
// setColor(ui->label_1_rate,state::failure);
|
||||
}
|
||||
@@ -175,6 +175,12 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
// setColor(ui->label_1_rate,state::inital);
|
||||
}
|
||||
|
||||
break;
|
||||
case 12:
|
||||
ui->label_gps_dir->setText(value1.toString());
|
||||
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user