From eb424d24e39bab4a245725f35deab3f234ea0f13 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 13 十二月 2019 10:48:50 +0800
Subject: [PATCH] 2019.12.13

---
 ZigbeeApp/Shared/Phone/UserView/UserPage.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
index 4e7b0c3..4bb15b0 100644
--- a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs
@@ -3,6 +3,8 @@
 using Shared.Common;
 using ZigBee.Device;
 using Shared.Phone.Device.AC;
+using System.Text;
+using Shared.Phone.Device.Account;
 
 namespace Shared.Phone.UserView
 {
@@ -39,7 +41,7 @@
         /// <summary>
         /// 搴曢儴鎸夐挳鏂囧瓧鐨刌鍊�
         /// </summary>
-        private static readonly int tabBarEnumName_Y = 104;
+        private static readonly int tabBarEnumName_Y = 98;
         #endregion
 
         #region 鈼� 鎺ュ彛____________________________
@@ -328,6 +330,10 @@
         {
             BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
             ZbGateway.StatusList.Add(this);
+            Shared.Application.LocationAction += (lat, lon) =>
+            {
+                AccountLogic.Instance.ReceiveAppLatAndLon(lat.ToString(), lon.ToString());
+            };
         }
 
         /// <summary>
@@ -495,7 +501,7 @@
                 var home = new UserHomeView { };
                 Instance.BodyView.AddChidren(home);
                 home.Show();
-                
+
             }
             else if (sender == Instance.categoryIMG || sender==Instance.categoryName)
             {

--
Gitblit v1.8.0