From a7e8f9ea1b9d0b9c8e9c09a8101e65c59a475465 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 09 七月 2020 17:07:31 +0800 Subject: [PATCH] 2020-07-09-01 --- ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs index feab18b..45f0f72 100644 --- 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; -- Gitblit v1.8.0