Commit 625bebad762ff19dfd312415c5cdc659e0476fbe
1 parent
960048ca60
Exists in
master
and in
2 other branches
메인 보드 On/Off 관련 루틴 제거
- 항상 On으로 유지
Showing
7 changed files
with
11 additions
and
14 deletions
Show diff stats
app/gui/oven_control/burnertestwindow.cpp
... | ... | @@ -25,7 +25,6 @@ BurnerTestWindow::BurnerTestWindow(QWidget *parent) : |
25 | 25 | connect(this->udp, SIGNAL(changed()), this, SLOT(onDataChanged())); |
26 | 26 | |
27 | 27 | udp->set(TG_OVEN_MODE, 4); |
28 | - udp->turnOn(TG_SYSTEM); | |
29 | 28 | udp->turnOn(TG_MANUAL_BURNER1); |
30 | 29 | udp->turnOn(TG_MANUAL_BURNER2); |
31 | 30 | udp->turnOn(TG_MANUAL_BURNER3); |
... | ... | @@ -143,7 +142,6 @@ void BurnerTestWindow::on_backButton_clicked() |
143 | 142 | udp->turnOff(TG_MANUAL_BURNER1); |
144 | 143 | udp->turnOff(TG_MANUAL_BURNER2); |
145 | 144 | udp->turnOff(TG_MANUAL_BURNER3); |
146 | - udp->turnOff(TG_SYSTEM); | |
147 | 145 | |
148 | 146 | close(); |
149 | 147 | } | ... | ... |
app/gui/oven_control/componenttestwindow.cpp
... | ... | @@ -17,7 +17,6 @@ ComponentTestWindow::ComponentTestWindow(QWidget *parent) : |
17 | 17 | connect(&damperTimer, SIGNAL(timeout()), this, SLOT(damperOff())); |
18 | 18 | |
19 | 19 | udp->set(TG_OVEN_MODE, 4); |
20 | - udp->turnOn(TG_SYSTEM); | |
21 | 20 | udp->turnOn(TG_MANUAL_RELAY); |
22 | 21 | |
23 | 22 | onDataChanged(); |
... | ... | @@ -72,8 +71,9 @@ void ComponentTestWindow::on_backButton_clicked() |
72 | 71 | { |
73 | 72 | damperTimer.stop(); |
74 | 73 | |
74 | + udp->turnOff(TG_HL); | |
75 | + udp->turnOff(TG_HDM); | |
75 | 76 | udp->turnOff(TG_MANUAL_RELAY); |
76 | - udp->turnOff(TG_SYSTEM); | |
77 | 77 | |
78 | 78 | close(); |
79 | 79 | } | ... | ... |
app/gui/oven_control/fantestwindow.cpp
... | ... | @@ -18,7 +18,6 @@ FanTestWindow::FanTestWindow(QWidget *parent) : |
18 | 18 | rpm1 = rpm2 = 500; |
19 | 19 | |
20 | 20 | udp->set(TG_OVEN_MODE, 4); |
21 | - udp->turnOn(TG_SYSTEM); | |
22 | 21 | udp->turnOn(TG_MANUAL_FAN1); |
23 | 22 | udp->turnOn(TG_MANUAL_FAN2); |
24 | 23 | udp->set(TG_FAN1_RPM, rpm1); |
... | ... | @@ -241,9 +240,12 @@ void FanTestWindow::on_backButton_clicked() |
241 | 240 | stop(Fan1); |
242 | 241 | stop(Fan2); |
243 | 242 | |
243 | + udp->set(TG_FAN1_RPM, 500); | |
244 | + udp->set(TG_FAN2_RPM, 500); | |
245 | + udp->set(TG_FAN1_DIRECTOIN, 0); | |
246 | + udp->set(TG_FAN2_DIRECTOIN, 0); | |
244 | 247 | udp->turnOff(TG_MANUAL_FAN1); |
245 | 248 | udp->turnOff(TG_MANUAL_FAN2); |
246 | - udp->turnOff(TG_SYSTEM); | |
247 | 249 | |
248 | 250 | deleteLater(); |
249 | 251 | } | ... | ... |
app/gui/oven_control/ovencontroller.cpp
... | ... | @@ -114,7 +114,6 @@ void OvenController::startCooking() |
114 | 114 | qDebug() << "Start Cooking"; |
115 | 115 | udp->set(TG_OVEN_MODE, 1); |
116 | 116 | udp->set(TG_TIME, 1440); |
117 | - udp->turnOn(TG_SYSTEM); | |
118 | 117 | udp->turnOn(TG_COOKING); |
119 | 118 | } |
120 | 119 | |
... | ... | @@ -129,7 +128,6 @@ void OvenController::startPreheating() |
129 | 128 | qDebug() << "Start Preheating"; |
130 | 129 | udp->set(TG_OVEN_MODE, 1); |
131 | 130 | udp->set(TG_TIME, 1440); |
132 | - udp->turnOn(TG_SYSTEM); | |
133 | 131 | udp->turnOn(TG_PREHEAT); |
134 | 132 | } |
135 | 133 | ... | ... |
app/gui/oven_control/valvetestwindow.cpp
... | ... | @@ -14,7 +14,6 @@ ValveTestWindow::ValveTestWindow(QWidget *parent) : |
14 | 14 | connect(udp, SIGNAL(changed()), this, SLOT(onDataChanged())); |
15 | 15 | |
16 | 16 | udp->set(TG_OVEN_MODE, 4); |
17 | - udp->turnOn(TG_SYSTEM); | |
18 | 17 | udp->turnOn(TG_MANUAL_RELAY); |
19 | 18 | |
20 | 19 | onDataChanged(); |
... | ... | @@ -106,8 +105,12 @@ void ValveTestWindow::on_backButton_clicked() |
106 | 105 | quenchingValveClose(); |
107 | 106 | sideValveClose(); |
108 | 107 | |
108 | + udp->turnOff(TG_SSV); | |
109 | + udp->turnOff(TG_DP); | |
110 | + udp->turnOff(TG_QNV); | |
111 | + udp->turnOff(TG_SNV); | |
112 | + udp->turnOff(TG_SGNV); | |
109 | 113 | udp->turnOff(TG_MANUAL_RELAY); |
110 | - udp->turnOff(TG_SYSTEM); | |
111 | 114 | |
112 | 115 | close(); |
113 | 116 | } | ... | ... |
app/gui/oven_control/washtestwindow.cpp
... | ... | @@ -14,7 +14,6 @@ WashTestWindow::WashTestWindow(QWidget *parent) : |
14 | 14 | connect(udp, SIGNAL(changed()), this, SLOT(onDataChanged())); |
15 | 15 | |
16 | 16 | udp->set(TG_OVEN_MODE, 4); |
17 | - udp->turnOn(TG_SYSTEM); | |
18 | 17 | udp->turnOn(TG_MANUAL_RELAY); |
19 | 18 | |
20 | 19 | onDataChanged(); |
... | ... | @@ -85,7 +84,6 @@ void WashTestWindow::on_backButton_clicked() |
85 | 84 | drainValveClose(); |
86 | 85 | |
87 | 86 | udp->turnOff(TG_MANUAL_RELAY); |
88 | - udp->turnOff(TG_SYSTEM); | |
89 | 87 | |
90 | 88 | close(); |
91 | 89 | } | ... | ... |
app/gui/oven_control/washwindow.cpp
... | ... | @@ -20,7 +20,6 @@ WashWindow::WashWindow(QWidget *parent) : |
20 | 20 | setAttribute(Qt::WA_DeleteOnClose); |
21 | 21 | |
22 | 22 | udp = UdpHandler::getInstance(); |
23 | - udp->turnOff(TG_SYSTEM); | |
24 | 23 | connect(udp, SIGNAL(changed()), SLOT(onChanged())); |
25 | 24 | |
26 | 25 | ui->animation->load(":/images/animation/wash_04.png"); |
... | ... | @@ -74,7 +73,6 @@ void WashWindow::start(int type) |
74 | 73 | ui->animation->start(300); |
75 | 74 | |
76 | 75 | udp->set(TG_OVEN_MODE, 2); |
77 | - udp->turnOn(TG_SYSTEM); | |
78 | 76 | } |
79 | 77 | |
80 | 78 | void WashWindow::stop() | ... | ... |