瀏覽代碼

update VRF control logic

highing666 3 年之前
父節點
當前提交
308e456c2c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/controllers/equipment/vrf/basic.py

+ 2 - 0
app/controllers/equipment/vrf/basic.py

@@ -357,7 +357,9 @@ class VRFController1(VRFController):
                 new_speed = "M"
 
         # Recovery.
+        logger.debug(self.high_speed_time)
         if (a_now - arrow.get(self.high_speed_time)).seconds > 60 * 60:
+            logger.debug(self.high_speed_time)
             if new_speed == "HH":
                 new_speed = "M"