修正解码错误

This commit is contained in:
hm
2022-06-16 16:08:18 +08:00
parent bd28fe54b9
commit f4124ebd1f
13 changed files with 1999 additions and 45 deletions
+290 -13
View File
@@ -17,6 +17,109 @@ ECU::ECU(QWidget *parent) :
setWindowTitle(tr("ECU"));
//eadc
setColor(ui->labHeatMode,state::success);
setColor(ui->labHeatStatus,state::success);
setColor(ui->labPsi,state::success);
setColor(ui->labPs,state::success);
setColor(ui->labQci,state::success);
setColor(ui->labQc,state::success);
setColor(ui->labHp,state::success);
setColor(ui->labHpr,state::success);
setColor(ui->labTs,state::success);
setColor(ui->labTt,state::success);
setColor(ui->labMi,state::success);
setColor(ui->labVi,state::success);
setColor(ui->labVt,state::success);
setColor(ui->labAdr,state::success);
setColor(ui->labAoai1,state::success);
setColor(ui->labAoai2,state::success);
setColor(ui->labAoat1,state::success);
setColor(ui->labAoat2,state::success);
setColor(ui->labAosi1,state::success);
setColor(ui->labAosi2,state::success);
setColor(ui->labAost1,state::success);
setColor(ui->labAost2,state::success);
setColor(ui->labCoffpressK0,state::success);
setColor(ui->labCoffpressK1,state::success);
setColor(ui->labCoffpressK2,state::success);
setColor(ui->labCoffpressK3,state::success);
setColor(ui->labCoffAngleK0,state::success);
setColor(ui->labCoffAngleK1,state::success);
setColor(ui->labCoffAngleK2,state::success);
setColor(ui->labCoffAngleK3,state::success);
//故障字
setColor(ui->psFault,state::inital);
setColor(ui->qcFau,state::inital);
setColor(ui->tsFau,state::inital);
setColor(ui->aoa1Fau,state::inital);
setColor(ui->aoa2Fau,state::inital);
setColor(ui->aos1Fau,state::inital);
setColor(ui->aos2Fau,state::inital);
setColor(ui->heatFau,state::inital);
setColor(ui->exStorageFau,state::inital);
setColor(ui->aoaDiffFau,state::inital);
setColor(ui->aosDiffFau,state::inital);
setColor(ui->qcZeroFau,state::inital);
setColor(ui->overTempFau,state::inital);
setColor(ui->systemFau,state::inital);
//数据有效性
setColor(ui->psi,state::inital);
setColor(ui->ps,state::inital);
setColor(ui->qci,state::inital);
setColor(ui->qc,state::inital);
setColor(ui->hp,state::inital);
setColor(ui->hpr,state::inital);
setColor(ui->ts,state::inital);
setColor(ui->tt,state::inital);
setColor(ui->mi,state::inital);
setColor(ui->vi,state::inital);
setColor(ui->vt,state::inital);
setColor(ui->adr,state::inital);
setColor(ui->aoai1,state::inital);
setColor(ui->aoai2,state::inital);
setColor(ui->aoat1,state::inital);
setColor(ui->aoat2,state::inital);
setColor(ui->aosi1,state::inital);
setColor(ui->aosi2,state::inital);
setColor(ui->aost1,state::inital);
setColor(ui->aost2,state::inital);
//ecu
setColor(ui->labRMP,state::success);
setColor(ui->labT1,state::success);
setColor(ui->labT5,state::success);
setColor(ui->labP2,state::success);
setColor(ui->labServoCurrent,state::success);
setColor(ui->labOilLow,state::success);
setColor(ui->labP2High,state::success);
setColor(ui->labStates,state::success);
//sspc
setColor(ui->labBusVoltage,state::success);
setColor(ui->labBatteryVoltage,state::success);
setColor(ui->labBatteryCurrent,state::success);
setColor(ui->labMainVoltage,state::success);
setColor(ui->labMainCurrent,state::success);
setColor(ui->labCurrentCh1,state::success);
setColor(ui->labCurrentCh2,state::success);
setColor(ui->labCurrentCh3,state::success);
setColor(ui->labCurrentCh4,state::success);
setColor(ui->labCurrentCh5,state::success);
setColor(ui->labCurrentCh6,state::success);
setColor(ui->labCurrentCh7,state::success);
setColor(ui->labCurrentCh8,state::success);
setColor(ui->labCurrentCh9,state::success);
setColor(ui->labCurrentCh10,state::success);
setColor(ui->labCurrentCh11,state::success);
setColor(ui->labCurrentCh12,state::success);
setColor(ui->labCurrentCh13,state::success);
}
ECU::~ECU()
@@ -29,29 +132,36 @@ void ECU::recieveData(const int &id, const QByteArray &data)
Parse *parse = new Parse;
connect(this,&ECU::parseData,
parse,&Parse::parseData);
connect(parse,&Parse::INS_Info,
this,&ECU::INS_Info);
if(id == 0)
{
connect(parse,&Parse::INS_Info,
this,&ECU::INS_Info);
connect(parse,&Parse::NAV_Info,
this,&ECU::NAV_Info);
connect(parse,&Parse::NAV_Info,
this,&ECU::NAV_Info);
}
else if(id == 1)
{
connect(parse,&Parse::EADC_Info,
this,&ECU::EADC_Info);
connect(parse,&Parse::EADC_Info,
this,&ECU::EADC_Info);
connect(parse,&Parse::ECU_Info,
this,&ECU::ECU_Info);
connect(parse,&Parse::ECU_Info,
this,&ECU::ECU_Info);
connect(parse,&Parse::SSPC_Info,
this,&ECU::SSPC_Info);
connect(parse,&Parse::SSPC_Info,
this,&ECU::SSPC_Info);
}
QThreadPool::globalInstance()->start(parse);
emit parseData(id,data);
if(id == 1)//ECU只解析第一包
{
emit parseData(id,data);
}
}
@@ -67,17 +177,184 @@ void ECU::NAV_Info(Parse::_nav info)
}
void ECU::EADC_Info(Parse::_eadc info)
{
ui->labHeatMode->setText(info.heatmode);
ui->labHeatStatus->setText(info.heatstatus);
if((info.psi < 15.0) || (info.psi > 110.0))
setColor(ui->labPsi, state::failure);
else
setColor(ui->labPsi, state::success);
ui->labPsi->setText(QString::number(info.psi, 'f', 1) );
if((info.ps < 15.0) || (info.ps > 110.0))
setColor(ui->labPs, state::failure);
else
setColor(ui->labPs, state::success);
ui->labPs->setText(QString::number(info.ps, 'f', 1) );
if((info.qci < 0.0) || (info.qci > 104.0))
setColor(ui->labQci, state::failure);
else
setColor(ui->labQci, state::success);
ui->labQci->setText(QString::number(info.qci, 'f', 1) );
if((info.qc < 0.0) || (info.qc > 104.0))
setColor(ui->labQc, state::failure);
else
setColor(ui->labQc, state::success);
ui->labQc->setText(QString::number(info.qc, 'f', 1) );
if((info.hp < -600.0) || (info.hp > 13000.0))
setColor(ui->labHp, state::failure);
else
setColor(ui->labHp, state::success);
ui->labHp->setText(QString::number(info.hp, 'f', 1) );
if((info.hpr < -300.0) || (info.hpr > 300.0))
setColor(ui->labHpr, state::failure);
else
setColor(ui->labHpr, state::success);
ui->labHpr->setText(QString::number(info.hpr, 'f', 1) );
if((info.ts < -60.0) || (info.ts > 80.0))
setColor(ui->labTs, state::failure);
else
setColor(ui->labTs, state::success);
ui->labTs->setText(QString::number(info.ts, 'f', 1) );
if((info.tt < -60.0) || (info.tt > 350.0))
setColor(ui->labTt, state::failure);
else
setColor(ui->labTt, state::success);
ui->labTt->setText(QString::number(info.tt, 'f', 1) );
if(info.mi > 1.965)
setColor(ui->labMi, state::failure);
else
setColor(ui->labMi, state::success);
ui->labMi->setText(QString::number(info.mi, 'f', 3) );
if(info.vi > 1280.0)
setColor(ui->labVi, state::failure);
else
setColor(ui->labVi, state::success);
ui->labVi->setText(QString::number(info.vi, 'f', 1) );
if(info.vt > 2660.0)
setColor(ui->labVt, state::failure);
else
setColor(ui->labVt, state::success);
ui->labVt->setText(QString::number(info.vt, 'f', 1) );
if((info.adr < 0.182) || info.adr > 1.451)
setColor(ui->labAdr, state::failure);
else
setColor(ui->labAdr, state::success);
ui->labAdr->setText(QString::number(info.adr, 'f', 4) );
ui->labAoai1->setText(QString::number(info.aoai1, 'f', 1) );
ui->labAoai2->setText(QString::number(info.aoai2, 'f', 1) );
ui->labAoat1->setText(QString::number(info.aoat1, 'f', 1) );
ui->labAoat2->setText(QString::number(info.aoat2, 'f', 1) );
ui->labAosi1->setText(QString::number(info.aosi1, 'f', 1) );
ui->labAosi2->setText(QString::number(info.aosi2, 'f', 1) );
ui->labAost1->setText(QString::number(info.aost1, 'f', 1) );
ui->labAost2->setText(QString::number(info.aost2, 'f', 1) );
ui->labCoffpressK0->setText(QString::number(info.coffpress_k0, 'f', 1) );
ui->labCoffpressK1->setText(QString::number(info.coffpress_k1, 'f', 1) );
ui->labCoffpressK2->setText(QString::number(info.coffpress_k2, 'f', 1) );
ui->labCoffpressK3->setText(QString::number(info.coffpress_k3, 'f', 1) );
ui->labCoffAngleK0->setText(QString::number(info.coffangle_k0, 'f', 1) );
ui->labCoffAngleK1->setText(QString::number(info.coffangle_k1, 'f', 1) );
ui->labCoffAngleK2->setText(QString::number(info.coffangle_k2, 'f', 1) );
ui->labCoffAngleK3->setText(QString::number(info.coffangle_k3, 'f', 1) );
//故障字
setColor(ui->psFault,info.faultword.ps ? state::success : state::failure);
setColor(ui->qcFau,info.faultword.qc ? state::success : state::failure);
setColor(ui->tsFau,info.faultword.ts ? state::success : state::failure);
setColor(ui->aoa1Fau,info.faultword.aoa1 ? state::success : state::failure);
setColor(ui->aoa2Fau,info.faultword.aoa2 ? state::success : state::failure);
setColor(ui->aos1Fau,info.faultword.aos1 ? state::success : state::failure);
setColor(ui->aos2Fau,info.faultword.aos2 ? state::success : state::failure);
setColor(ui->heatFau,info.faultword.heat ? state::success : state::failure);
setColor(ui->exStorageFau,info.faultword.ex_storage ? state::success : state::failure);
setColor(ui->aoaDiffFau,info.faultword.aoa_diff ? state::success : state::failure);
setColor(ui->aosDiffFau,info.faultword.aos_diff ? state::success : state::failure);
setColor(ui->qcZeroFau,info.faultword.qc_zero ? state::success : state::failure);
setColor(ui->overTempFau,info.faultword.overtemp ? state::success : state::failure);
setColor(ui->systemFau,info.faultword.system ? state::success : state::failure);
//数据有效性
setColor(ui->psi,info.datavalid.psi ? state::success : state::failure);
setColor(ui->ps,info.datavalid.ps ? state::success : state::failure);
setColor(ui->qci,info.datavalid.qci ? state::success : state::failure);
setColor(ui->qc,info.datavalid.qc ? state::success : state::failure);
setColor(ui->hp,info.datavalid.hp ? state::success : state::failure);
setColor(ui->hpr,info.datavalid.hpr ? state::success : state::failure);
setColor(ui->ts,info.datavalid.ts ? state::success : state::failure);
setColor(ui->tt,info.datavalid.tt ? state::success : state::failure);
setColor(ui->mi,info.datavalid.mi ? state::success : state::failure);
setColor(ui->vi,info.datavalid.mi ? state::success : state::failure);
setColor(ui->vt,info.datavalid.vt ? state::success : state::failure);
setColor(ui->adr,info.datavalid.adr ? state::success : state::failure);
setColor(ui->aoai1,info.datavalid.aoai1 ? state::success : state::failure);
setColor(ui->aoai2,info.datavalid.aoai2 ? state::success : state::failure);
setColor(ui->aoat1,info.datavalid.aoat1 ? state::success : state::failure);
setColor(ui->aoat2,info.datavalid.aoat2 ? state::success : state::failure);
setColor(ui->aosi1,info.datavalid.aosi1 ? state::success : state::failure);
setColor(ui->aosi2,info.datavalid.aosi2 ? state::success : state::failure);
setColor(ui->aost1,info.datavalid.aost1 ? state::success : state::failure);
setColor(ui->aost2,info.datavalid.aost2 ? state::success : state::failure);
}
void ECU::ECU_Info(Parse::_ecu info)
{
ui->labRMP->setText(QString::number(info.rpm, 'f', 0) );
ui->labT1->setText(QString::number(info.t1, 'f', 1) );
if(info.t5 > 900)
setColor(ui->labT5, state::failure);
else
setColor(ui->labT5, state::success);
ui->labT5->setText(QString::number(info.t5, 'f', 2) );
if(info.p2 > 0.28 || info.p2 < 0.15)
setColor(ui->labP2, state::failure);
else
setColor(ui->labP2, state::success);
ui->labP2->setText(QString::number(info.p2, 'f', 2) );
ui->labServoCurrent->setText(QString::number(info.servo_current, 'f', 0) );
ui->labOilLow->setText(info.oil_low);
ui->labP2High->setText(info.p2_high);
ui->labStates->setText(info.states);
}
void ECU::SSPC_Info(Parse::_sspc info)
{
ui->labBusVoltage->setText(QString::number(info.bus_voltage, 'f', 1) );
ui->labBatteryVoltage->setText(QString::number(info.battery_voltage, 'f', 1) );
ui->labBatteryCurrent->setText(QString::number(info.battery_current, 'f', 1) );
ui->labMainVoltage->setText(QString::number(info.main_voltage, 'f', 1) );
ui->labMainCurrent->setText(QString::number(info.main_current, 'f', 1) );
ui->labCurrentCh1->setText(QString::number(info.current_ch1, 'f', 1) );
ui->labCurrentCh2->setText(QString::number(info.current_ch2, 'f', 1) );
ui->labCurrentCh3->setText(QString::number(info.current_ch3, 'f', 1) );
ui->labCurrentCh4->setText(QString::number(info.current_ch4, 'f', 1) );
ui->labCurrentCh5->setText(QString::number(info.current_ch5, 'f', 1) );
ui->labCurrentCh6->setText(QString::number(info.current_ch6, 'f', 1) );
ui->labCurrentCh7->setText(QString::number(info.current_ch7, 'f', 1) );
ui->labCurrentCh8->setText(QString::number(info.current_ch8, 'f', 1) );
ui->labCurrentCh9->setText(QString::number(info.current_ch9, 'f', 1) );
ui->labCurrentCh10->setText(QString::number(info.current_ch10, 'f', 1) );
ui->labCurrentCh11->setText(QString::number(info.current_ch11, 'f', 1) );
ui->labCurrentCh12->setText(QString::number(info.current_ch12, 'f', 1) );
ui->labCurrentCh13->setText(QString::number(info.current_ch13, 'f', 1) );
}
+10 -1
View File
@@ -2,5 +2,14 @@
<qresource prefix="/qss">
<file>ECU.qss</file>
</qresource>
<qresource prefix="/img"/>
<qresource prefix="/img">
<file>fail.png</file>
<file>normal.png</file>
<file>warning.png</file>
<file>inital.png</file>
<file>fail_rect.png</file>
<file>rect_gray.png</file>
<file>success_rect.png</file>
<file>warning_rect.png</file>
</qresource>
</RCC>
+14 -9
View File
@@ -55,15 +55,6 @@
border-image:url(:/img/rect_gray.png);
}
.QComboBox {
background-color: #FFFFFF;
font: 20px "Arial";
}
.QCheckBox{
font: 20px "Arial";
width: 25px;
@@ -83,4 +74,18 @@
image:url(:/img/fail.png);
}
.QCheckBox::indicator[state="2"] {
image:url(:/img/warning.png);
}
.QCheckBox::indicator[state="3"] {
image:url(:/img/inital.png);
}
.QComboBox {
background-color: #FFFFFF;
font: 20px "Arial";
}
+1628 -18
View File
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>519</height>
<width>1022</width>
<height>648</height>
</rect>
</property>
<property name="minimumSize">
@@ -25,22 +25,1632 @@
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QSplitter" name="splitter_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QGroupBox" name="groupSSPC">
<property name="title">
<string>SSPC</string>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>汇流条电压[V]</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>燃油泵及流量计[32A]</string>
</property>
</widget>
</item>
<item row="12" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>温度变换器[1A]</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="labBatteryVoltage">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QLabel" name="labCurrentCh6">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>发动机控制器[2A]</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="labCurrentCh3">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>主电源电流[A]</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="labMainCurrent">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLabel" name="labCurrentCh5">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="14" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>56V电池加温2[10A]</string>
</property>
</widget>
</item>
<item row="13" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>燃油切断阀[1A]</string>
</property>
</widget>
</item>
<item row="17" column="1">
<widget class="QLabel" name="labCurrentCh13">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="QLabel" name="labCurrentCh10">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="13" column="1">
<widget class="QLabel" name="labCurrentCh9">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>28V电池加温[10A]</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labBatteryCurrent">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>主电源电压[V]</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="labCurrentCh2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>蓄电池电流[A]</string>
</property>
</widget>
</item>
<item row="16" column="1">
<widget class="QLabel" name="labCurrentCh12">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="17" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>滑油压力变换器[1A]</string>
</property>
</widget>
</item>
<item row="15" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>垂直舵机[6A]</string>
</property>
</widget>
</item>
<item row="11" column="1">
<widget class="QLabel" name="labCurrentCh7">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>56V电池加温1[10A]</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="labCurrentCh1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>副翼及前起舵机[22A]</string>
</property>
</widget>
</item>
<item row="15" column="1">
<widget class="QLabel" name="labCurrentCh11">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="QLabel" name="labCurrentCh8">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="16" column="0">
<widget class="QLabel" name="label_17">
<property name="text">
<string>56V并网[5A]</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="labMainVoltage">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="labCurrentCh4">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>蓄电池电压[V]</string>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>智能计算机[2A]</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labBusVoltage">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="11" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>空速管加温[2A]</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>ECU</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_41">
<property name="text">
<string>发动机转速[RMP]</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labRMP">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_42">
<property name="text">
<string>发动机进气总温[℃]</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="labT1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_51">
<property name="text">
<string>排气温度[℃]</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labT5">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_52">
<property name="text">
<string>滑油泵出口压力[MPa]</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="labP2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_53">
<property name="text">
<string>伺服阀电流[mA]</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="labServoCurrent">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_54">
<property name="text">
<string>滑油压力低告警</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="labOilLow">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_55">
<property name="text">
<string>排气温度超温告警</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="labP2High">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_56">
<property name="text">
<string>发动机自检结果</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="labStates">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="minimumSize">
<size>
<width>600</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>EADC</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="8" column="3">
<widget class="QLabel" name="labCoffpressK1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_35">
<property name="text">
<string>真攻角1[°]</string>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QLabel" name="labAosi2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="labQci">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QLabel" name="labAosi1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_19">
<property name="text">
<string>加温模式</string>
</property>
</widget>
</item>
<item row="6" column="3">
<widget class="QLabel" name="labAost2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="3">
<widget class="QLabel" name="labCoffpressK3">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_36">
<property name="text">
<string>真攻角2[°]</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_22">
<property name="text">
<string>真实静压[Pa]</string>
</property>
</widget>
</item>
<item row="14" column="2">
<widget class="QLabel" name="label_50">
<property name="text">
<string>攻角侧滑角校准系数K3</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLabel" name="labTt">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="labAoat1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLabel" name="label_39">
<property name="text">
<string>真侧滑角1[°]</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QLabel" name="label_40">
<property name="text">
<string>真侧滑角2[°]</string>
</property>
</widget>
</item>
<item row="14" column="0">
<widget class="QLabel" name="label_33">
<property name="text">
<string>局部攻角1[°]</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="labHp">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_34">
<property name="text">
<string>局部攻角2[°]</string>
</property>
</widget>
</item>
<item row="11" column="0">
<widget class="QLabel" name="label_30">
<property name="text">
<string>指示空速[km/s]</string>
</property>
</widget>
</item>
<item row="13" column="3">
<widget class="QLabel" name="labCoffAngleK2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="labAoai2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_24">
<property name="text">
<string>真实动压[Pa]</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labHeatMode">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QLabel" name="labMi">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>加温状态</string>
</property>
</widget>
</item>
<item row="13" column="0">
<widget class="QLabel" name="label_32">
<property name="text">
<string>大气密度比</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="labQc">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QLabel" name="label_44">
<property name="text">
<string>压力校准系数K1</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="labPs">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="QLabel" name="labAoai1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="9" column="2">
<widget class="QLabel" name="label_45">
<property name="text">
<string>压力校准系数K2</string>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="QLabel" name="labVt">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="3">
<widget class="QLabel" name="labAost1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_26">
<property name="text">
<string>升降速度[m/s]</string>
</property>
</widget>
</item>
<item row="14" column="3">
<widget class="QLabel" name="labCoffAngleK3">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="11" column="3">
<widget class="QLabel" name="labCoffAngleK0">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_23">
<property name="text">
<string>指示动压[Pa]</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>指示静压[Pa]</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labPsi">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_38">
<property name="text">
<string>局部侧滑角[°]</string>
</property>
</widget>
</item>
<item row="9" column="3">
<widget class="QLabel" name="labCoffpressK2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QLabel" name="label_43">
<property name="text">
<string>压力校准系数K0</string>
</property>
</widget>
</item>
<item row="12" column="2">
<widget class="QLabel" name="label_48">
<property name="text">
<string>攻角侧滑角校准系数K1</string>
</property>
</widget>
</item>
<item row="13" column="1">
<widget class="QLabel" name="labAdr">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_25">
<property name="text">
<string>气压高度[m]</string>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_28">
<property name="text">
<string>总温[℃]</string>
</property>
</widget>
</item>
<item row="11" column="2">
<widget class="QLabel" name="label_47">
<property name="text">
<string>攻角侧滑角校准系数K0</string>
</property>
</widget>
</item>
<item row="12" column="3">
<widget class="QLabel" name="labCoffAngleK1">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="labHpr">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="3">
<widget class="QLabel" name="labCoffpressK0">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_37">
<property name="text">
<string>局部侧滑角1[°]</string>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QLabel" name="label_29">
<property name="text">
<string>马赫数</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="labTs">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLabel" name="labAoat2">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="11" column="1">
<widget class="QLabel" name="labVi">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="13" column="2">
<widget class="QLabel" name="label_49">
<property name="text">
<string>攻角侧滑角校准系数K2</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_27">
<property name="text">
<string>静温[℃]</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="labHeatStatus">
<property name="styleSheet">
<string notr="true">QLabel
{
background-color: rgb(204,224,153);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QLabel" name="label_46">
<property name="text">
<string>压力校准系数K3</string>
</property>
</widget>
</item>
<item row="12" column="0">
<widget class="QLabel" name="label_31">
<property name="text">
<string>真空速[km/h]</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>故障字</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QCheckBox" name="overTempFau">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>管头过热故障</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="heatFau">
<property name="text">
<string>加热故障</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="qcZeroFau">
<property name="text">
<string>动压零位过度修正</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="tsFau">
<property name="minimumSize">
<size>
<width>132</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>静温传感器故障</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="aos2Fau">
<property name="text">
<string>侧滑角2故障</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="aosDiffFau">
<property name="minimumSize">
<size>
<width>192</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>双余度侧滑角不跟随故障</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="qcFau">
<property name="text">
<string>动压传感器故障A</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="aos1Fau">
<property name="text">
<string>侧滑角1故障</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QCheckBox" name="aoaDiffFau">
<property name="text">
<string>双余度攻角不跟随故障</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="psFault">
<property name="text">
<string>静压传感器故障</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="aoa2Fau">
<property name="text">
<string>攻角2故障</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QCheckBox" name="systemFau">
<property name="text">
<string>大气数据计算机故障</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="exStorageFau">
<property name="text">
<string>外部存储故障</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="aoa1Fau">
<property name="text">
<string>攻角1故障</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>数据有效性</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QCheckBox" name="psi">
<property name="text">
<string>指示静压</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="ps">
<property name="text">
<string>真实静压</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="aoat1">
<property name="text">
<string>真攻角1</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QCheckBox" name="aoai2">
<property name="text">
<string>局部攻角2</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="qci">
<property name="text">
<string>指示动压</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="qc">
<property name="text">
<string>真实动压</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="aoat2">
<property name="text">
<string>真攻角2</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QCheckBox" name="aoai1">
<property name="text">
<string>局部攻角1</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="hp">
<property name="text">
<string>气压高度</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="hpr">
<property name="text">
<string>升降速度</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QCheckBox" name="aosi1">
<property name="minimumSize">
<size>
<width>111</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>局部侧滑角1</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QCheckBox" name="aost1">
<property name="text">
<string>真侧滑角1</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="ts">
<property name="text">
<string>静温</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="tt">
<property name="text">
<string>总温</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QCheckBox" name="aosi2">
<property name="minimumSize">
<size>
<width>111</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>局部侧滑角2</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QCheckBox" name="aost2">
<property name="text">
<string>真侧滑角2</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="mi">
<property name="text">
<string>马赫数</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="vi">
<property name="text">
<string>指示空速</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QCheckBox" name="vt">
<property name="text">
<string>真空速</string>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QCheckBox" name="adr">
<property name="text">
<string>大气密度比</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources/>
+57 -4
View File
@@ -4,6 +4,8 @@ Parse::Parse(QObject *parent) : QObject(parent)
{
setAutoDelete(true);
qRegisterMetaType<Parse::_ins>("Parse::_ins");
qRegisterMetaType<Parse::_nav>("Parse::_nav");
qRegisterMetaType<Parse::_eadc>("Parse::_eadc");
qRegisterMetaType<Parse::_ecu>("Parse::_ecu");
qRegisterMetaType<Parse::_sspc>("Parse::_sspc");
@@ -96,10 +98,61 @@ void Parse::run()
}state1;
state1.byte = data[data_count++];
nav.state1.navStatus = state1.nav;//D7D6 导航状态
nav.state1.insStatus = state1.ins;//D5D4 组合状态
nav.state1.headingSrc = state1.heading;//D3D2 航向信号源
nav.state1.Satellite = state1.Satellite;//D1D0 卫星信号源
//D7D6 导航状态
switch (state1.nav) {
case 0x01:
nav.state1.navStatus = tr("准备");
break;
case 0x02:
nav.state1.navStatus = tr("对准");
break;
case 0x03:
nav.state1.navStatus = tr("导航");
break;
}
//D5D4 组合状态
switch (state1.ins) {
case 0x00:
nav.state1.insStatus = tr("纯惯导");
break;
case 0x01:
nav.state1.insStatus = tr("惯性/卫星组合");
break;
case 0x02:
nav.state1.insStatus = tr("惯性/差分卫星组合");
break;
case 0x03:
nav.state1.insStatus = tr("预留");
break;
}
//D3D2 航向信号源
switch (state1.heading) {
case 0x00:
nav.state1.headingSrc = tr("未使用外部航向");
break;
case 0x01:
nav.state1.headingSrc = tr("使用双天线航向");
break;
case 0x02:
nav.state1.headingSrc = tr("使用磁航向");
break;
}
//D1D0 卫星信号源
switch (state1.Satellite) {
case 0x01:
nav.state1.Satellite = tr("未使用卫星");
break;
case 0x02:
nav.state1.Satellite = tr("使用内部卫星");
break;
case 0x03:
nav.state1.Satellite = tr("使用外部卫星");
break;
}
src.B[0] = data[data_count++];
src.B[1] = data[data_count++];
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB