From 0827ab8fb6eb60354a080b86616ffc0e8538fc54 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 03 三月 2021 09:34:01 +0800
Subject: [PATCH] 2021-3-3-1

---
 Crabtree/SmartHome/HDL/Operation/Device/FoolHeat.cs |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Operation/Device/FoolHeat.cs b/Crabtree/SmartHome/HDL/Operation/Device/FoolHeat.cs
old mode 100755
new mode 100644
index f37c812..1aa6b00
--- a/Crabtree/SmartHome/HDL/Operation/Device/FoolHeat.cs
+++ b/Crabtree/SmartHome/HDL/Operation/Device/FoolHeat.cs
@@ -153,5 +153,24 @@
             WorkMode = 9,
             Null = 999,
         }
-	}
+
+
+        /// <summary>
+        /// 妯″紡A鍗忚灞炴��
+        /// </summary>
+        /// <returns></returns>
+        public string SetModeAttribute {
+            get {
+                return TemperatureType switch {
+                    1 => "normal",
+                    2 => "day",
+                    3 => "night",
+                    4 => "away",
+                    5 => "timer",
+                    _ => "normal",
+                };
+            }
+        }
+
+    }
 }
\ No newline at end of file

--
Gitblit v1.8.0