From e747e6d8524e3146bb48dc304a713f309966b1c6 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 19 五月 2020 13:10:03 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs index 0ae952d..5080f98 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs @@ -262,11 +262,11 @@ /// </summary> /// <param name="i_deviceName">deviceName.</param> /// <param name="mode">鏄惁鏄剧ず閿欒</param> - private async void DeviceReName(string i_deviceName, ShowErrorMode mode = ShowErrorMode.YES) + private void DeviceReName(string i_deviceName, ShowErrorMode mode = ShowErrorMode.YES) { //淇敼MAC鍚� string deviceName = i_deviceName.Trim(); - var result = await Common.LocalDevice.Current.ReMacName(this.listNewDevice, deviceName, mode); + var result = Common.LocalDevice.Current.ReMacName(this.listNewDevice, deviceName, mode); if (result == false) { return; @@ -278,7 +278,7 @@ /// <summary> /// 璁剧疆鍏ㄩ儴鍥炶矾鐨勯粯璁ゅ悕瀛� /// </summary> - private async void SetAllEpointName() + private void SetAllEpointName() { foreach (var device in this.listNewDevice) { @@ -289,7 +289,7 @@ } //鑾峰彇绔偣鍚嶅瓧 var epointName = Common.LocalDevice.Current.GetDeviceEpointName(device); - await Common.LocalDevice.Current.ReName(device, epointName, ShowErrorMode.NO); + Common.LocalDevice.Current.ReName(device, epointName, ShowErrorMode.NO); } } -- Gitblit v1.8.0