ENH: do not popup if at heating mode

jira: [STUDIO-11471]
Change-Id: Ic7a6b33b84cf0880a7f4c2581c9ccdd1ef752cec
This commit is contained in:
xin.zhang 2025-04-15 15:27:10 +08:00 committed by lane.wei
parent eac75df634
commit 1480c97ffa
2 changed files with 2 additions and 1 deletions

View File

@ -812,6 +812,7 @@ public:
//new fan data
AirDuctData m_air_duct_data;
bool is_at_heating_mode() const { return m_air_duct_data.curren_mode == AIR_DUCT_HEATING_INTERNAL_FILT; };
void converse_to_duct(bool is_suppt_part_fun, bool is_suppt_aux_fun, bool is_suppt_cham_fun); // Convert the data to duct type to make the newand old protocols consistent
/* signals */

View File

@ -4128,7 +4128,7 @@ void StatusPanel::on_set_chamber_temp()
m_tempCtrl_chamber->Warning(false);
}
if (chamber_temp >= obj->chamber_temp_switch_heat)
if (!obj->is_at_heating_mode() && chamber_temp >= obj->chamber_temp_switch_heat)
{
#ifndef __APPLE__
MessageDialog champer_switch_head_dlg(this, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. "