From 41995c4cd30ca1c5a814ea0af6f70d3b86368137 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 20 八月 2021 09:07:07 +0800
Subject: [PATCH] 2021-08-20 09:06:44

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 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..69f180e 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/SenesorMegahealth/AddSenesorMegahealthDirection1Page.cs
@@ -3,8 +3,6 @@
 using HDL_ON.Stan;
 using Shared;
 using System;
-using System.Collections.Generic;
-using System.Text;
 
 namespace HDL_ON.UI
 {
@@ -128,6 +126,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