Commit d7c34a950ccac7bee502f45c7b86d14afaba58b6

Authored by 김태훈
1 parent 23647b31e5
Exists in master

세척 이어하기 기능 비활성화

- 세척 기능에 문제가 생긴 경우 정상 사용 불가한 문제가 있음
app/gui/oven_control/define.h
... ... @@ -11,6 +11,8 @@
11 11 // 1 for premium
12 12 #define MODEL_GRADE 1
13 13  
  14 +#define ENABLE_WASH_RESUMING 0
  15 +
14 16 namespace Define
15 17 {
16 18 enum CookType
... ...
app/gui/oven_control/mainwindow.cpp
... ... @@ -43,7 +43,9 @@ MainWindow::MainWindow(QWidget *parent) :
43 43 connect(button, SIGNAL(clicked()), SLOT(setFocus()));
44 44 }
45 45  
  46 +#if ENABLE_WASH_RESUMING
46 47 QTimer::singleShot(0, this, SLOT(checkPrevWash()));
  48 +#endif
47 49 }
48 50  
49 51 MainWindow::~MainWindow()
... ...
app/gui/oven_control/washwindow.cpp
... ... @@ -62,6 +62,7 @@ WashWindow::WashWindow(QWidget *parent) :
62 62 setFocus();
63 63  
64 64 OvenStatistics *os = OvenStatistics::getInstance();
  65 +#if ENABLE_WASH_RESUMING
65 66 if (os->loadWashState())
66 67 {
67 68 // Start Cleaning Steam Generator
... ... @@ -87,6 +88,7 @@ WashWindow::WashWindow(QWidget *parent) :
87 88  
88 89 ui->upperStack->setCurrentIndex(1);
89 90 }
  91 +#endif
90 92  
91 93 connect(os, SIGNAL(stopClean()), SLOT(stop()));
92 94 }
... ...