Commit d1d566994af6716cd9fd69be745dc87794cd3599

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

에러 발생 시그널 추가

app/gui/oven_control/ovenstatics.cpp
@@ -570,6 +570,8 @@ void OvenStatistics::processErrorItems(error_item *item, error_exe_type errtype, @@ -570,6 +570,8 @@ void OvenStatistics::processErrorItems(error_item *item, error_exe_type errtype,
570 item->last_fried = ltime; 570 item->last_fried = ltime;
571 } 571 }
572 572
  573 + emit onErrorFired(erridx);
  574 +
573 if(errtype>=error_type_chkclrstopcmd){ 575 if(errtype>=error_type_chkclrstopcmd){
574 qDebug() << "exec killchild"; 576 qDebug() << "exec killchild";
575 if(MainWindow::killChildCook()){ 577 if(MainWindow::killChildCook()){
app/gui/oven_control/ovenstatics.h
@@ -416,6 +416,9 @@ public slots: @@ -416,6 +416,9 @@ public slots:
416 void onDataChanged(); 416 void onDataChanged();
417 void oneSecTimerFired(void); 417 void oneSecTimerFired(void);
418 void onErrorPopupClosed(int erridx); 418 void onErrorPopupClosed(int erridx);
  419 +
  420 +signals:
  421 + void onErrorFired(int erridx);
419 }; 422 };
420 423
421 #endif // OVENSTATICS_H 424 #endif // OVENSTATICS_H