This commit is contained in:
parent
c63b13fc40
commit
5793d73ff6
@ -1150,7 +1150,7 @@ void ThermalController::ctrlSBandTransceiver() {
|
||||
ctrlComponentTemperature(heater::HEATER_7_S_BAND, heater::HEATER_4_CAMERA,
|
||||
sBandTransceiverLimits);
|
||||
if (componentAboveCutOffLimit) {
|
||||
triggerEvent(SYRLINKS_OVERHEATING); //TODO: TEMP mitgeben
|
||||
triggerEvent(SYRLINKS_OVERHEATING, static_cast<u_int8_t>(sensorTemp)); //TODO: TEMP mitgeben
|
||||
}
|
||||
|
||||
}
|
||||
@ -1422,7 +1422,7 @@ void ThermalController::ctrlComponentTemperature(heater::Switchers switchNr,
|
||||
redSwitchNr)) { // TODO: muss der Heater dann wirklich abgeschalten werden?
|
||||
if (heaterHandler.checkSwitchState(switchNr)) {
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
||||
sif::info << "ThermalController::ctrlHeater: Heater" << switchNr << " OFF" << std::endl; // TODO: printouts löschen
|
||||
sif::info << "ThermalController::ctrlHeater: Heater" << static_cast<u_int8_t>(switchNr) << " OFF" << std::endl; // TODO: printouts löschen
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1475,7 +1475,7 @@ void ThermalController::ctrlHeater(heater::Switchers switchNr, heater::Switchers
|
||||
if (not heaterHandler.checkSwitchState(switchNr)) {
|
||||
if (sensorTemp < tempLimit.opLowerLimit) {
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::ON);
|
||||
sif::info << "ThermalController::ctrlHeater: Heater " << thermalComponent << " ON"
|
||||
sif::info << "ThermalController::ctrlHeater: Heater " << static_cast<u_int8_t>(thermalComponent) << " ON"
|
||||
<< std::endl;
|
||||
heaterStates[switchNr].switchTransition = true;
|
||||
thermalStates[thermalComponent].heating = true;
|
||||
@ -1489,7 +1489,7 @@ void ThermalController::ctrlHeater(heater::Switchers switchNr, heater::Switchers
|
||||
if (thermalStates[thermalComponent].heating) {
|
||||
if (sensorTemp >= tempLimit.opLowerLimit + TEMP_OFFSET) {
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
||||
sif::info << "ThermalController::ctrlHeater: Heater " << thermalComponent << " OFF"
|
||||
sif::info << "ThermalController::ctrlHeater: Heater " << static_cast<u_int8_t>(thermalComponent) << " OFF"
|
||||
<< std::endl;
|
||||
heaterStates[switchNr].switchTransition = true;
|
||||
thermalStates[thermalComponent].heating = false;
|
||||
@ -1500,7 +1500,7 @@ void ThermalController::ctrlHeater(heater::Switchers switchNr, heater::Switchers
|
||||
componentAboveOpUpperLimit = true;
|
||||
heaterHandler.switchHeater(switchNr, HeaterHandler::SwitchState::OFF);
|
||||
sif::info << "ThermalController::ctrlHeater: Reached CutOffLimit: Heater "
|
||||
<< thermalComponent << " OFF" << std::endl;
|
||||
<< static_cast<u_int8_t>(thermalComponent) << " OFF" << std::endl;
|
||||
heaterStates[switchNr].switchTransition = true;
|
||||
if (heaterHandler.checkSwitchState(redSwitchNr)) {
|
||||
heaterHandler.switchHeater(redSwitchNr, HeaterHandler::SwitchState::OFF);
|
||||
|
Loading…
Reference in New Issue
Block a user