Ver código fonte

变更科易其他温度报警阈值至99℃,其他电池不变

Eric412V 2 anos atrás
pai
commit
d03c15b050
1 arquivos alterados com 8 adições e 2 exclusões
  1. 8 2
      LIB/MIDDLE/SaftyCenter/Common/QX_BatteryParam.py

+ 8 - 2
LIB/MIDDLE/SaftyCenter/Common/QX_BatteryParam.py

@@ -5,7 +5,7 @@ class BatteryInfo():
         self.AllowDsChgTemp=-5
         self.AvgVolGap=1
         self.AvgCellTempGap=10
-        self.AvgOtherTempGap=40
+        
         self.PackOTlmt=65
         self.PackUTlmt=-20
         self.OtherOTlmt=91
@@ -31,6 +31,7 @@ class BatteryInfo():
             self.CellOVlmt=5
             self.CellUVlmt=2
             self.CantChrgVol=3
+            self.AvgOtherTempGap=99
           
         elif celltype==2: #4840
             self.Capacity = 41
@@ -48,7 +49,8 @@ class BatteryInfo():
             self.DifVolGap = 3
             self.CellOVlmt=5
             self.CellUVlmt=2
-            self.CantChrgVol=3        
+            self.CantChrgVol=3
+            self.AvgOtherTempGap=99        
 
         elif  celltype==3:   #力信50ah三元电芯
             self.Capacity = 51
@@ -67,6 +69,7 @@ class BatteryInfo():
             self.CellOVlmt=5
             self.CellUVlmt=2
             self.CantChrgVol=3
+            self.AvgOtherTempGap=40
 
         elif celltype==4:   #CATL 50ah三元电芯
             self.Capacity = 50
@@ -85,6 +88,7 @@ class BatteryInfo():
             self.CellOVlmt=5
             self.CellUVlmt=2
             self.CantChrgVol=3
+            self.AvgOtherTempGap=40
           
 
         elif celltype==99:   #60ah磷酸铁锂电芯
@@ -111,6 +115,7 @@ class BatteryInfo():
             self.CellOVlmt=4
             self.CellUVlmt=2
             self.CantChrgVol=2.6
+            self.AvgOtherTempGap=99
  
 
         elif celltype==100:
@@ -137,6 +142,7 @@ class BatteryInfo():
             self.CellOVlmt=4
             self.CellUVlmt=2
             self.CantChrgVol=2.6
+            self.AvgOtherTempGap=40
  
 
         else: