From 4c17caa61bc3b0a05a2b303bccdfedfbf3853f6d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 24 十一月 2020 15:58:10 +0800 Subject: [PATCH] 2020-11-24 1.优化登录界面失败提示。 --- HDL_ON/Entity/Function/AC.cs | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/HDL_ON/Entity/Function/AC.cs b/HDL_ON/Entity/Function/AC.cs index 83eda9e..671f080 100644 --- a/HDL_ON/Entity/Function/AC.cs +++ b/HDL_ON/Entity/Function/AC.cs @@ -1,20 +1,17 @@ 锘縰sing System; -using System.Collections; using System.Collections.Generic; -using Newtonsoft.Json.Linq; -using Shared; namespace HDL_ON.Entity { 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閿佸畾鎺у埗) */ @@ -240,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, @@ -257,7 +254,6 @@ return _trait_temp; } } - Trait _trait_swting; [Newtonsoft.Json.JsonIgnore] -- Gitblit v1.8.0