陈嘉乐
2020-08-24 fcebedf4555b2d597668006ba21ed47630343da3
ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs
@@ -538,6 +538,17 @@
                        {
                            Common.Logic.CurrentLogic.Conditions.Remove(conditions);
                            selecteddevice.selecetdFrameLayout.RemoveFromParent();
                            var exist = Common.Logic.CurrentLogic.Conditions.Find((obj) => obj["Type"] == "7");
                            if (exist == null)
                            {
                                //如果找不到地理位置作为条件的话,关闭GPS服务(减少耗电)
                                if (Send.It_Exist == "1")
                                {
                                    Application.StopGPSLocationService();
                                    Send.SaveLocalFile("GPS_File", "0");
                                }
                            }
                            //var logicCommunalPage = new LogicCommunalPage();
                            //UserView.HomePage.Instance.AddChidren(logicCommunalPage);
                            //UserView.HomePage.Instance.PageIndex += 1;