HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-06-22 dc0309e64f02227d8e1468b7326c07955f804612
ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindTargetsPage.cs
@@ -457,7 +457,7 @@
                    }
                    if (isExistScene)
                    {
                        curSceneUI = HdlSceneLogic.Current.GetSceneUIBySceneId(bindDevice.BindScenesId);
                        curSceneUI = HdlSceneLogic.Current.GetSceneUIBySceneId(bindDevice.BindScenesId);
                        devicePic.UnSelectedImagePath = "Scene/SceneIcon.png";
                        if (curSceneUI == null)
                        {
@@ -517,13 +517,13 @@
                                            btnFloorRoomNameText = tempDevFloorName + "," + tempDevRoomName;
                                        }
                                    }
                                }
                                }
                                else
                                {
                                    btnFloorRoomNameText = Language.StringByID(R.MyInternationalizationString.Undistributed);
                                }
                                devicePic.UnSelectedImagePath = tempDev.IconPath;
                                devicePic.UnSelectedImagePath = tempDev.IconPath;
                                devicePic.Text = "";
                                if (string.IsNullOrEmpty(tempDev.DeviceEpointName))
@@ -550,8 +550,8 @@
                    rowLayout.frameTable.AddBottomLine();
                    var btnDel = rowLayout.AddDeleteControl();
                    btnDel.ButtonClickEvent += (sender, e) =>
                    {
                        RemoveTargets(bindDevice, btnDel);
                    {
                        RemoveTargets(bindDevice, btnDel);
                    };
                    #endregion
                }
@@ -996,7 +996,7 @@
        /// <param name="btnDel"></param>
        /// <returns></returns>
        private int RemoveTargets(BindListResponseObj bindDevice, Button btnDel)
        {
        {
            int result = -1;
            var delDevice = new DelDeviceBindData();
            delDevice.DeviceAddr = currentKey.DeviceAddr;