From 965290476c027deb96891cde1095d9a100581a6b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 20 二月 2020 09:13:32 +0800 Subject: [PATCH] 2020-02-20 1.优化更新。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs index 5a46325..5213ea0 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs @@ -322,7 +322,7 @@ UserHomePage.FrameLayoutMain.AddChidren (UserMiddle.guidePageView); var guide = new GuideAddResidence (); UserMiddle.guidePageView.AddChidren (guide); - guide.ShowHomeList (); + guide.ShowHomeView (); UserMiddle.guidePageView.PageIndex = 0; //閲嶇疆涓哄姞瀵嗘ā寮� UserConfig.Instance.IsLocalEncrypt = true; @@ -527,11 +527,11 @@ /// </summary> /// <param name="backBytes"></param> /// <returns></returns> - static bool CheckIsSuccessfulWithBytes (byte [] backBytes, string errorStr = "Modify gateway configuration failed!") + static bool CheckIsSuccessfulWithBytes (byte [] backBytes, string errorStr = "Modify gateway configuration failed,please try again!") { if (backBytes == null) { Application.RunOnMainThread (() => { - new Alert ("", Language.StringByID (R.MyInternationalizationString.TipEquipmentNotOnline), + new Alert ("", ErrorCode.GatewayNoResponse, Language.StringByID (R.MyInternationalizationString.Close)).Show (); }); return false; @@ -613,7 +613,7 @@ if (!result) { Application.RunOnMainThread (() => { MainPage.Loading.Hide (); - new Alert ("", ErrorCode.OperationFailed, Language.StringByID (R.MyInternationalizationString.Close)).Show (); + new Alert ("", "Encryption gateway failed, please try again.", Language.StringByID (R.MyInternationalizationString.Close)).Show (); }); -- Gitblit v1.8.0