From 6cbd0936d3245fd7c433884ac9c1f5448a7cf657 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 13 十二月 2019 13:49:44 +0800 Subject: [PATCH] 合并了代码 --- ZigbeeApp/Shared/Phone/UserView/UserPage.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs index 6f8fb12..ba987ee 100755 --- a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs +++ b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs @@ -3,7 +3,8 @@ using Shared.Common; using ZigBee.Device; using Shared.Phone.Device.AC; - +using Shared.Phone.Device.Account; + namespace Shared.Phone.UserView { /// <summary> @@ -39,7 +40,7 @@ /// <summary> /// 搴曢儴鎸夐挳鏂囧瓧鐨刌鍊� /// </summary> - private static readonly int tabBarEnumName_Y = 104; + private static readonly int tabBarEnumName_Y = 98; #endregion #region 鈼� 鎺ュ彛____________________________ @@ -328,6 +329,10 @@ { BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor; ZbGateway.StatusList.Add(this); + Shared.Application.LocationAction += (lat, lon) => + { + AccountLogic.Instance.ReceiveAppLatAndLon(lat.ToString(), lon.ToString()); + }; } /// <summary> -- Gitblit v1.8.0