From c0379d078e7919c9934085da038e8e3c20dee85a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 25 二月 2021 19:26:06 +0800 Subject: [PATCH] 2021-02-25 1.增加语音设备选择。2.增加场景全量更新上传。 --- 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