diff --git a/HPPA/about.ui b/HPPA/about.ui index 3b179a9..da3fff9 100644 --- a/HPPA/about.ui +++ b/HPPA/about.ui @@ -70,7 +70,7 @@ - 版本:1.8.5 + 版本:1.8.6 diff --git a/HPPA/adjustTable.cpp b/HPPA/adjustTable.cpp index b8c74e6..e6c5273 100644 --- a/HPPA/adjustTable.cpp +++ b/HPPA/adjustTable.cpp @@ -12,6 +12,10 @@ adjustTable::adjustTable(QWidget *parent) connect(ui.objective_table2_up_btn, SIGNAL(clicked()), this, SLOT(onObjectivTable2Up_btn())); connect(ui.objective_table2_down_btn, SIGNAL(clicked()), this, SLOT(onObjectivTable2Down_btn())); connect(ui.objective_table2_stop_btn, SIGNAL(clicked()), this, SLOT(onObjectivTable2Stop_btn())); + + connect(ui.objective_table252_up_btn, SIGNAL(clicked()), this, SLOT(onObjectivTable252Up_btn())); + connect(ui.objective_table252_down_btn, SIGNAL(clicked()), this, SLOT(onObjectivTable252Down_btn())); + connect(ui.objective_table252_stop_btn, SIGNAL(clicked()), this, SLOT(onObjectivTable252Stop_btn())); } adjustTable::~adjustTable() @@ -63,3 +67,21 @@ void adjustTable::onObjectivTable2Stop_btn() QString xx = "http://192.168.1.254/stopnow"; getRequest(xx); } + +void adjustTable::onObjectivTable252Up_btn() +{ + QString xx = "http://192.168.1.252/set_up"; + getRequest(xx); +} + +void adjustTable::onObjectivTable252Down_btn() +{ + QString xx = "http://192.168.1.252/set_down"; + getRequest(xx); +} + +void adjustTable::onObjectivTable252Stop_btn() +{ + QString xx = "http://192.168.1.252/stopnow"; + getRequest(xx); +} \ No newline at end of file diff --git a/HPPA/adjustTable.h b/HPPA/adjustTable.h index b6a1c73..79fa265 100644 --- a/HPPA/adjustTable.h +++ b/HPPA/adjustTable.h @@ -24,6 +24,10 @@ public Q_SLOTS: void onObjectivTable2Down_btn(); void onObjectivTable2Stop_btn(); + void onObjectivTable252Up_btn(); + void onObjectivTable252Down_btn(); + void onObjectivTable252Stop_btn(); + private: Ui::adjustTableClass ui; diff --git a/HPPA/adjustTable.ui b/HPPA/adjustTable.ui index 16b1bc5..d598679 100644 --- a/HPPA/adjustTable.ui +++ b/HPPA/adjustTable.ui @@ -6,33 +6,66 @@ 0 0 - 348 - 194 + 687 + 389 adjustTable - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - + + + 252号升降台 + + + + + + + 0 + 0 + + + + 上升 + + + + + + + + 0 + 0 + + + + 下降 + + + + + + + + 0 + 0 + + + + 停止 + + + + + + + - 1号升降台 + 253号升降台 @@ -77,10 +110,10 @@ - + - 2号升降台 + 254号升降台