From 6d3ba9484472d090532434e53667c096652149ce Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 25 九月 2020 09:56:14 +0800
Subject: [PATCH] 202009251

---
 HDL_ON/Entity/Function/AC.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/Entity/Function/AC.cs b/HDL_ON/Entity/Function/AC.cs
index 952b8b2..671f080 100644
--- a/HDL_ON/Entity/Function/AC.cs
+++ b/HDL_ON/Entity/Function/AC.cs
@@ -6,12 +6,12 @@
     public class AC : Function
     {
         /*
-         * 绌鸿皟锛歵rait: [switch, mode, fan, temperature, swing, lock]
+         * 绌鸿皟锛歵rait: [switch, mode, fan, set_temperature, swing, lock]
          * 灞炴��	鎻忚堪
          * on_off	on/off
          * mode	mode: auto, cool, heat, dry, fan
          * fan	high, medium, low, auto
-         * temperature	up,down,value
+         * set_temperature	up,down,value
          * swing	up/down/left/right
          * lock	boolean (Lock閿佸畾鎺у埗)
          */
@@ -237,13 +237,13 @@
             {
                 if (_trait_temp == null)
                 {
-                    _trait_temp = function.Find((obj) => obj.name == "temperature");
+                    _trait_temp = function.Find((obj) => obj.name == "set_temperature");
                     //鎵句笉鍒板睘鎬ч渶瑕佸0鏄庝竴涓紝闃叉鎶ラ敊闂��
                     if (_trait_temp == null)
                     {
                         _trait_temp = new Trait()
                         {
-                            name = "temperature",
+                            name = "set_temperature",
                             value_key = new List<string> { },
                             max = 32,
                             min = 16,

--
Gitblit v1.8.0