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 | 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