From f60ce72c3c29c7d31a046795c88ec39a69e73d45 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 06 一月 2021 17:33:54 +0800
Subject: [PATCH] 2021-01-06 1.替换新云端前期准备相关接口,和修改相关参数。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
index 04cec27..262bf5e 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
@@ -1,6 +1,5 @@
 锘縰sing System;
 using System.Collections.Generic;
-using service.hdlcontrol.com_push;
 
 namespace Shared.SimpleControl.Phone
 {
@@ -79,12 +78,12 @@
                         Room.Lists.Clear ();
                         new AccountLogin (MainPage.LoginUser.AccountString, "").Show ();
 
-                        System.Threading.Tasks.Task.Run (() => {
-                            WebServicePush webPush = new WebServicePush ();
-                            webPush.DeleteToken_Push (UserConfig.Instance.tokenID);
-                            if (string.IsNullOrEmpty (UserConfig.Instance.RemoteModeFile))
-                                return;
-                        });
+                        //System.Threading.Tasks.Task.Run (() => {
+                        //    WebServicePush webPush = new WebServicePush ();
+                        //    webPush.DeleteToken_Push (UserConfig.Instance.tokenID);
+                        //    if (string.IsNullOrEmpty (UserConfig.Instance.RemoteModeFile))
+                        //        return;
+                        //});
                         CommonPage.IsRemote = false;
                     }
                 };
@@ -266,10 +265,10 @@
                         new AccountLogin (MainPage.LoginUser.AccountString, "").Show ();
                         this.RemoveFromParent ();
                         SharedMethod.SharedMethod.CurPageLayout = null;
-                        System.Threading.Tasks.Task.Run (() => {
-                            var webPush = new WebServicePush ();
-                            webPush.DeleteToken_Push (UserConfig.Instance.tokenID);
-                        });
+                        //System.Threading.Tasks.Task.Run (() => {
+                        //    var webPush = new WebServicePush ();
+                        //    webPush.DeleteToken_Push (UserConfig.Instance.tokenID);
+                        //});
                         //2020-02-17 閫�鍑虹櫥褰曪紝鏂紑杩滅▼杩炴帴
                         if (CommonPage.IsRemote) {
                             Utlis.ShowAppLinkStatus (AppLinkStatus.WiFiOffline);
@@ -286,10 +285,10 @@
                         Room.Lists.Clear ();
                         new AccountLogin (MainPage.LoginUser.AccountString, "").Show ();
                         this.RemoveFromParent ();
-                        System.Threading.Tasks.Task.Run (() => {
-                            var webPush = new WebServicePush ();
-                            webPush.DeleteToken_Push (UserConfig.Instance.tokenID);
-                        });
+                        //System.Threading.Tasks.Task.Run (() => {
+                        //    var webPush = new WebServicePush ();
+                        //    webPush.DeleteToken_Push (UserConfig.Instance.tokenID);
+                        //});
                         //CommonPage.IsRemote = false;
                         //2020-02-17 閫�鍑虹櫥褰曪紝鏂紑杩滅▼杩炴帴
                         if (CommonPage.IsRemote) {

--
Gitblit v1.8.0