Commit e49f3cacd6174183bd1e0ae4874c9f18f4172cba
1 parent
68459fdae8
Exists in
master
and in
2 other branches
자동 요리 기능 변경
- 자동 요리 단계 전환 시 오븐의 요리 모드 설정하도록 추가
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/gui/oven_control/autocook.cpp
... | ... | @@ -99,6 +99,7 @@ void AutoCook::nextStep() |
99 | 99 | { |
100 | 100 | startHumidity = oven->currentHumidity(); |
101 | 101 | startTemp = oven->currentTemp(); |
102 | + oven->setMode(nextStep.mode); | |
102 | 103 | oven->setHumidity(nextStep.humidity); |
103 | 104 | oven->setTemp(nextStep.temp); |
104 | 105 | oven->setFan(nextStep.fan); |
... | ... | @@ -140,6 +141,7 @@ void AutoCook::nextStep() |
140 | 141 | { |
141 | 142 | startHumidity = oven->currentHumidity(); |
142 | 143 | startTemp = oven->currentTemp(); |
144 | + oven->setMode(nextStep.mode); | |
143 | 145 | oven->setHumidity(nextStep.humidity); |
144 | 146 | oven->setTemp(nextStep.temp); |
145 | 147 | oven->setFan(nextStep.fan); | ... | ... |