From c988ba6b217e0c619628e6920b06743465c4d3ac Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 08 十二月 2020 17:24:28 +0800
Subject: [PATCH] 2020-12-08-002

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
index 6eeaa59..33fc008 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -316,7 +316,7 @@
                 deviceStrTypeList.Add(Language.StringByID(StringId.AC));
             }
             var floorHeating = deviceList.Find((device) => device.functionType == FunctionType.FloorHeating);
-            if (ac != null)
+            if (floorHeating != null)
             {
                 deviceStrTypeList.Add(Language.StringByID(StringId.FloorHeating));
             }

--
Gitblit v1.8.0