From 2ad1a02662449a261180d31f8b3d0f0cf34b1213 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 24 四月 2024 10:04:19 +0800 Subject: [PATCH] 组控无法保存修改名称问题修复 --- HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs index 4e23d82..05dee0c 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs @@ -128,8 +128,10 @@ { Y = topView.fLayout.Bottom, Height = Application.GetRealHeight(H_W.H - H_W.T_Height), + }; this.AddChidren(vv); + //杩涙潵榛樿鎾斁鍣ㄧ晫闈� //this.SwitchUI(IntType.Player); } @@ -192,7 +194,7 @@ { this.remoteControlList = SendMethod.Current.GetRemoteControlLits(this.device.deviceId); this.sequencerList = SendMethod.Current.GetSequencerLits(this.device.deviceId); - TestData(this.remoteControlList); + //TestData(this.remoteControlList); } catch { } finally @@ -334,6 +336,11 @@ conditionView.SingleSelectionShow(this, deviceTypeList, "璁惧閫夋嫨", ccurrnetDeviceStr , (index) => { + if (this.indexValue == index) + { + //鍚屼竴涓澶囦笉澶勭悊; + return; + } var remoteControl = deviceTypeList[index]; this.indexValue = index; this.currnetIntType = (IntType)remoteControl.type; -- Gitblit v1.8.0