Sfoglia il codice sorgente

局部修改加热退出条件

LAPTOP-EG88H5BE\86151 2 anni fa
parent
commit
cf63bf1cfd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
         }