add speed and keyphase config

This commit is contained in:
DESKTOP-7I8SUIC\zhang 2025-12-19 17:23:51 +08:00
parent 66a38280b8
commit 8bc8a544cd
6 changed files with 954 additions and 415 deletions

View File

@ -536,6 +536,9 @@ void ConfigMgr::Save(QString & file_path) {
channel_item.insert("default_speed", ptr->variables_[cid].default_speed);
channel_item.insert("automatic_threshold",ptr->variables_[cid].automatic_threshold);
channel_item.insert("point_name",ptr->variables_[cid].point_name);
channel_item.insert("keyphase_points",ptr->variables_[cid].keyphase_points);
channel_item.insert("speed_delay",ptr->variables_[cid].speed_delay);
channel_item.insert("zero_speed",ptr->variables_[cid].zero_speed);
QJsonObject alarm;
alarm["danger_high_level"] = ptr->danger_high[cid].level;
alarm["danger_high_hysteresis"] = ptr->danger_high[cid].hysteresis;
@ -565,6 +568,8 @@ void ConfigMgr::Save(QString & file_path) {
channel_item.insert("events_per_revolution", ptr->variables_[cid].events_per_revolution);
channel_item.insert("automatic_threshold",ptr->variables_[cid].automatic_threshold);
channel_item.insert("point_name",ptr->variables_[cid].point_name);
channel_item.insert("keyphase_points",ptr->variables_[cid].keyphase_points);
channel_item.insert("speed_delay",ptr->variables_[cid].speed_delay);
}
slot_item[QString::number(cid + 1)] = channel_item;
@ -1092,6 +1097,9 @@ void ConfigMgr::Load(QString filename) {
speed_data->variables_[j].default_speed = channel["default_speed"].toInt();
speed_data->variables_[j].automatic_threshold = channel["automatic_threshold"].toBool();
speed_data->variables_[j].point_name = channel["point_name"].toString();
speed_data->variables_[j].keyphase_points = channel["keyphase_points"].toInt();
speed_data->variables_[j].speed_delay = channel["speed_delay"].toInt();
speed_data->variables_[j].zero_speed = channel["zero_speed"].toInt();
if(channel.contains("alarm")){
QJsonObject alarm = channel["alarm"].toObject();
speed_data->danger_high[j].level = alarm["danger_high_level"].toDouble();
@ -1126,6 +1134,8 @@ void ConfigMgr::Load(QString filename) {
keyphase_data->variables_[j].events_per_revolution = channel["events_per_revolution"].toInt();
keyphase_data->variables_[j].automatic_threshold = channel["automatic_threshold"].toBool();
keyphase_data->variables_[j].point_name = channel["point_name"].toString();
keyphase_data->variables_[j].keyphase_points = channel["keyphase_points"].toInt();
keyphase_data->variables_[j].speed_delay = channel["speed_delay"].toInt();
}
cards_.push_back(keyphase_data);

View File

@ -429,6 +429,9 @@ typedef struct {
float normal_voltage_high;
int speed_peek;
int default_speed;
int keyphase_points;
int speed_delay;
int zero_speed;
bool automatic_threshold;
float threshold;
float hysteresis;
@ -449,6 +452,8 @@ typedef struct {
float threshold;
float hysteresis;
int events_per_revolution;
int keyphase_points;
int speed_delay;
} KeyphaseVariables;
typedef struct {

View File

@ -90,6 +90,8 @@ void KeyPhase::UpdateData(std::shared_ptr<KeyphaseData> &keyphase_data) {
keyphase_data->variables_[i].threshold = ui->doubleSpinBox_threshold_1->value();
keyphase_data->variables_[i].hysteresis = ui->doubleSpinBox_hysteresis_1->value();
keyphase_data->variables_[i].events_per_revolution = ui->spinBox_events_per_revolution_1->value();
keyphase_data->variables_[i].keyphase_points = ui->spinBox_points->value();
keyphase_data->variables_[i].speed_delay = ui->spinBox_delay->value();
} else if (i + 1 == 2) {
keyphase_data->variables_[i].active = ui->checkBox_enable_2->isChecked();
keyphase_data->variables_[i].normal_voltage_high = ui->doubleSpinBox_high_2->value();
@ -98,6 +100,8 @@ void KeyPhase::UpdateData(std::shared_ptr<KeyphaseData> &keyphase_data) {
keyphase_data->variables_[i].threshold = ui->doubleSpinBox_threshold_2->value();
keyphase_data->variables_[i].hysteresis = ui->doubleSpinBox_hysteresis_2->value();
keyphase_data->variables_[i].events_per_revolution = ui->spinBox_events_per_revolution_2->value();
keyphase_data->variables_[i].keyphase_points = ui->spinBox_points_2->value();
keyphase_data->variables_[i].speed_delay = ui->spinBox_delay_2->value();
} else if (i + 1 == 3) {
keyphase_data->variables_[i].active = ui->checkBox_enable_3->isChecked();
keyphase_data->variables_[i].normal_voltage_high = ui->doubleSpinBox_high_3->value();
@ -106,6 +110,8 @@ void KeyPhase::UpdateData(std::shared_ptr<KeyphaseData> &keyphase_data) {
keyphase_data->variables_[i].threshold = ui->doubleSpinBox_threshold_3->value();
keyphase_data->variables_[i].hysteresis = ui->doubleSpinBox_hysteresis_3->value();
keyphase_data->variables_[i].events_per_revolution = ui->spinBox_events_per_revolution_3->value();
keyphase_data->variables_[i].keyphase_points = ui->spinBox_points_3->value();
keyphase_data->variables_[i].speed_delay = ui->spinBox_delay_3->value();
} else if (i + 1 == 4) {
keyphase_data->variables_[i].active = ui->checkBox_enable_4->isChecked();
keyphase_data->variables_[i].normal_voltage_high = ui->doubleSpinBox_high_4->value();
@ -114,6 +120,8 @@ void KeyPhase::UpdateData(std::shared_ptr<KeyphaseData> &keyphase_data) {
keyphase_data->variables_[i].threshold = ui->doubleSpinBox_threshold_4->value();
keyphase_data->variables_[i].hysteresis = ui->doubleSpinBox_hysteresis_4->value();
keyphase_data->variables_[i].events_per_revolution = ui->spinBox_events_per_revolution_4->value();
keyphase_data->variables_[i].keyphase_points = ui->spinBox_points_4->value();
keyphase_data->variables_[i].speed_delay = ui->spinBox_delay_4->value();
}
}
}
@ -135,6 +143,8 @@ void KeyPhase::Init() {
ui->checkBox_enable_1->setChecked(keyphase_data->variables_[i].active);
ui->doubleSpinBox_high_1->setValue(keyphase_data->variables_[i].normal_voltage_high);
ui->doubleSpinBox_low_1->setValue(keyphase_data->variables_[i].normal_voltage_low);
ui->spinBox_points->setValue(keyphase_data->variables_[i].keyphase_points);
ui->spinBox_delay->setValue(keyphase_data->variables_[i].speed_delay);
if (keyphase_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_1->setChecked(true);
ui->doubleSpinBox_threshold_1->setEnabled(false);
@ -151,6 +161,8 @@ void KeyPhase::Init() {
ui->checkBox_enable_2->setChecked(keyphase_data->variables_[i].active);
ui->doubleSpinBox_high_2->setValue(keyphase_data->variables_[i].normal_voltage_high);
ui->doubleSpinBox_low_2->setValue(keyphase_data->variables_[i].normal_voltage_low);
ui->spinBox_points_2->setValue(keyphase_data->variables_[i].keyphase_points);
ui->spinBox_delay_2->setValue(keyphase_data->variables_[i].speed_delay);
if (keyphase_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_2->setChecked(true);
ui->doubleSpinBox_threshold_2->setEnabled(false);
@ -167,6 +179,8 @@ void KeyPhase::Init() {
ui->checkBox_enable_3->setChecked(keyphase_data->variables_[i].active);
ui->doubleSpinBox_high_3->setValue(keyphase_data->variables_[i].normal_voltage_high);
ui->doubleSpinBox_low_3->setValue(keyphase_data->variables_[i].normal_voltage_low);
ui->spinBox_points_3->setValue(keyphase_data->variables_[i].keyphase_points);
ui->spinBox_delay_3->setValue(keyphase_data->variables_[i].speed_delay);
if (keyphase_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_3->setChecked(true);
ui->doubleSpinBox_threshold_3->setEnabled(false);
@ -183,6 +197,8 @@ void KeyPhase::Init() {
ui->checkBox_enable_4->setChecked(keyphase_data->variables_[i].active);
ui->doubleSpinBox_high_4->setValue(keyphase_data->variables_[i].normal_voltage_high);
ui->doubleSpinBox_low_4->setValue(keyphase_data->variables_[i].normal_voltage_low);
ui->spinBox_points_4->setValue(keyphase_data->variables_[i].keyphase_points);
ui->spinBox_delay_4->setValue(keyphase_data->variables_[i].speed_delay);
if (keyphase_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_4->setChecked(true);
ui->doubleSpinBox_threshold_4->setEnabled(false);

View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>824</width>
<width>904</width>
<height>510</height>
</rect>
</property>
@ -157,7 +157,9 @@
<property name="title">
<string>正常电压</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QHBoxLayout" name="horizontalLayout_35">
<item>
<layout class="QVBoxLayout" name="verticalLayout_16">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
@ -269,6 +271,50 @@
</layout>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_96">
<property name="text">
<string> 键相点数</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_47">
<item>
<widget class="QLabel" name="label_97">
<property name="text">
<string> 时延(S)</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
@ -509,6 +555,8 @@
<property name="title">
<string>正常电压</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_36">
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_13">
@ -621,6 +669,50 @@
</layout>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_17">
<item>
<widget class="QLabel" name="label_98">
<property name="text">
<string> 键相点数</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points_2">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_48">
<item>
<widget class="QLabel" name="label_99">
<property name="text">
<string> 时延(S)</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay_2">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
@ -911,6 +1003,8 @@
<property name="title">
<string>正常电压</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_37">
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_20">
@ -1023,6 +1117,50 @@
</layout>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_18">
<item>
<widget class="QLabel" name="label_100">
<property name="text">
<string> 键相点数</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points_3">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_49">
<item>
<widget class="QLabel" name="label_101">
<property name="text">
<string> 时延(S)</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay_3">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
@ -1263,6 +1401,8 @@
<property name="title">
<string>正常电压</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_38">
<item>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_27">
@ -1375,6 +1515,50 @@
</layout>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_19">
<item>
<widget class="QLabel" name="label_102">
<property name="text">
<string> 键相点数</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points_4">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_50">
<item>
<widget class="QLabel" name="label_103">
<property name="text">
<string> 时延(S)</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay_4">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>

View File

@ -84,6 +84,9 @@ void Tachometer::UpdateData(std::shared_ptr<TachometerData> &speed_data) {
speed_data->variables_[i].normal_voltage_low = ui->doubleSpinBox_low_1->value();
speed_data->variables_[i].speed_peek = ui->full_scale_range_1->value();
speed_data->variables_[i].default_speed = ui->default_value_1->value();
speed_data->variables_[i].keyphase_points = ui->spinBox_points->value();
speed_data->variables_[i].speed_delay = ui->spinBox_delay->value();
speed_data->variables_[i].zero_speed = ui->spinBox_zero_speed->value();
if(ui->radioButton_automatic_threshold_1->isChecked()){
speed_data->variables_[i].automatic_threshold = true;
}else{
@ -121,6 +124,9 @@ void Tachometer::UpdateData(std::shared_ptr<TachometerData> &speed_data) {
speed_data->variables_[i].normal_voltage_low = ui->doubleSpinBox_low_2->value();
speed_data->variables_[i].speed_peek = ui->full_scale_range_2->value();
speed_data->variables_[i].default_speed = ui->default_value_2->value();
speed_data->variables_[i].keyphase_points = ui->spinBox_points_2->value();
speed_data->variables_[i].speed_delay = ui->spinBox_delay_2->value();
speed_data->variables_[i].zero_speed = ui->spinBox_zero_speed_2->value();
if(ui->radioButton_automatic_threshold_2->isChecked()){
speed_data->variables_[i].automatic_threshold = true;
}else{
@ -159,6 +165,9 @@ void Tachometer::UpdateData(std::shared_ptr<TachometerData> &speed_data) {
speed_data->variables_[i].normal_voltage_low = ui->doubleSpinBox_low_3->value();
speed_data->variables_[i].speed_peek = ui->full_scale_range_3->value();
speed_data->variables_[i].default_speed = ui->default_value_3->value();
speed_data->variables_[i].keyphase_points = ui->spinBox_points_3->value();
speed_data->variables_[i].speed_delay = ui->spinBox_delay_3->value();
speed_data->variables_[i].zero_speed = ui->spinBox_zero_speed_3->value();
if(ui->radioButton_automatic_threshold_3->isChecked()){
speed_data->variables_[i].automatic_threshold = true;
}else{
@ -197,6 +206,9 @@ void Tachometer::UpdateData(std::shared_ptr<TachometerData> &speed_data) {
speed_data->variables_[i].normal_voltage_low = ui->doubleSpinBox_low_4->value();
speed_data->variables_[i].speed_peek = ui->full_scale_range_4->value();
speed_data->variables_[i].default_speed = ui->default_value_4->value();
speed_data->variables_[i].keyphase_points = ui->spinBox_points_4->value();
speed_data->variables_[i].speed_delay = ui->spinBox_delay_4->value();
speed_data->variables_[i].zero_speed = ui->spinBox_zero_speed_4->value();
if(ui->radioButton_automatic_threshold_4->isChecked()){
speed_data->variables_[i].automatic_threshold = true;
}else{
@ -252,6 +264,9 @@ void Tachometer::Init() {
ui->doubleSpinBox_low_1->setValue(speed_data->variables_[i].normal_voltage_low);
ui->full_scale_range_1->setValue(speed_data->variables_[i].speed_peek);
ui->default_value_1->setValue(speed_data->variables_[i].default_speed);
ui->spinBox_points->setValue(speed_data->variables_[i].keyphase_points);
ui->spinBox_delay->setValue(speed_data->variables_[i].speed_delay);
ui->spinBox_zero_speed->setValue(speed_data->variables_[i].zero_speed);
if (speed_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_1->setChecked(true);
ui->doubleSpinBox_threshold_1->setEnabled(false);
@ -297,6 +312,9 @@ void Tachometer::Init() {
ui->doubleSpinBox_low_2->setValue(speed_data->variables_[i].normal_voltage_low);
ui->full_scale_range_2->setValue(speed_data->variables_[i].speed_peek);
ui->default_value_2->setValue(speed_data->variables_[i].default_speed);
ui->spinBox_points_2->setValue(speed_data->variables_[i].keyphase_points);
ui->spinBox_delay_2->setValue(speed_data->variables_[i].speed_delay);
ui->spinBox_zero_speed_2->setValue(speed_data->variables_[i].zero_speed);
if (speed_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_2->setChecked(true);
ui->doubleSpinBox_threshold_2->setEnabled(false);
@ -342,6 +360,9 @@ void Tachometer::Init() {
ui->doubleSpinBox_low_3->setValue(speed_data->variables_[i].normal_voltage_low);
ui->full_scale_range_3->setValue(speed_data->variables_[i].speed_peek);
ui->default_value_3->setValue(speed_data->variables_[i].default_speed);
ui->spinBox_points_3->setValue(speed_data->variables_[i].keyphase_points);
ui->spinBox_delay_3->setValue(speed_data->variables_[i].speed_delay);
ui->spinBox_zero_speed_3->setValue(speed_data->variables_[i].zero_speed);
if (speed_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_3->setChecked(true);
ui->doubleSpinBox_threshold_3->setEnabled(false);
@ -387,6 +408,9 @@ void Tachometer::Init() {
ui->doubleSpinBox_low_4->setValue(speed_data->variables_[i].normal_voltage_low);
ui->full_scale_range_4->setValue(speed_data->variables_[i].speed_peek);
ui->default_value_4->setValue(speed_data->variables_[i].default_speed);
ui->spinBox_points_4->setValue(speed_data->variables_[i].keyphase_points);
ui->spinBox_delay_4->setValue(speed_data->variables_[i].speed_delay);
ui->spinBox_zero_speed_4->setValue(speed_data->variables_[i].zero_speed);
if (speed_data->variables_[i].automatic_threshold) {
ui->radioButton_automatic_threshold_4->setChecked(true);
ui->doubleSpinBox_threshold_4->setEnabled(false);

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>835</width>
<height>655</height>
<height>670</height>
</rect>
</property>
<property name="windowTitle">
@ -383,13 +383,13 @@
</property>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="label_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -404,7 +404,7 @@
<widget class="QSpinBox" name="full_scale_range_1">
<property name="minimumSize">
<size>
<width>100</width>
<width>50</width>
<height>25</height>
</size>
</property>
@ -422,13 +422,13 @@
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<layout class="QVBoxLayout" name="verticalLayout_31">
<item>
<widget class="QLabel" name="label_19">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -454,6 +454,54 @@
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_96">
<property name="text">
<string> 键相点数</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_47">
<item>
<widget class="QLabel" name="label_97">
<property name="text">
<string> 时延(S)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
@ -462,8 +510,6 @@
<property name="title">
<string>记录输出</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QComboBox" name="comboBox_record_output_1">
@ -498,6 +544,35 @@
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_56">
<item>
<widget class="QLabel" name="label_98">
<property name="text">
<string> 零转速:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_zero_speed">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
<property name="maximum">
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_108">
<property name="text">
<string>RPM</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
@ -1538,7 +1613,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -1553,7 +1628,7 @@
<widget class="QSpinBox" name="full_scale_range_2">
<property name="minimumSize">
<size>
<width>100</width>
<width>50</width>
<height>25</height>
</size>
</property>
@ -1577,7 +1652,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -1603,6 +1678,54 @@
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_49">
<item>
<widget class="QLabel" name="label_99">
<property name="text">
<string> 键相点数</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points_2">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_51">
<item>
<widget class="QLabel" name="label_100">
<property name="text">
<string> 时延(S)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay_2">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
@ -1612,8 +1735,6 @@
<string>记录输出</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_24">
<item>
<layout class="QVBoxLayout" name="verticalLayout_25">
<item>
<widget class="QComboBox" name="comboBox_record_output_2">
<property name="minimumSize">
@ -1647,6 +1768,35 @@
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_57">
<item>
<widget class="QLabel" name="label_105">
<property name="text">
<string> 零转速:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_zero_speed_2">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
<property name="maximum">
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_109">
<property name="text">
<string>RPM</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
@ -2677,7 +2827,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -2692,7 +2842,7 @@
<widget class="QSpinBox" name="full_scale_range_3">
<property name="minimumSize">
<size>
<width>100</width>
<width>50</width>
<height>25</height>
</size>
</property>
@ -2716,7 +2866,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -2742,6 +2892,54 @@
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_52">
<item>
<widget class="QLabel" name="label_101">
<property name="text">
<string> 键相点数</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points_3">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_53">
<item>
<widget class="QLabel" name="label_102">
<property name="text">
<string> 时延(S)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay_3">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
@ -2750,9 +2948,7 @@
<property name="title">
<string>记录输出</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_30">
<item>
<layout class="QVBoxLayout" name="verticalLayout_31">
<layout class="QVBoxLayout" name="verticalLayout_25">
<item>
<widget class="QComboBox" name="comboBox_record_output_3">
<property name="minimumSize">
@ -2786,6 +2982,35 @@
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_58">
<item>
<widget class="QLabel" name="label_106">
<property name="text">
<string> 零转速:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_zero_speed_3">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
<property name="maximum">
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_110">
<property name="text">
<string>RPM</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
@ -3816,7 +4041,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -3831,7 +4056,7 @@
<widget class="QSpinBox" name="full_scale_range_4">
<property name="minimumSize">
<size>
<width>100</width>
<width>50</width>
<height>25</height>
</size>
</property>
@ -3855,7 +4080,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
<height>16777215</height>
</size>
</property>
<property name="text">
@ -3881,6 +4106,54 @@
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_56">
<item>
<widget class="QLabel" name="label_103">
<property name="text">
<string> 键相点数</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_points_4">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_58">
<item>
<widget class="QLabel" name="label_104">
<property name="text">
<string> 时延(S)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_delay_4">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
@ -3889,9 +4162,7 @@
<property name="title">
<string>记录输出</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_42">
<item>
<layout class="QVBoxLayout" name="verticalLayout_43">
<layout class="QVBoxLayout" name="verticalLayout_30">
<item>
<widget class="QComboBox" name="comboBox_record_output_4">
<property name="minimumSize">
@ -3925,6 +4196,35 @@
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_59">
<item>
<widget class="QLabel" name="label_107">
<property name="text">
<string> 零转速:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_zero_speed_4">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
<property name="maximum">
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_111">
<property name="text">
<string>RPM</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>