Browse Source

局部修改加热退出条件

LAPTOP-EG88H5BE\86151 2 years ago
parent
commit
cf63bf1cfd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/EmbeddedCoder_src/TMS.c

+ 1 - 1
src/EmbeddedCoder_src/TMS.c

@@ -31,7 +31,7 @@ void TMS(void)
     }
     else
     {
-        if (JudgeTimeSystem(1, sfmd_T_modTMin >= tmsc_T_closeMinThr, &TminOverNr,5) || JudgeTimeSystem(1, sfmd_T_modTMax >= tmsc_T_closeMaxThr, &TmaxOverNr,5) || (ihd_st_chrgConnect == 0 && socd_pct_battSoc < tmsc_pct_socClos))
+        if (JudgeTimeSystem(1, sfmd_T_modTMin >= tmsc_T_closeMinThr, &TminOverNr,5) || JudgeTimeSystem(1, sfmd_T_modTMax >= tmsc_T_closeMaxThr, &TmaxOverNr,5) || (ihd_st_chrgConnect == 0 && (socd_pct_battSoc < tmsc_pct_socClos || ihd_st_disChrgMosControl == 0)))
         {
             tmsd_st_heatAct = 0;
         }