From c404f2f369710fe72bbcc4cff2b7b8a2c11b5ff1 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 02 三月 2021 17:48:32 +0800 Subject: [PATCH] Merge branch 'master' into wjc --- 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