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(); } }