Commit b6c9062d539d8495941d790c91671e7b38153219
1 parent
1b66934752
Exists in
master
수위 대신 밸브 개폐를 기준으로 변경
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
app/gui/oven_control/define.h
app/gui/oven_control/haccp.cpp
@@ -61,11 +61,11 @@ QTime lastStampedTime; | @@ -61,11 +61,11 @@ QTime lastStampedTime; | ||
61 | 61 | ||
62 | Define::Mode lastMode; | 62 | Define::Mode lastMode; |
63 | int lastFan; | 63 | int lastFan; |
64 | -int lastWaterLevel; | ||
65 | bool lastDoor; | 64 | bool lastDoor; |
66 | bool lastDamper; | 65 | bool lastDamper; |
67 | bool lastSideNozzle; | 66 | bool lastSideNozzle; |
68 | bool lastCoreTempEnabled; | 67 | bool lastCoreTempEnabled; |
68 | +bool lastValve; | ||
69 | 69 | ||
70 | int figureProcessCount(); | 70 | int figureProcessCount(); |
71 | void initData(Type type); | 71 | void initData(Type type); |
@@ -383,11 +383,11 @@ void start() | @@ -383,11 +383,11 @@ void start() | ||
383 | { | 383 | { |
384 | lastMode = Define::InvalidMode; | 384 | lastMode = Define::InvalidMode; |
385 | lastFan = -1; | 385 | lastFan = -1; |
386 | - lastWaterLevel = -1; | ||
387 | lastDoor = false; | 386 | lastDoor = false; |
388 | lastDamper = false; | 387 | lastDamper = false; |
389 | lastSideNozzle = false; | 388 | lastSideNozzle = false; |
390 | lastCoreTempEnabled = false; | 389 | lastCoreTempEnabled = false; |
390 | + lastValve = false; | ||
391 | 391 | ||
392 | Oven *oven = Oven::getInstance(); | 392 | Oven *oven = Oven::getInstance(); |
393 | stampMode(oven->mode()); | 393 | stampMode(oven->mode()); |
@@ -433,7 +433,7 @@ void stamp(QString caption) | @@ -433,7 +433,7 @@ void stamp(QString caption) | ||
433 | data.records.append(s); | 433 | data.records.append(s); |
434 | 434 | ||
435 | lastDoor = oven->door(); | 435 | lastDoor = oven->door(); |
436 | - lastWaterLevel = udp->waterLevel(); | 436 | + lastValve = udp->ssv(); |
437 | lastStampedTime.start(); | 437 | lastStampedTime.start(); |
438 | } | 438 | } |
439 | 439 | ||
@@ -664,8 +664,8 @@ void check() | @@ -664,8 +664,8 @@ void check() | ||
664 | if (oven->door() != lastDoor) | 664 | if (oven->door() != lastDoor) |
665 | stamp(); | 665 | stamp(); |
666 | 666 | ||
667 | -#if WATER_LEVEL_HACCP_STAMP | ||
668 | - if (udp->waterLevel() != lastWaterLevel) | 667 | +#if VALVE_HACCP_STAMP |
668 | + if (udp->ssv() != lastValve) | ||
669 | stamp(); | 669 | stamp(); |
670 | #endif | 670 | #endif |
671 | 671 |