From a35617eb62b317bf3ed92b1462018cf67c920411 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 15 十二月 2020 15:17:35 +0800
Subject: [PATCH] 2020-12-15-2

---
 HDL_ON/Entity/Function/Function.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index 4063399..578e86f 100644
--- a/HDL_ON/Entity/Function/Function.cs
+++ b/HDL_ON/Entity/Function/Function.cs
@@ -487,7 +487,7 @@
                 switch (key)
                 {
                     case "temperature":
-                    case "set_temperature":
+                    case "set_temp":
                         us = "掳C";
                         break;
                     case "percent":
@@ -527,7 +527,7 @@
                         text = Language.StringByID(StringId.FanSpeed);
                         break;
                     case "temperature":
-                case "set_temperature":
+                case "set_temp":
                         text = Language.StringByID(StringId.Temp);
                         break;
                     case "delay":
@@ -590,7 +590,7 @@
                     text = value == "on" ? Language.StringByID(StringId.On) : Language.StringByID(StringId.OFF);
                     break;
                 case "temperature":
-                case "set_temperature":
+                case "set_temp":
                 case "brightness":
                 case "percent":
                     if (value == "")
@@ -775,6 +775,10 @@
         /// 鐧惧垎姣�
         /// </summary>
         public const string Percent = "percent";
+        /// <summary>
+        /// 瀹ゅ唴娓╁害
+        /// </summary>
+        public const string IndoorTemp = "room_temp";
     }
     /// <summary>
     /// 璁惧鍔熻兘oid

--
Gitblit v1.8.0