From 16e4e24069447ff1e377650c1d71549a8b35a808 Mon Sep 17 00:00:00 2001 From: taehoon Date: Mon, 10 Jan 2022 16:11:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=9C=84=20=EB=8C=80=EC=8B=A0=20?= =?UTF-8?q?=EB=B0=B8=EB=B8=8C=20=EA=B0=9C=ED=8F=90=EB=A5=BC=20=EA=B8=B0?= =?UTF-8?q?=EC=A4=80=EC=9C=BC=EB=A1=9C=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 | 4 ++-- app/gui/oven_control/haccp.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/gui/oven_control/define.h b/app/gui/oven_control/define.h index 9775dc7..117a02c 100644 --- a/app/gui/oven_control/define.h +++ b/app/gui/oven_control/define.h @@ -9,10 +9,10 @@ // 0 for normal // 1 for premium -#define MODEL_GRADE 0 +#define MODEL_GRADE 1 #define ENABLE_WASH_RESUMING 0 -#define WATER_LEVEL_HACCP_STAMP 0 +#define VALVE_HACCP_STAMP 1 namespace Define { diff --git a/app/gui/oven_control/haccp.cpp b/app/gui/oven_control/haccp.cpp index a08ee94..65d04cd 100644 --- a/app/gui/oven_control/haccp.cpp +++ b/app/gui/oven_control/haccp.cpp @@ -61,11 +61,11 @@ QTime lastStampedTime; Define::Mode lastMode; int lastFan; -int lastWaterLevel; bool lastDoor; bool lastDamper; bool lastSideNozzle; bool lastCoreTempEnabled; +bool lastValve; int figureProcessCount(); void initData(Type type); @@ -383,11 +383,11 @@ void start() { lastMode = Define::InvalidMode; lastFan = -1; - lastWaterLevel = -1; lastDoor = false; lastDamper = false; lastSideNozzle = false; lastCoreTempEnabled = false; + lastValve = false; Oven *oven = Oven::getInstance(); stampMode(oven->mode()); @@ -433,7 +433,7 @@ void stamp(QString caption) data.records.append(s); lastDoor = oven->door(); - lastWaterLevel = udp->waterLevel(); + lastValve = udp->ssv(); lastStampedTime.start(); } @@ -664,8 +664,8 @@ void check() if (oven->door() != lastDoor) stamp(); -#if WATER_LEVEL_HACCP_STAMP - if (udp->waterLevel() != lastWaterLevel) +#if VALVE_HACCP_STAMP + if (udp->ssv() != lastValve) stamp(); #endif -- 2.1.4