Commit 7cf3f7f9d5a1d1c1169ac5c5b019e0462ab064ff
1 parent
4ce5842c73
Exists in
master
and in
2 other branches
에러 처리 기능 누락 수정
- 에러클리어 메시지 송신
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/gui/oven_control/ovenstatics.cpp
| ... | ... | @@ -65,7 +65,6 @@ void OvenStatics::onDataChanged() |
| 65 | 65 | time_t ltime=0; |
| 66 | 66 | uint16_t errstatetemp; |
| 67 | 67 | qDebug() << "statics event fired"; |
| 68 | - return; | |
| 69 | 68 | udp->fillControl(control); |
| 70 | 69 | udp->fillData(state); |
| 71 | 70 | bDataRefreshed = true; |
| ... | ... | @@ -345,7 +344,6 @@ void OvenStatics::oneSecTimerFired(void){ |
| 345 | 344 | srvdatas->use_log.items.cooldown_mode+=1; |
| 346 | 345 | } |
| 347 | 346 | //부품 |
| 348 | - qDebug() << "door state = " <<state.door_state; | |
| 349 | 347 | if(state.door_state !=0){ |
| 350 | 348 | srvdatas->use_log.items.door_open+=1; |
| 351 | 349 | realdata.b.door_open = 1; |
| ... | ... | @@ -507,6 +505,7 @@ void OvenStatics::processErrorItems(error_item *item, error_exe_type errtype, co |
| 507 | 505 | } |
| 508 | 506 | else{ |
| 509 | 507 | //에러클리어 메시지 즉시 송신 |
| 508 | + udp->set(TG_ERROR_CLEAR,0xCECE); | |
| 510 | 509 | } |
| 511 | 510 | } |
| 512 | 511 | ... | ... |