From aeb4af0cadfaca52c9bfbe5257df285ad0cc2f39 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期三, 04 十二月 2019 15:34:09 +0800 Subject: [PATCH] 2019-12-04-1 --- ZigbeeApp/Shared/Phone/Device/Category/Category.cs | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs old mode 100644 new mode 100755 index 3169618..777c8a8 --- a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs +++ b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs @@ -667,12 +667,11 @@ /// <param name="sender">Sender.</param> /// <param name="mouseEventArgs">The ${ParameterType} instance containing the event data.</param> private void AutomationBtn_MouseUpEventHandler(object sender, MouseEventArgs mouseEventArgs) - { - ///绗竴娆¤繘鏉ュ垵濮嬪寲璁惧鍒楄〃锛� - Common.Logic.LogicDviceList.Clear(); - if (Common.Logic.LogicDviceList.Count == 0) - { - Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray()); + { + Common.Logic.LogicDviceList.Clear(); + if (Common.Logic.LogicDviceList.Count == 0) + { + Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray()); } functionBtn.IsSelected = false; sceneBtn.IsSelected = false; @@ -762,7 +761,6 @@ { HidenFloor(true); ShowAutotion(); - } } @@ -1524,8 +1522,6 @@ ShowSameTypeFunction(functionTypeIMG.ImageBtn, null); } } - - } } @@ -1744,11 +1740,12 @@ #endregion #region 鈼� 鑷姩鍖朹_________________________ + /// <summary> /// 鑷姩鍖� /// </summary> private async void ShowAutotion() - { + { functionSceneAutoBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; var bjFrameLayout = new FrameLayout @@ -1931,8 +1928,9 @@ //鑷姩鍖� Automationview(logicScrolView); CommonPage.Loading.Hide(); - + } + /// <summary> /// 鑷姩鍖栧垪琛ㄧ晫闈� /// </summary> @@ -2539,6 +2537,6 @@ #endregion - + } } -- Gitblit v1.8.0