WJC
2019-12-04 aeb4af0cadfaca52c9bfbe5257df285ad0cc2f39
ZigbeeApp/Shared/Phone/Device/Category/Category.cs
old mode 100644 new mode 100755
@@ -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
    }
}