FIX: update the check logic

jira: [STUDIO-9715]
Change-Id: I38fcc7fb45c34b2ff675807b7dcbcd1aaa20449c
(cherry picked from commit 52cfb30119ff324b202ab768ff01cf883a24eaed)
This commit is contained in:
xin.zhang
2025-01-16 15:07:49 +08:00
committed by Noisyfox
parent b63e0ee556
commit ae267aeca5

View File

@@ -3896,7 +3896,7 @@ void StatusPanel::on_set_chamber_temp()
m_tempCtrl_chamber->Warning(false); m_tempCtrl_chamber->Warning(false);
} }
if (chamber_temp > obj->chamber_temp_switch_heat) if (chamber_temp >= obj->chamber_temp_switch_heat)
{ {
delete champer_switch_head_dlg; delete champer_switch_head_dlg;
champer_switch_head_dlg = new MessageDialog(nullptr, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. Please confirm whether to switch."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL); champer_switch_head_dlg = new MessageDialog(nullptr, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. Please confirm whether to switch."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);