From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期五, 12 六月 2020 09:22:04 +0800
Subject: [PATCH] 2020.06.12

---
 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