添加状态

This commit is contained in:
hm
2020-10-10 20:22:04 +08:00
parent 5d6776240b
commit 68387c8905
12 changed files with 446 additions and 1049 deletions
+41 -51
View File
@@ -17,16 +17,6 @@ StatusUI::StatusUI(QWidget *parent) :
setColor(ui->checkBox_1,state::success);
setColor(ui->checkBox_2,state::success);
setColor(ui->checkBox_3,state::success);
setColor(ui->checkBox_4,state::success);
setColor(ui->checkBox_5,state::success);
setColor(ui->checkBox_6,state::success);
}
StatusUI::~StatusUI()
@@ -52,45 +42,45 @@ void StatusUI::setHealthState(mavlink_sys_status_t *t)
{
uint32_t health = t->onboard_control_sensors_health;
setColor(ui->checkBox_1,((health & 0x0040) > 0)?(((health & 0x0001) > 0)?(state::success):(state::warning)):(state::failure));
setColor(ui->checkBox_2,((health & 0x0080) > 0)?(((health & 0x0002) > 0)?(state::success):(state::warning)):(state::failure));
setColor(ui->checkBox_3,((health & 0x0100) > 0)?(((health & 0x0004) > 0)?(state::success):(state::warning)):(state::failure));
setColor(ui->checkBox_4,((health & 0x0200) > 0)?(((health & 0x0008) > 0)?(state::success):(state::warning)):(state::failure));
setColor(ui->checkBox_5,((health & 0x0400) > 0)?(((health & 0x0010) > 0)?(state::success):(state::warning)):(state::failure));
setColor(ui->checkBox_6,((health & 0x0800) > 0)?(((health & 0x0020) > 0)?(state::success):(state::warning)):(state::failure));
//setColor(ui->checkBox_1,((health & 0x0040) > 0)?(((health & 0x0001) > 0)?(state::success):(state::warning)):(state::failure));
//setColor(ui->checkBox_2,((health & 0x0080) > 0)?(((health & 0x0002) > 0)?(state::success):(state::warning)):(state::failure));
//setColor(ui->checkBox_3,((health & 0x0100) > 0)?(((health & 0x0004) > 0)?(state::success):(state::warning)):(state::failure));
//setColor(ui->checkBox_4,((health & 0x0200) > 0)?(((health & 0x0008) > 0)?(state::success):(state::warning)):(state::failure));
//setColor(ui->checkBox_5,((health & 0x0400) > 0)?(((health & 0x0010) > 0)?(state::success):(state::warning)):(state::failure));
//setColor(ui->checkBox_6,((health & 0x0800) > 0)?(((health & 0x0020) > 0)?(state::success):(state::warning)):(state::failure));
}
void StatusUI::setAttitude(mavlink_attitude_t *t)
{
ui->label_atteck_real->setText(QString::number(0));
ui->label_atteck_meas->setText(QString::number(0));
ui->label_atteck_real->setText(QString::number(0,'f',1));
ui->label_atteck_meas->setText(QString::number(0,'f',1));
ui->label_pitch_real->setText(QString::number(t->pitch));
ui->label_pitch_meas->setText(QString::number(t->pitch));
ui->label_pitch_real->setText(QString::number(t->pitch,'f',1));
ui->label_pitch_meas->setText(QString::number(t->pitch,'f',1));
ui->label_roll_real->setText(QString::number(t->roll));
ui->label_roll_meas->setText(QString::number(t->roll));
ui->label_roll_real->setText(QString::number(t->roll,'f',1));
ui->label_roll_meas->setText(QString::number(t->roll,'f',1));
//ui->label_heading_real->setText(QString::number(t->));
//ui->label_heading_meas->setText(QString::number(0));
ui->label_heading_real->setText(QString::number(0.1,'f',1));
ui->label_heading_meas->setText(QString::number(0.1,'f',1));
ui->label_dis_real->setText(QString::number(0));
ui->label_dis_meas->setText(QString::number(0));
ui->label_dis_real->setText(QString::number(0,'f',1));
ui->label_dis_meas->setText(QString::number(0,'f',1));
ui->label_alt_real->setText(QString::number(0));
ui->label_alt_meas->setText(QString::number(0));
ui->label_alt_real->setText(QString::number(0,'f',1));
ui->label_alt_meas->setText(QString::number(0,'f',1));
ui->label_as_real->setText(QString::number(0));
ui->label_as_meas->setText(QString::number(0));
ui->label_as_real->setText(QString::number(0,'f',1));
ui->label_as_meas->setText(QString::number(0,'f',1));
ui->label_tas_real->setText(QString::number(0));
ui->label_tas_meas->setText(QString::number(0));
ui->label_tas_real->setText(QString::number(0,'f',1));
ui->label_tas_meas->setText(QString::number(0,'f',1));
ui->label_Ma_real->setText(QString::number(0));
ui->label_Ma_meas->setText(QString::number(0));
ui->label_Ma_real->setText(QString::number(0,'f',1));
ui->label_Ma_meas->setText(QString::number(0,'f',1));
ui->label_rate_real->setText(QString::number(0));
ui->label_rate_meas->setText(QString::number(0));
ui->label_rate_real->setText(QString::number(0,'f',1));
ui->label_rate_meas->setText(QString::number(0,'f',1));
}
void StatusUI::setGPS(mavlink_gps_raw_int_t *t)
@@ -101,32 +91,32 @@ void StatusUI::setGPS(mavlink_gps_raw_int_t *t)
void StatusUI::setServo(mavlink_servo_output_raw_t *t)
{
ui->label_rud_real->setText(QString::number(0));
ui->label_rud_meas->setText(QString::number(0));
ui->label_rud_real->setText(QString::number(0,'f',1));
ui->label_rud_meas->setText(QString::number(0,'f',1));
ui->label_lv_real->setText(QString::number(0));
ui->label_lv_meas->setText(QString::number(0));
ui->label_lv_real->setText(QString::number(0,'f',1));
ui->label_lv_meas->setText(QString::number(0,'f',1));
ui->label_rv_real->setText(QString::number(0));
ui->label_rv_meas->setText(QString::number(0));
ui->label_rv_real->setText(QString::number(0,'f',1));
ui->label_rv_meas->setText(QString::number(0,'f',1));
ui->label_la_real->setText(QString::number(0));
ui->label_la_meas->setText(QString::number(0));
ui->label_la_real->setText(QString::number(0,'f',1));
ui->label_la_meas->setText(QString::number(0,'f',1));
ui->label_ra_real->setText(QString::number(0));
ui->label_ra_meas->setText(QString::number(0));
ui->label_ra_real->setText(QString::number(0,'f',1));
ui->label_ra_meas->setText(QString::number(0,'f',1));
}
void StatusUI::setBattery(mavlink_battery_status_t *t)
{
ui->label_28v->setText(QString::number(0));
ui->label_56v->setText(QString::number(0));
ui->label_28v->setText(QString::number(0,'f',1));
ui->label_56v->setText(QString::number(0,'f',1));
}
void StatusUI::setRPM(mavlink_rpm_t *t)
{
ui->label_thr->setText(QString::number(0));
ui->label_rpm->setText(QString::number(0));
ui->label_temp->setText(QString::number(0));
ui->label_thr->setText(QString::number(0,'f',1));
ui->label_rpm->setText(QString::number(0,'f',1));
ui->label_temp->setText(QString::number(0,'f',1));
}
+29 -64
View File
@@ -6,64 +6,26 @@
<rect>
<x>0</x>
<y>0</y>
<width>346</width>
<height>486</height>
<width>480</width>
<height>489</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>健康状态</string>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="checkBox_1">
<property name="text">
<string>内置惯导</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>SBG</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string>BMU</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QCheckBox" name="checkBox_4">
<property name="text">
<string>ECU</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QCheckBox" name="checkBox_5">
<property name="text">
<string>CCM</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QCheckBox" name="checkBox_6">
<property name="text">
<string>FL</string>
</property>
</widget>
</item>
</layout>
</widget>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout_4">
@@ -603,6 +565,22 @@
</item>
</layout>
</item>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_7">
<property name="title">
<string>告警</string>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<item row="0" column="0">
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<layout class="QGridLayout" name="gridLayout_8">
<item row="2" column="0">
@@ -887,19 +865,6 @@
</item>
</layout>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
-923
View File
@@ -1,923 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>StatusUI</class>
<widget class="QWidget" name="StatusUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>346</width>
<height>486</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>健康状态(颜色文字说明)</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="checkBox_1">
<property name="text">
<string>内置惯导</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>SBG</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string>BMU</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QCheckBox" name="checkBox_4">
<property name="text">
<string>ECU</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QCheckBox" name="checkBox_5">
<property name="text">
<string>CCM</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QCheckBox" name="checkBox_6">
<property name="text">
<string>FL</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>基本状态</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_2">
<property name="text">
<string>实测值</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>指令值</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>攻角[°]</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_atteck_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_atteck_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>俯仰角[°]</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_pitch_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_pitch_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>滚转角[°]</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_roll_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_roll_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>航迹角[°]</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_heading_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_heading_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>侧偏距[m]</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_dis_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLabel" name="label_dis_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>海拔[m]</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="label_alt_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QLabel" name="label_alt_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_24">
<property name="text">
<string>空速[m/s]</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="label_as_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QLabel" name="label_as_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_27">
<property name="text">
<string>真空速[m/s]</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="label_tas_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QLabel" name="label_tas_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_30">
<property name="text">
<string>马赫数[Ma]</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLabel" name="label_Ma_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="9" column="2">
<widget class="QLabel" name="label_Ma_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_33">
<property name="text">
<string>升降速率</string>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QLabel" name="label_rate_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QLabel" name="label_rate_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>舵面指令</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_34">
<property name="text">
<string>方向舵</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_rud_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_rud_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_37">
<property name="text">
<string>左V尾</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_lv_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_lv_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_40">
<property name="text">
<string>右V尾</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_rv_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_rv_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_43">
<property name="text">
<string>左副翼</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_la_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_la_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_46">
<property name="text">
<string>右副翼</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_ra_real">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_ra_meas">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="2" column="1">
<layout class="QGridLayout" name="gridLayout_8">
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string>数据链</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="1" column="1">
<widget class="QLabel" name="label_ssp">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_54">
<property name="text">
<string>信号质量</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_ssr">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_56">
<property name="text">
<string>字节速度</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>电池</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="1" column="0">
<widget class="QLabel" name="label_52">
<property name="text">
<string>机载56V</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_28v">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_50">
<property name="text">
<string>机载28V</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>电流28V</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_56v">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>电流56V</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_16">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_17">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>发动机</string>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="1">
<widget class="QLabel" name="label_thr">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_temp">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_58">
<property name="text">
<string>油门</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_61">
<property name="text">
<string>舱壁温度1</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_rpm">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_8">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_60">
<property name="text">
<string>转速</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>舱壁温度2</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_5">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>剩余油量</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>油箱压力</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_11">
<property name="styleSheet">
<string notr="true">background-color: rgb(189, 189, 189);</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="1" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_7">
<property name="title">
<string>告警</string>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<item row="0" column="0">
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>