From b6c9062d539d8495941d790c91671e7b38153219 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 | 2 +- app/gui/oven_control/haccp.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/gui/oven_control/define.h b/app/gui/oven_control/define.h index d213f68..fdfab9c 100644 --- a/app/gui/oven_control/define.h +++ b/app/gui/oven_control/define.h @@ -12,7 +12,7 @@ #define MODEL_GRADE 1 #define ENABLE_WASH_RESUMING 0 -#define WATER_LEVEL_HACCP_STAMP 1 +#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