| | |
| | | { |
| | | case 0: |
| | | { |
| | | // if (doorLock == null) |
| | | // { |
| | | // ///防止抛异常 |
| | | // Send.CurrentDoorLock = new DoorLock(); |
| | | // } |
| | | // ///备注:WJC的 |
| | | //// Shared.Phone.Device.Logic.Send.CurrentDoorLock = doorLock; |
| | | // ///进来刷新一次设备列表; |
| | | // Common.Logic.LogicDviceList.Clear(); |
| | | // if (Common.Logic.LogicDviceList.Count == 0) |
| | | // { |
| | | // Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray()); |
| | | // } |
| | | // var addLogicPage = new Shared.Phone.Device.Logic.SoneLogicList(); |
| | | // UserView.HomePage.Instance.AddChidren(addLogicPage); |
| | | // UserView.HomePage.Instance.PageIndex += 1; |
| | | // addLogicPage.Show(); |
| | | // addLogicPage.action += (w) => |
| | | // { |
| | | // //doorLock.IsDoorLockNormallyMode = w; |
| | | // /////留给徐梅用的 |
| | | // //UpdateNomallyOpenStatus(); |
| | | // }; |
| | | |
| | | |
| | | //new一个新逻辑对象; |
| | | //新增正常自动化入口 |
| | | Common.Logic.CurrentLogic = new Common.Logic(); |
| | |
| | | } |
| | | return exist; |
| | | } |
| | | |
| | | |
| | | ///<summary> |
| | | ///获取逻辑信息 |
| | | /// 返回值:null不存在;其它值都存在; |
| | |
| | | } |
| | | return _if; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | |