diff --git a/app/gui/oven_control/udphandler.h b/app/gui/oven_control/udphandler.h index 272032b..61dd783 100644 --- a/app/gui/oven_control/udphandler.h +++ b/app/gui/oven_control/udphandler.h @@ -55,6 +55,7 @@ public: bool unp() { return (state.onoff_state2 & 0x0200) != 0; } bool hdm() { return (state.onoff_state2 & 0x0400) != 0; } bool sgnv() { return (state.onoff_state2 & 0x0800) != 0; } + bool inv() {return (state.onoff_state2 & 0x1000) !=0; } signals: void changed(); diff --git a/app/gui/oven_control/valvetestwindow.cpp b/app/gui/oven_control/valvetestwindow.cpp index 44d0ee0..0c54dfa 100644 --- a/app/gui/oven_control/valvetestwindow.cpp +++ b/app/gui/oven_control/valvetestwindow.cpp @@ -116,6 +116,15 @@ void ValveTestWindow::on_steamPumpButton_clicked() steamPumpOn(); } +void ValveTestWindow::on_steamPumpButton_2_clicked() +{ + if (udp->inv()) + steamPumpOff(); + else + steamPumpOn(); +} + + void ValveTestWindow::on_quenchingValveButton_clicked() { if (udp->qnv()) @@ -223,3 +232,14 @@ void ValveTestWindow::cleanValveClose() { udp->turnOff(TG_SGNV); } + +void ValveTestWindow::innerCleanValveOpen() +{ + udp->turnOn(TG_INV); +} + +void ValveTestWindow::innerCleanValveClose() +{ + udp->turnOff(TG_INV); +} + diff --git a/app/gui/oven_control/valvetestwindow.h b/app/gui/oven_control/valvetestwindow.h index 843807d..fd40f8e 100644 --- a/app/gui/oven_control/valvetestwindow.h +++ b/app/gui/oven_control/valvetestwindow.h @@ -32,6 +32,8 @@ private slots: void sideValveClose(); void cleanValveOpen(); void cleanValveClose(); + void innerCleanValveOpen(); + void innerCleanValveClose(); void onDataChanged(); @@ -44,6 +46,8 @@ private slots: void on_backButton_clicked(); + void on_steamPumpButton_2_clicked(); + private: Ui::ValveTestWindow *ui; UdpHandler *udp; diff --git a/app/gui/oven_control/valvetestwindow.ui b/app/gui/oven_control/valvetestwindow.ui index a86484b..3654d64 100644 --- a/app/gui/oven_control/valvetestwindow.ui +++ b/app/gui/oven_control/valvetestwindow.ui @@ -121,7 +121,7 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/b 697 - 655 + 593 184 70 @@ -183,7 +183,7 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_o 697 - 585 + 523 184 70 @@ -763,7 +763,7 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_o 480 - 585 + 523 211 70 @@ -820,7 +820,7 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_o 480 - 655 + 593 184 70 @@ -1062,7 +1062,7 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_o 332 - 592 + 530 133 56 @@ -1078,7 +1078,7 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_o 369 - 666 + 604 96 48 @@ -1194,6 +1194,93 @@ QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_o 서비스단계(엔지니어모드) > 기능테스트 > 급수밸브 + + + + 696 + 662 + 184 + 70 + + + + + 0 + 0 + + + + + Roboto + 10 + 75 + true + + + + QPushButton { border-image: url(:/images/button/184.png); } +QPushButton:pressed, QPushButton:focus { border-image: url(:/images/button/184_ov.png); } + + + START + + + + + + 479 + 662 + 184 + 70 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 11 + + + + 내부 세척 밸브 + +