From d9894fc2e45d2521c78ad4c11dd9b549ec4f75ca Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 23 十二月 2020 12:05:07 +0800 Subject: [PATCH] 2020-12-23-1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/InterfaceDsplaysLogic.cs | 79 --------------------------------------- 1 files changed, 1 insertions(+), 78 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InterfaceDsplaysLogic.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InterfaceDsplaysLogic.cs index 768f037..2950c36 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InterfaceDsplaysLogic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InterfaceDsplaysLogic.cs @@ -258,83 +258,6 @@ return stateList; } - /// <summary> - /// 妯″紡/椋庨�熶簰鐩歌浆鎹㈠�肩殑鏂规硶 - /// </summary> - /// <param name="text"></param> - /// <param name="type"></param> - /// <returns></returns> - public static string GetModeValueString(string text, string type) - { - string str = ""; - switch (type) - { - case "mode": - { - if (text == Language.StringByID(StringId.coolLogic)) - { - str = "cool"; - } - else if (text == Language.StringByID(StringId.heatingLogic)) - { - str = "heat"; - } - else if (text == Language.StringByID(StringId.autoLogic)) - { - str = "auto"; - } - else if (text == Language.StringByID(StringId.dehumidifyLogic)) - { - str = "dry"; - } - } - break; - case "fan": - { - if (text == Language.StringByID(StringId.HighWindSpeed)) - { - str = "high"; - } - else if (text == Language.StringByID(StringId.MiddleWindSpeed)) - { - str = "medium"; - } - else if (text == Language.StringByID(StringId.LowWindSpeed)) - { - str = "low"; - } - else if (text == Language.StringByID(StringId.Auto)) - { - str = "auto"; - } - } - break; - case "FloorHeating": - { - if (text == Language.StringByID(StringId.dayMode)) - { - str = "day"; - } - else if (text == Language.StringByID(StringId.nightMode)) - { - str = "night"; - } - else if (text == Language.StringByID(StringId.leaveMode)) - { - str = "away"; - } - else if (text == Language.StringByID(StringId.ordinaryMode)) - { - str = "normal"; - } - else if (text == Language.StringByID(StringId.timeMode)) - { - str = "timer"; - } - } - break; - } - return str; - } + } } -- Gitblit v1.8.0