kb3定
This commit is contained in:
@@ -175,7 +175,7 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
case 1:
|
||||
ui->label_1_Atteck->setText(value1.toString());
|
||||
|
||||
if(qAbs(value1.toFloat()) >= 40)
|
||||
if(qAbs(value1.toFloat()) >= 20)
|
||||
{
|
||||
setColor(ui->label_1_Atteck,state::failure);
|
||||
}
|
||||
@@ -188,7 +188,7 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
case 2:
|
||||
ui->label_1_Slide->setText(value1.toString());
|
||||
|
||||
if(qAbs(value1.toFloat()) >= 40)
|
||||
if(qAbs(value1.toFloat()) >= 20)
|
||||
{
|
||||
setColor(ui->label_1_Slide,state::failure);
|
||||
}
|
||||
@@ -202,7 +202,7 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
ui->label_1_rol->setText(value1.toString());
|
||||
ui->label_2_rol->setText(value2.toString());
|
||||
|
||||
if(qAbs(value1.toFloat()) >= 60)
|
||||
if(qAbs(value1.toFloat()) >= 45)
|
||||
{
|
||||
setColor(ui->label_1_rol,state::failure);
|
||||
}
|
||||
@@ -217,7 +217,7 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
ui->label_1_pit->setText(value1.toString());
|
||||
ui->label_2_pit->setText(value2.toString());
|
||||
|
||||
if(qAbs(value1.toFloat()) >= 40)
|
||||
if(qAbs(value1.toFloat()) >= 25)
|
||||
{
|
||||
setColor(ui->label_1_pit,state::failure);
|
||||
}
|
||||
@@ -282,7 +282,7 @@ void StatusUI::setState(uint32_t pos, QVariant value1, QVariant value2)
|
||||
case 11:
|
||||
ui->label_1_rate->setText(value1.toString());
|
||||
|
||||
if(value1.toFloat() <= -70)
|
||||
if(value1.toFloat() <= -50)
|
||||
{
|
||||
setColor(ui->label_1_rate,state::failure);
|
||||
}
|
||||
@@ -335,7 +335,7 @@ void StatusUI::setEngine(uint32_t pos,QVariant value1,QVariant value2)
|
||||
ui->label_thr->setValue(value1.toInt());
|
||||
ui->label_rpm->setText(value2.toString());
|
||||
|
||||
if(qAbs(value2.toFloat()) >= 46000)
|
||||
if(qAbs(value2.toFloat()) >= 46100)
|
||||
{
|
||||
setColor(ui->label_rpm,state::failure);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user