From 1029eff76dcfcd19cd4cd5f22b53b70b8dd4d896 Mon Sep 17 00:00:00 2001 From: "REASEARCHER\\18383" <1633026436@qq.com> Date: Sat, 30 Aug 2025 09:20:26 +0800 Subject: [PATCH] =?UTF-8?q?heat80Gear=EF=BC=8C=E6=B8=A9=E5=BA=A6=E5=8A=A0?= =?UTF-8?q?=E7=83=AD=E9=98=88=E5=80=BC=E6=94=B9=E4=B8=BA-20=E2=84=83~-10?= =?UTF-8?q?=E2=84=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hyt2/APP/Device/device_Other/device_heat.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Hyt2/APP/Device/device_Other/device_heat.c b/Hyt2/APP/Device/device_Other/device_heat.c index e2bed31..c3e5445 100644 --- a/Hyt2/APP/Device/device_Other/device_heat.c +++ b/Hyt2/APP/Device/device_Other/device_heat.c @@ -378,10 +378,10 @@ static void ptz_heat_collect_adc1_task() // ntc1温度异常 if (m_heatData.ext_ntc1 < -90 && m_heatData.ext_ntc2 >= -90) { //判定是否需要加热 - if (m_heatData.ext_ntc2 < -25) { + if (m_heatData.ext_ntc2 < -20) { startHeat(); } - else if (m_heatData.ext_ntc2 > -15) { + else if (m_heatData.ext_ntc2 > -10) { closeHeat(); } } @@ -389,10 +389,10 @@ static void ptz_heat_collect_adc1_task() // ntc2温度异常 else if (m_heatData.ext_ntc2 < -90 && m_heatData.ext_ntc1 >= -90) { //判定是否需要加热 - if (m_heatData.ext_ntc1 < -25) { + if (m_heatData.ext_ntc1 < -20) { startHeat(); } - else if (m_heatData.ext_ntc1 > -15) { + else if (m_heatData.ext_ntc1 > -10) { closeHeat(); } } @@ -400,10 +400,10 @@ static void ptz_heat_collect_adc1_task() // ntc1、2都温度异常 else { //判定是否需要加热 - if (g_ptz.temperature < -25 || g_ptz.temperature < -25) { + if (g_ptz.temperature < -20 || g_ptz.temperature < -20) { startHeat(); } - else if (g_ptz.temperature > -15 && g_ptz.temperature > -15) { + else if (g_ptz.temperature > -10 && g_ptz.temperature > -10) { closeHeat(); } } @@ -411,10 +411,10 @@ static void ptz_heat_collect_adc1_task() } else { //判定是否需要加热 - if (m_heatData.ext_ntc1 < -25 || m_heatData.ext_ntc2 < -25) { + if (m_heatData.ext_ntc1 < -20 || m_heatData.ext_ntc2 < -20) { startHeat(); } - else if (m_heatData.ext_ntc1 > -15 && m_heatData.ext_ntc2 > -15) { + else if (m_heatData.ext_ntc1 > -10 && m_heatData.ext_ntc2 > -10) { closeHeat(); } }