Commit 7cf3f7f9d5a1d1c1169ac5c5b019e0462ab064ff

Authored by 고영탁
1 parent 4ce5842c73
Exists in master and in 2 other branches fhd, fhd-demo

에러 처리 기능 누락 수정

- 에러클리어 메시지 송신
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,7 +65,6 @@ void OvenStatics::onDataChanged()
65 time_t ltime=0; 65 time_t ltime=0;
66 uint16_t errstatetemp; 66 uint16_t errstatetemp;
67 qDebug() << "statics event fired"; 67 qDebug() << "statics event fired";
68 - return;  
69 udp->fillControl(control); 68 udp->fillControl(control);
70 udp->fillData(state); 69 udp->fillData(state);
71 bDataRefreshed = true; 70 bDataRefreshed = true;
@@ -345,7 +344,6 @@ void OvenStatics::oneSecTimerFired(void){ @@ -345,7 +344,6 @@ void OvenStatics::oneSecTimerFired(void){
345 srvdatas->use_log.items.cooldown_mode+=1; 344 srvdatas->use_log.items.cooldown_mode+=1;
346 } 345 }
347 //부품 346 //부품
348 - qDebug() << "door state = " <<state.door_state;  
349 if(state.door_state !=0){ 347 if(state.door_state !=0){
350 srvdatas->use_log.items.door_open+=1; 348 srvdatas->use_log.items.door_open+=1;
351 realdata.b.door_open = 1; 349 realdata.b.door_open = 1;
@@ -507,6 +505,7 @@ void OvenStatics::processErrorItems(error_item *item, error_exe_type errtype, co @@ -507,6 +505,7 @@ void OvenStatics::processErrorItems(error_item *item, error_exe_type errtype, co
507 } 505 }
508 else{ 506 else{
509 //에러클리어 메시지 즉시 송신 507 //에러클리어 메시지 즉시 송신
  508 + udp->set(TG_ERROR_CLEAR,0xCECE);
510 } 509 }
511 } 510 }
512 511