diff --git a/Hyt2/APP/Device/device_Other/device_heat.c b/Hyt2/APP/Device/device_Other/device_heat.c index c3e5445..6a2b189 100644 --- a/Hyt2/APP/Device/device_Other/device_heat.c +++ b/Hyt2/APP/Device/device_Other/device_heat.c @@ -485,7 +485,7 @@ static char ptz_heat_data_collect_task() { ptz_heat_collect_adc1_task(); - if ( g_ptz.electric_current > 6 ) //过流 + if ( g_ptz.electric_current > 4.0 ) //过流 { overCurrTime++; } @@ -503,7 +503,7 @@ static char ptz_heat_data_collect_task() } else { - if ( g_ptz.electric_current < 3.5 ) //电流恢复正常 + if ( g_ptz.electric_current < 2.0 ) //电流恢复正常 { currTime++; } diff --git a/Hyt2/APP/Service/service_statusmonitor.h b/Hyt2/APP/Service/service_statusmonitor.h index 6e3d153..af650af 100644 --- a/Hyt2/APP/Service/service_statusmonitor.h +++ b/Hyt2/APP/Service/service_statusmonitor.h @@ -107,14 +107,14 @@ #define PTZ_VOLT_DETECT_MIN 18.0//30.0 //ֵ - #define PTZ_CURRENT_DETECT 7.5//5.0 + #define PTZ_CURRENT_DETECT 5.5//5.0 //ֵ #define PTZ_HALL_DETECT 30//30 //ֵ // #define PHASE_CURRENT 5.0 - #define PHASE_CURRENT 20.0 + #define PHASE_CURRENT 10.0 #endif //L6235Dϸ̨