陈嘉乐
2020-08-27 c7f2e3791f931d18c6ab3b1b215e57a1101e0389
ZigbeeApp/Shared/Phone/Device/Logic/LogicDveiceStatus.cs
@@ -537,18 +537,7 @@
                        alert.ConfirmClickEvent += () =>
                        {
                            Common.Logic.CurrentLogic.Conditions.Remove(conditions);
                            var exist = Common.Logic.CurrentLogic.Conditions.Find((obj) => obj["Type"] == "7");
                            if (exist == null)
                            {
                                //如果没有开启GPS服务,打开服务并且保存状态在本地;
                                Application.StopGPSLocationService();
                                Send.SaveLocalFile("GPS_File", "0");
                            }
                            selecteddevice.selecetdFrameLayout.RemoveFromParent();
                            //var logicCommunalPage = new LogicCommunalPage();
                            //UserView.HomePage.Instance.AddChidren(logicCommunalPage);
                            //UserView.HomePage.Instance.PageIndex += 1;
                            //logicCommunalPage.Show(() => { });
                        };
                    };