去除复飞状态

This commit is contained in:
2024-01-19 14:32:32 +08:00
parent 4baa0f6929
commit a63e4a8d10
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#ifndef HEALTHUI_H
#ifndef HEALTHUI_H
#define HEALTHUI_H
#include <QWidget>
+3 -3
View File
@@ -277,9 +277,9 @@ StatusUI::StatusUI(QWidget *parent) :
QMap<QVariant, StateWidget::state>{{"在安控区内",StateWidget::state::green},
{"超出安控区",StateWidget::state::red}});
install(statu3,0,"复飞状态",0,
QMap<QVariant, StateWidget::state>{{"不复飞",StateWidget::state::green},
{"复飞",StateWidget::state::red}});
// install(statu3,0,"复飞状态",0,
// QMap<QVariant, StateWidget::state>{{"不复飞",StateWidget::state::green},
// {"复飞",StateWidget::state::red}});
+1 -1
View File
@@ -2066,7 +2066,7 @@ void MainWindow::updateVehicle(MavLinkNode::_vehicle vehicle)//事件驱动式
statusui->setValue(1,2,3,getBit(health,3)?("使用SBG"):("使用320"));//导航源
statusui->setValue(1,3,0,getBit(health,9)?("在安控区内"):("超出安控区"));
statusui->setValue(1,3,1,getBit(health,10)?("复飞"):("不复飞"));
// statusui->setValue(1,3,1,getBit(health,10)?("复飞"):("不复飞"));
statusui->setValue(0,2,10,getBit(health,11)?("使用模型油量"):("使用采集油量"));
}