Explorar o código

modify params

chenhaiyang %!s(int64=5) %!d(string=hai) anos
pai
achega
b333dbce28
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      alarm.py

+ 1 - 1
alarm.py

@@ -38,7 +38,7 @@ class FanCoilUnitAlarm(Alarm):
 
                 air_temp_diff = self.get('return_air_temp') - abs(self.get('supply_air_temp'))
                 water_temp_diff = self.get('water_out_temp') - abs(self.get('water_in_temp'))
-                if air_temp_diff > 10 and water_temp_diff < 5:
+                if air_temp_diff > 15 and water_temp_diff < 1.5:
                     self.set_alarm(1)
 
         return