From fc5b60d9fb2a36f2a06c885c17ae6f8e35e9120f Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 07 六月 2021 15:26:56 +0800 Subject: [PATCH] 5月迭代,6月发布的版本 --- HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/SenesorMegahealthManagerPage.cs | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/SenesorMegahealthManagerPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/SenesorMegahealthManagerPage.cs index acd8f61..c35f687 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/SenesorMegahealthManagerPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/SenesorMegahealthManagerPage.cs @@ -87,11 +87,28 @@ btnDel.MouseUpEventHandler = (sender, e) => { var pack = PirSend.DeleteDevice(function.deviceId); - if(pack.Code == StateCode.SUCCESS) + if (pack.Code == StateCode.SUCCESS) { DelDeviceEvent?.Invoke(); this.CloseForm(); - }else + var mes = ""; + if (Language.CurrentLanguage == "Chinese") + { + mes = "璁惧鍒犻櫎鎴愬姛銆�"; + } + else + { + mes = "Device deleted successfully."; + } + var tip = new Tip() + { + Text = mes, + CloseTime = 2, + Direction = AMPopTipDirection.None + }; + tip.Show(MainPage.BaseView); + } + else { IMessageCommon.Current.ShowErrorInfoAlter(pack.Code); } -- Gitblit v1.8.0