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/Category/AdjustTargetAddDeviceForm.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs b/ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs
index a0a3125..80f6792 100755
--- a/ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs
+++ b/ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs
@@ -333,11 +333,11 @@
 
             //璁惧鍥炬爣鑳屾櫙鎺т欢
             var frameIconBackGroud = new FrameLayout();
-            frameIconBackGroud.Height = Application.GetMinRealAverage(112);
-            frameIconBackGroud.Width = Application.GetMinRealAverage(112);
+            frameIconBackGroud.Height = this.GetPictrueRealSize(112);
+            frameIconBackGroud.Width = this.GetPictrueRealSize(112);
             frameIconBackGroud.Gravity = Gravity.CenterVertical;
             frameIconBackGroud.X = Application.GetRealWidth(46);
-            frameIconBackGroud.Radius = (uint)Application.GetMinRealAverage(112 / 2);
+            frameIconBackGroud.Radius = (uint)this.GetPictrueRealSize(112 / 2);
             frameIconBackGroud.BackgroundColor = Common.ZigbeeColor.Current.GXCGrayBackgroundColor;
             rowDevice.AddChidren(frameIconBackGroud, ChidrenBindMode.NotBind);
             frameIconBackGroud.Y += rowDevice.chidrenYaxis;

--
Gitblit v1.8.0