陈嘉乐
2020-07-10 48ba446936b51fffafa7c3600c0dadc6ac0e8c20
ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFunctionSettionForm.cs
@@ -86,7 +86,7 @@
            var btnFinish = new BottomClickButton();
            btnFinish.TextID = R.MyInternationalizationString.uSave;
            bodyFrameLayout.AddChidren(btnFinish);
            btnFinish.ButtonClickEvent += async (sender, e) =>
            btnFinish.ButtonClickEvent += (sender, e) =>
            {
                //记录起当前正在操作的回路名字
                dicDeviceSaveName[nowSelectDevice.DeviceEpoint] = btnDeviceName.Text.Trim();
@@ -103,7 +103,7 @@
                    if (oldName != newName)
                    {
                        //设备名称修改
                        var result = await Common.LocalDevice.Current.ReName(device, newName);
                        var result = Common.LocalDevice.Current.ReName(device, newName);
                        if (result == false)
                        {
                            return;
@@ -134,7 +134,7 @@
            listview.AddChidren(btnDeviceName);
            btnDeviceName.InitControl();
            btnDeviceName.AddBottomLine();
            btnDeviceName.txtInput.FinishInputEvent += async () =>
            btnDeviceName.txtInput.FinishInputEvent += () =>
            {
                string oldName = Common.LocalDevice.Current.GetDeviceEpointName(nowSelectDevice);
                if (btnDeviceName.Text.Trim() == string.Empty)
@@ -145,7 +145,7 @@
                if (oldName != btnDeviceName.Text.Trim())
                {
                    //设备名称修改
                    var result = await Common.LocalDevice.Current.ReName(nowSelectDevice, btnDeviceName.Text.Trim());
                    var result = Common.LocalDevice.Current.ReName(nowSelectDevice, btnDeviceName.Text.Trim());
                    if (result == false)
                    {
                        return;
@@ -337,7 +337,7 @@
            btnIcon.RadiusEx = 16;
            btnIcon.BorderWidth = 2;
            btnIcon.BorderColor = 0xff979797;
            frame.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
            frame.AddChidren(btnIcon, ChidrenBindMode.BindEvent);
            //点击事件
            frame.ButtonClickEvent += (sender, e) =>
            {