| | |
| | | using ZigBee.Device; |
| | | using Shared.Phone.Device.Logic.LogicView; |
| | | |
| | | |
| | | namespace Shared.Phone.Device.Logic |
| | | { |
| | | |
| | |
| | | timeView.clickviewBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | TimeView(); |
| | | |
| | | }; |
| | | functionView.clickviewBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | |
| | | accounts.Add("Latitude", latitudW.ToString()); |
| | | accounts.Add("Longitude", longitudeH.ToString()); |
| | | accounts.Add("Radius", mRadius.ToString()); |
| | | |
| | | if (Send.It_Exist == "0") |
| | | { |
| | | //如果没有开启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; |
| | |
| | | }; |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |