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 | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserView/UserPage.cs b/ZigbeeApp/Shared/Phone/UserView/UserPage.cs index 63af97b..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> @@ -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