|
|
@ -438,7 +438,7 @@ void MainWindow::apply_order_to_heaters(void) |
|
|
|
case AUTO: |
|
|
|
qDebug() << "apply AUTO state"; |
|
|
|
apply_automatic_state(); |
|
|
|
break; |
|
|
|
return; |
|
|
|
case ON: |
|
|
|
heating_order = true; |
|
|
|
/* fall through */ |
|
|
@ -446,13 +446,13 @@ void MainWindow::apply_order_to_heaters(void) |
|
|
|
/* fall through */ |
|
|
|
default: |
|
|
|
emit setAllHeatersOn(heating_order); |
|
|
|
|
|
|
|
for (int i = 0; i < s->m_rooms.count(); i++) { |
|
|
|
m_zones.at(i)->refresh(); |
|
|
|
} |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
for (int i = 0; i < s->m_rooms.count(); i++) { |
|
|
|
m_zones.at(i)->refresh(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void MainWindow::temperature_slot(int idx, double val) |
|
|
|