diff --git a/Configuration.cpp b/Configuration.cpp
index da79842..3036ac9 100644
--- a/Configuration.cpp
+++ b/Configuration.cpp
@@ -1216,3 +1216,19 @@ void CConfiguration::on_treeView_Available_pressed(const QModelIndex &index)
}
+
+void CConfiguration::on_radioButton_11_clicked()
+{
+ m_curentRLY = 1;
+ ui->label_3->setText(ui->radioButton_11->text()+":");
+ ViewRelay(1);
+}
+
+
+void CConfiguration::on_radioButton_12_clicked()
+{
+ m_curentRLY = 2;
+ ui->label_3->setText(ui->radioButton_12->text()+":");
+ ViewRelay(2);
+}
+
diff --git a/Configuration.h b/Configuration.h
index 4c594e1..eb54573 100644
--- a/Configuration.h
+++ b/Configuration.h
@@ -58,6 +58,10 @@ private slots:
void on_treeView_Available_pressed(const QModelIndex &index);
+ void on_radioButton_11_clicked();
+
+ void on_radioButton_12_clicked();
+
private:
Ui::CConfiguration *ui;
diff --git a/Configuration.ui b/Configuration.ui
index 0f8d184..291d846 100644
--- a/Configuration.ui
+++ b/Configuration.ui
@@ -7,7 +7,7 @@
0
0
1052
- 640
+ 659
@@ -112,6 +112,9 @@ color: rgb(27, 30, 35);
选择继电器
+
+ Qt::AlignCenter
+
-
@@ -122,89 +125,104 @@ color: rgb(27, 30, 35);
0
-
+
-
-
-
- 150
- 0
-
-
Qt::Horizontal
-
-
-
- 继电器3
+
+
+ 18
-
-
- -
-
-
- 继电器4
-
-
-
- -
-
-
- 继电器5
-
-
-
- -
-
-
- 继电器6
-
-
-
- -
-
-
- 继电器7
-
-
-
- -
-
-
- 继电器8
-
-
-
- -
-
-
- 继电器9
-
-
-
- -
-
-
- 继电器10
-
-
-
- -
-
-
- 继电器11
-
-
-
- -
-
-
- 继电器12
-
-
+
-
+
+
+ 继电器1
+
+
+
+ -
+
+
+ 继电器2
+
+
+
+ -
+
+
+ 继电器3
+
+
+
+ -
+
+
+ 继电器4
+
+
+
+ -
+
+
+ 继电器5
+
+
+
+ -
+
+
+ 继电器6
+
+
+
+ -
+
+
+ 继电器7
+
+
+
+ -
+
+
+ 继电器8
+
+
+
+ -
+
+
+ 继电器9
+
+
+
+ -
+
+
+ 继电器10
+
+
+
+ -
+
+
+ 继电器11
+
+
+
+ -
+
+
+ 继电器12
+
+
+
+