From d87400af518ebc9274f4447f06476959c3aa5102 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 14 七月 2020 16:29:42 +0800 Subject: [PATCH] Merge branch 'dev-tzy' into dev-2020xm --- ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs index feab18b..d07e6d8 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs @@ -380,6 +380,7 @@ /// <param name="devicelist">璁惧鍒楄〃</param> void ConditionDeviceView(List<DeviceType> deviceTypelist, List<CommonDevice> devicelist) { + middle.RemoveAll(); foreach (var common in devicelist) { @@ -459,7 +460,7 @@ devicename.IsSelected = true; var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; this.AddChidren(flMain); - CurrentDeviceState.CurrentDeviceView(flMain, common, false, IfType); + CurrentDeviceState.CurrentDeviceView(flMain, common, false, IfType,0); }; deviceFramelayout.MouseUpEventHandler += devicclick; bjFramelayout.MouseUpEventHandler += devicclick; @@ -468,6 +469,6 @@ devicename.MouseUpEventHandler += devicclick; } } - + } } -- Gitblit v1.8.0