From 07466c19110693e3e439a7d7c8ad0bc21d9b3287 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 29 四月 2020 09:14:01 +0800
Subject: [PATCH] 优化代码,更改门锁需求接口

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
index 07b2928..85634c4 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
@@ -86,7 +86,7 @@
         {
             var rowInfo = new RowControlInfo();
 
-            var frameTable = new FrameLayoutControl();
+            var frameTable = new FrameLayoutStatuControl();
             frameTable.UseClickStatu = false;
             frameTable.Width = Application.GetRealWidth(994);
             frameTable.Height = Application.GetRealHeight(337);
@@ -98,9 +98,9 @@
             var btnIconBack = new FrameLayout();
             btnIconBack.X = Application.GetRealWidth(46);
             btnIconBack.Y = Application.GetRealHeight(43);
-            btnIconBack.Height = Application.GetMinRealAverage(112);
-            btnIconBack.Width = Application.GetMinRealAverage(112);
-            btnIconBack.Radius = (uint)Application.GetMinRealAverage(112) / 2;
+            btnIconBack.Height = this.GetPictrueRealSize(112);
+            btnIconBack.Width = this.GetPictrueRealSize(112);
+            btnIconBack.Radius = (uint)this.GetPictrueRealSize(112) / 2;
             btnIconBack.BackgroundColor = 0xfff5f6fa;
             frameTable.AddChidren(btnIconBack, ChidrenBindMode.NotBind);
             rowInfo.btnIconBack = btnIconBack;
@@ -216,7 +216,7 @@
                         return;
                     }
                     //璇诲彇鐘舵��
-                    Phone.Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendThermostatStatuComand(listDevice[i]);
+                    HdlDeviceAttributeLogic.Current.SendThermostatStatuComand(listDevice[i]);
                     System.Threading.Thread.Sleep(200);
                 }
             });

--
Gitblit v1.8.0