Ver Fonte

局部修改加热退出条件

LAPTOP-EG88H5BE\86151 há 2 anos atrás
pai
commit
cf63bf1cfd
1 ficheiros alterados com 1 adições e 1 exclusões
  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;
         }