瀏覽代碼

fix an error

highing666 3 年之前
父節點
當前提交
d2b7f22b39
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controllers/equipment/fcu/early_start.py

+ 1 - 1
app/controllers/equipment/fcu/early_start.py

@@ -27,7 +27,7 @@ class EarlyStartTimeDTRBuilder:
             return 0
 
         try:
-            pre = model.predict([[outdoor_temp, indoor_temp]])
+            pre = model.predict([[indoor_temp, outdoor_temp]])
             pre_time = pre[0]
         except (ValueError, IndexError):
             pre_time = 0