From adc150efb13a0506f45a3c344c3ee2ef2dba8e90 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:19:13 +0800
Subject: [PATCH] 合并嘉乐lc代码

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs
index 20b2b55..b45f8ee 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs
@@ -128,6 +128,27 @@
                                     AddDeviceEvent?.Invoke(new Function());
                                     this.CloseForm();
                                 });
+                            }else if(pack.Code == "10801" || pack.Code == "9")
+                            {
+                                var mes = "";
+                                if (Language.CurrentLanguage == "Chinese")
+                                {
+                                    mes = "璇ヨ澶囧凡缁忚娣诲姞銆�";
+                                }
+                                else
+                                {
+                                    mes = "This device has been added.";
+                                }
+                                Application.RunOnMainThread(() =>
+                                {
+                                    var tip = new Tip()
+                                    {
+                                        Text = mes,
+                                        CloseTime = 2,
+                                        Direction = AMPopTipDirection.None
+                                    };
+                                    tip.Show(MainPage.BaseView);
+                                });
                             }
                             else
                             {

--
Gitblit v1.8.0