From 383e792a45268d220cb0e2bf1e9823ba451c428f Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 29 三月 2021 18:30:53 +0800 Subject: [PATCH] 2021-03-29 1.更新 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Method.cs | 31 +------------------------------ 1 files changed, 1 insertions(+), 30 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Method.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Method.cs index 4916e1e..2461a8b 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Method.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Method.cs @@ -247,35 +247,6 @@ } return null; } - /// <summary> - //(1)Success 鍒欒皟鐢ㄦ鎺ュ彛鎴愬姛 - //(2)NoRecord 浣忓畢鏈粦瀹氱綉鍏筹紒 - //(3)NoExist 浣忓畢涓嶅瓨鍦紒 - /// </summary> - public void ShowGetTimerListErrorInfo (string stateCodeStr) - { - string mes = ""; - if (stateCodeStr == "NoRecord") { - // 浣忓畢鏈粦瀹氱綉鍏筹紒 - mes = ErrorCode.HomeNoRecord; - } else if (stateCodeStr == "NoExist") { - //浣忓畢涓嶅瓨鍦紒 - mes = ErrorCode.HomeNoExist; - } else if (stateCodeStr == ErrorCode.NetworkError) { - mes = ErrorCode.NetworkError; - } else { - mes = ErrorCode.OperationFailed + ErrorCode.Reason + stateCodeStr; - - } - if (!string.IsNullOrEmpty (mes)) { - Application.RunOnMainThread (() => { - new Alert ("", mes, Language.StringByID (Shared.SimpleControl.R.MyInternationalizationString.Close)).Show (); - }); - } - - - - - } + } } -- Gitblit v1.8.0