From fcebedf4555b2d597668006ba21ed47630343da3 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 24 八月 2020 14:37:07 +0800 Subject: [PATCH] 2020-08-24-2 --- ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs index efe72aa..4deb7fc 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs @@ -7,6 +7,7 @@ using ZigBee.Device; using Shared.Phone.Device.Logic.LogicView; + namespace Shared.Phone.Device.Logic { @@ -18,8 +19,7 @@ } public void Show() { - - + #region 鐣岄潰鐨勫竷灞�浠g爜 TopView view = new TopView(); this.AddChidren(view.TopRowView()); @@ -65,7 +65,6 @@ timeView.clickviewBtn.MouseUpEventHandler += (sender, e) => { - TimeView(); }; functionView.clickviewBtn.MouseUpEventHandler += (sender, e) => @@ -479,8 +478,18 @@ accounts.Add("Latitude", latitudW.ToString()); accounts.Add("Longitude", longitudeH.ToString()); accounts.Add("Radius", mRadius.ToString()); + + if (Send.It_Exist == "0") + { + //濡傛灉娌℃湁寮�鍚疓PS鏈嶅姟,鎵撳紑鏈嶅姟骞朵笖淇濆瓨鐘舵�佸湪鏈湴锛� + //娌℃湁鎵撳紑GPS鏈嶅姟,鍦扮悊鏉′欢鐢ㄤ笉浜嗭紱 + Application.StartGPSLocationService(); + Send.SaveLocalFile("GPS_File", "1"); + } + LogicIfon.Addaccounts(accounts); LogicIfon.AddLocationconditions(LocationConditionsInfo); + var logicCommunalPage = new LogicCommunalPage(); UserView.HomePage.Instance.AddChidren(logicCommunalPage); UserView.HomePage.Instance.PageIndex += 1; @@ -576,6 +585,7 @@ }; } + } } -- Gitblit v1.8.0