From 40f46f32cb00f4304a691d4f027a76a13a9ebb6d Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 16 十二月 2019 15:11:36 +0800 Subject: [PATCH] 2019.12.16 --- ZigbeeApp/Shared/Phone/UserView/UserPage.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs index 97e4963..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 { @@ -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> -- Gitblit v1.8.0