陈嘉乐
2020-09-02 652243206427f35a256400a149a1734085824cb9
ZigbeeApp/Shared/Phone/Device/Logic/AddLogicPage.cs
old mode 100644 new mode 100755
@@ -24,7 +24,7 @@
            TopView view = new TopView();
            this.AddChidren(view.TopRowView());
            view.toptitleNameBtn.TextID = MyInternationalizationString.selection;
            view.clickBtn.MouseDownEventHandler += (sender, e) => { RemoveFromParent(); };
            view.clickBtn.MouseDownEventHandler += (sender, e) => { RemoveFromParent(); };
           
            var middle = new FrameLayout
            {
@@ -478,14 +478,6 @@
                    accounts.Add("Latitude", latitudW.ToString());
                    accounts.Add("Longitude", longitudeH.ToString());
                    accounts.Add("Radius", mRadius.ToString());
                    if (Send.It_Exist == "0")
                    {
                        //如果没有开启GPS服务,打开服务并且保存状态在本地;
                        //没有打开GPS服务,地理条件用不了;
                        Application.StartGPSLocationService();
                        Send.SaveLocalFile("GPS_File", "1");
                    }
                    LogicIfon.Addaccounts(accounts);
                    LogicIfon.AddLocationconditions(LocationConditionsInfo);