完善KB3
This commit is contained in:
@@ -378,7 +378,7 @@ void StatusUI::setEngine(uint32_t pos,QVariant value1,QVariant value2)
|
||||
case 4:
|
||||
ui->label_temp_up->setText(value1.toString());
|
||||
|
||||
if(qAbs(value1.toFloat()) >= 150)
|
||||
if(qAbs(value1.toFloat()) >= 130)
|
||||
{
|
||||
setColor(ui->label_temp_up,state::failure);
|
||||
}
|
||||
@@ -389,7 +389,7 @@ void StatusUI::setEngine(uint32_t pos,QVariant value1,QVariant value2)
|
||||
|
||||
ui->label_temp_right->setText(value2.toString());
|
||||
|
||||
if(qAbs(value2.toFloat()) >= 150)
|
||||
if(qAbs(value2.toFloat()) >= 130)
|
||||
{
|
||||
setColor(ui->label_temp_right,state::failure);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user