From adc150efb13a0506f45a3c344c3ee2ef2dba8e90 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:19:13 +0800 Subject: [PATCH] 合并嘉乐lc代码 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs index 87b8d69..0c14256 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs @@ -9,6 +9,7 @@ { public EditControl() { + Tag = "PirView"; } public void Show(Entity.Function control,Action<Entity.Function> action) { @@ -56,10 +57,10 @@ { list.Add(Pir.currPir.FunctioList[i].name); } - Method method = new Method(); + PirMethod method = new PirMethod(); method.EditControlName(StringId.editName,list, control.name, (name, dialog) => { - Method.ThreadSend(new Control { deviceId = control.deviceId, name = name }, (responsePackNew) => + PirMethod.ThreadSend(new Control { deviceId = control.deviceId, name = name }, (responsePackNew) => { dialog.Close(); editNameFLayout.btnEditText.Text = name; @@ -72,7 +73,7 @@ //閬ユ帶鍣ㄦ墍灞炲尯鍩熼�変腑浜嬩欢 areaFLayout.btnClick.MouseUpEventHandler += (sender, e) => { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ManagementPosition(control, () => { //鏇存柊鍖哄煙 -- Gitblit v1.8.0