From 8049fb1c68eebb7c3836d0c34e5e3b7826718cb4 Mon Sep 17 00:00:00 2001
From: taehoon <taehoon@falinux.com>
Date: Fri, 18 Mar 2022 14:44:10 +0900
Subject: [PATCH] =?UTF-8?q?PSSCO=20=EB=AA=A8=EB=8D=B8=20=EC=B6=94=EA=B0=80?=
 =?UTF-8?q?=20=EB=B0=8F=20PSSCO=20=EB=AA=A8=EB=8D=B8=EC=9D=98=20=EC=84=B8?=
 =?UTF-8?q?=EC=B2=99=20=EB=AC=B8=EA=B5=AC=20=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/gui/oven_control/define.h       |  1 +
 app/gui/oven_control/washwindow.cpp | 39 +++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/app/gui/oven_control/define.h b/app/gui/oven_control/define.h
index 9875827..a1645b7 100644
--- a/app/gui/oven_control/define.h
+++ b/app/gui/oven_control/define.h
@@ -9,6 +9,7 @@
 
 // 0 for normal
 // 1 for premium
+// 2 for PSSCO
 #define MODEL_GRADE 1
 
 #define ENABLE_WASH_RESUMING 0
diff --git a/app/gui/oven_control/washwindow.cpp b/app/gui/oven_control/washwindow.cpp
index aea7b4f..093ec99 100644
--- a/app/gui/oven_control/washwindow.cpp
+++ b/app/gui/oven_control/washwindow.cpp
@@ -215,6 +215,7 @@ void WashWindow::updateView()
         ui->washStepGauge->setValue(control.clean_step);
         ui->washStepCountLabel->setText(QString().sprintf("%d/%d", control.clean_step, control.clean_total));
 
+#if MODEL_GRADE != 2
         switch (control.clean_step_type)
         {
         case 1:
@@ -251,6 +252,44 @@ void WashWindow::updateView()
             ui->washStepTypeLabel->setText(tr("하부 탱크 세척수 만들기 진행 중입니다."));
             break;
         }
+#else
+        switch (control.clean_step_type)
+        {
+        case 1:
+            ui->washStepTypeLabel->setText(tr("내부 헹굼 진행 중입니다."));
+            break;
+        case 2:
+            ui->washStepTypeLabel->setText(tr("내부 팬 세척 진행 중입니다."));
+            break;
+        case 3:
+            ui->washStepTypeLabel->setText(tr("내부 스팀 불림 진행 중입니다."));
+            break;
+        case 4:
+            ui->washStepTypeLabel->setText(tr("내부 강 세척 진행 중입니다."));
+            break;
+        case 5:
+            ui->washStepTypeLabel->setText(tr("내부 상부 세척 진행 중입니다."));
+            break;
+        case 6:
+            ui->washStepTypeLabel->setText(tr("세제 세척 헹굼 중입니다."));
+            break;
+        case 7:
+            ui->washStepTypeLabel->setText(tr("세척 헹굼수 만드는 중입니다."));
+            break;
+        case 8:
+            ui->washStepTypeLabel->setText(tr("세척 건조 진행 중입니다."));
+            break;
+        case 9:
+            ui->washStepTypeLabel->setText(tr("세제 투입 진행 중입니다."));
+            break;
+        case 10:
+            ui->washStepTypeLabel->setText(tr("세척 진행 중입니다."));
+            break;
+        case 11:
+            ui->washStepTypeLabel->setText(tr("세척 진행 중입니다."));
+            break;
+        }
+#endif
     }
 
     switch (state)
-- 
2.1.4