Explorar o código

局部修改加热退出条件

LAPTOP-EG88H5BE\86151 %!s(int64=2) %!d(string=hai) anos
pai
achega
cf63bf1cfd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }