Commit d7c34a950ccac7bee502f45c7b86d14afaba58b6
1 parent
23647b31e5
Exists in
master
세척 이어하기 기능 비활성화
- 세척 기능에 문제가 생긴 경우 정상 사용 불가한 문제가 있음
Showing
3 changed files
with
6 additions
and
0 deletions
Show diff stats
app/gui/oven_control/define.h
app/gui/oven_control/mainwindow.cpp
| @@ -43,7 +43,9 @@ MainWindow::MainWindow(QWidget *parent) : | @@ -43,7 +43,9 @@ MainWindow::MainWindow(QWidget *parent) : | ||
| 43 | connect(button, SIGNAL(clicked()), SLOT(setFocus())); | 43 | connect(button, SIGNAL(clicked()), SLOT(setFocus())); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | +#if ENABLE_WASH_RESUMING | ||
| 46 | QTimer::singleShot(0, this, SLOT(checkPrevWash())); | 47 | QTimer::singleShot(0, this, SLOT(checkPrevWash())); |
| 48 | +#endif | ||
| 47 | } | 49 | } |
| 48 | 50 | ||
| 49 | MainWindow::~MainWindow() | 51 | MainWindow::~MainWindow() |
app/gui/oven_control/washwindow.cpp
| @@ -62,6 +62,7 @@ WashWindow::WashWindow(QWidget *parent) : | @@ -62,6 +62,7 @@ WashWindow::WashWindow(QWidget *parent) : | ||
| 62 | setFocus(); | 62 | setFocus(); |
| 63 | 63 | ||
| 64 | OvenStatistics *os = OvenStatistics::getInstance(); | 64 | OvenStatistics *os = OvenStatistics::getInstance(); |
| 65 | +#if ENABLE_WASH_RESUMING | ||
| 65 | if (os->loadWashState()) | 66 | if (os->loadWashState()) |
| 66 | { | 67 | { |
| 67 | // Start Cleaning Steam Generator | 68 | // Start Cleaning Steam Generator |
| @@ -87,6 +88,7 @@ WashWindow::WashWindow(QWidget *parent) : | @@ -87,6 +88,7 @@ WashWindow::WashWindow(QWidget *parent) : | ||
| 87 | 88 | ||
| 88 | ui->upperStack->setCurrentIndex(1); | 89 | ui->upperStack->setCurrentIndex(1); |
| 89 | } | 90 | } |
| 91 | +#endif | ||
| 90 | 92 | ||
| 91 | connect(os, SIGNAL(stopClean()), SLOT(stop())); | 93 | connect(os, SIGNAL(stopClean()), SLOT(stop())); |
| 92 | } | 94 | } |