From 2450c12c825ad4d78d1572da2fa421706db2df2f Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 18 六月 2020 16:01:14 +0800
Subject: [PATCH] 新代码

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueFreshAirButtonSettionForm.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueFreshAirButtonSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueFreshAirButtonSettionForm.cs
index 9e91845..346a4fe 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueFreshAirButtonSettionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueFreshAirButtonSettionForm.cs
@@ -242,7 +242,7 @@
             bool result = false;
             //鑾峰彇闈㈡澘涓瓨鍦ㄧ殑缁戝畾鐩爣
             FreshAir curControlDev = curDev as FreshAir;
-            var panelBindListRes = await curControlDev.GetDeviceBindAsync();
+            var panelBindListRes = HdlDeviceBindLogic.Current.GetDeviceBindAsync(curControlDev);
             if (panelBindListRes != null && panelBindListRes.getAllBindResponseData != null)
             {
                 bindList = panelBindListRes.getAllBindResponseData.BindList;
@@ -261,7 +261,7 @@
                         }
                         if (string.IsNullOrEmpty(bDev.ESName))
                         {
-                            bindFreshAirName = device.DeviceEpointName;
+                            bindFreshAirName = Common.LocalDevice.Current.GetDeviceEpointName(device);
                         }
                         else
                         {
@@ -277,7 +277,7 @@
                         {
                             if (string.IsNullOrEmpty(bDev.ESName))
                             {
-                                bindTemperatureName = device.DeviceEpointName;
+                                bindTemperatureName = Common.LocalDevice.Current.GetDeviceEpointName(device);
                             }
                             else
                             {
@@ -289,7 +289,7 @@
                         {
                             if (string.IsNullOrEmpty(bDev.ESName))
                             {
-                                bindHumidityName = device.DeviceEpointName;
+                                bindHumidityName = Common.LocalDevice.Current.GetDeviceEpointName(device);
                             }
                             else
                             {
@@ -303,7 +303,7 @@
                     {
                         if (string.IsNullOrEmpty(bDev.ESName))
                         {
-                            bindHumidityName = device.DeviceEpointName;
+                            bindHumidityName = Common.LocalDevice.Current.GetDeviceEpointName(device);
                         }
                         else
                         {
@@ -328,7 +328,7 @@
                         {
                             if (string.IsNullOrEmpty(bDev.ESName))
                             {
-                                bindPmName = device.DeviceEpointName;
+                                bindPmName = Common.LocalDevice.Current.GetDeviceEpointName(device);
                             }
                             else
                             {

--
Gitblit v1.8.0