航线属性修改,添加地面站ID

This commit is contained in:
hm
2020-11-21 18:19:28 +08:00
parent a41f3e3060
commit 4254a1f256
43 changed files with 2531 additions and 1512 deletions
+16 -1
View File
@@ -279,8 +279,11 @@ void PowerSystem::setTurbineState(mavlink_turbinestate_t *t)
setValue(ui->label_Wf_Def,QString::number(t->rev,'f',0));
//setValue()
//setValue(ui->label_Tbak,QString::number(t->Tbak,'f',1));
setValue(ui->label_RPM_bak,QString::number(t->RPM_bak,'f',1));
//setValue(ui->label_RPM_bak,QString::number(t->RPM_bak,'f',1));
//setValue(ui->label_IOState,QString::number(t->IOState,'f',1));
//setValue(ui->label_SysState,QString::number(t->SysState,'f',1));
//setValue(ui->label_Fault,QString::number(t->Fault,'f',1));
@@ -342,6 +345,13 @@ void PowerSystem::setCCMState(mavlink_ccmstate_t *t)
}
void PowerSystem::setFuel(QVariant press, QVariant value)
{
setValue(ui->label_fuelpress,press.toString());
setValue(ui->label_fuelvalue,value.toString());
}
void PowerSystem::setMa(QVariant Ma)
{
@@ -352,3 +362,8 @@ void PowerSystem::setAlt(QVariant Alt)
{
ScopeAlt->setSerieData(tr("海拔"),Alt);
}