去除复飞状态
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#ifndef HEALTHUI_H
|
||||
#ifndef HEALTHUI_H
|
||||
#define HEALTHUI_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
@@ -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
@@ -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)?("使用模型油量"):("使用采集油量"));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user