From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 11 九月 2020 09:16:59 +0800
Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节

---
 ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
index ef86018..ce92e3e 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
@@ -13,17 +13,17 @@
 
         /// <summary>
         /// 鐢婚潰鏄剧ず(搴曞眰浼氬浐瀹氳皟鐢ㄦ鏂规硶锛屽�熶互瀹屾垚鐢婚潰鍒涘缓)
-        /// </summary>
-        public void ShowForm()
-        {
-            //鍒濆鍖栦腑閮ㄦ帶浠�
-            this.InitMiddleFrame();
+        /// </summary>
+        public void ShowForm()
+        {
+            //鍒濆鍖栦腑閮ㄦ帶浠�
+            this.InitMiddleFrame();
         }
 
-        /// <summary>
-        /// 鍒濆鍖栦腑閮ㄦ帶浠�
-        /// </summary>
-        private void InitMiddleFrame()
+        /// <summary>
+        /// 鍒濆鍖栦腑閮ㄦ帶浠�
+        /// </summary>
+        private void InitMiddleFrame()
         {
             uint roundHeigth = (uint)Application.GetRealHeight(17);
 
@@ -64,9 +64,9 @@
 
             //鐢ㄦ埛澶村儚
             var btnIcon = new ImageView();
-            btnIcon.Height = Application.GetMinRealAverage(294);
-            btnIcon.Width = Application.GetMinRealAverage(294);
-            btnIcon.Radius = (uint)Application.GetMinRealAverage(294) / 2;
+            btnIcon.Height = this.GetPictrueRealSize(294);
+            btnIcon.Width = this.GetPictrueRealSize(294);
+            btnIcon.Radius = (uint)this.GetPictrueRealSize(294) / 2;
             btnIcon.Y = Application.GetRealHeight(121);
             btnIcon.Gravity = Gravity.CenterHorizontal;
             btnIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(UserCenterResourse.UserInfo.UserIconFile);
@@ -81,7 +81,7 @@
             frameDetail.AddChidren(btnUser);
             //浜岀淮鐮�
             var btnQrCode = new PicViewControl(236, 236);
-            btnQrCode.ImageBytes = QRCode.BytesFromText(UserCenterResourse.UserInfo.Account, Application.GetMinRealAverage(236), Application.GetMinRealAverage(236));
+            btnQrCode.ImageBytes = QRCode.BytesFromText(UserCenterResourse.UserInfo.Account, this.GetPictrueRealSize(236), this.GetPictrueRealSize(236));
             btnQrCode.Gravity = Gravity.CenterHorizontal;
             btnQrCode.Y = Application.GetRealHeight(262);
             frameDetail.AddChidren(btnQrCode);

--
Gitblit v1.8.0