From f759dc1e6f49c53733eafda82207c85af18f9931 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 28 五月 2020 15:46:54 +0800 Subject: [PATCH] 2020-05-28-1 --- ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs b/ZigbeeApp/Shared/Phone/Category/AdjustTargetAddDeviceForm.cs index a0a3125..df30573 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; @@ -517,7 +517,7 @@ string path1 = string.Empty; string path2 = string.Empty; //鑾峰彇鍥剧墖 - LocalDevice.Current.GetDeviceObjectIcon(typeInfo.ConcreteType, ref path1, ref path2); + LocalDevice.Current.GetDeviceFunctionTypeMenuIcon(typeInfo.ConcreteType, ref path1, ref path2); dic[typeInfo.BeloneTextId].IconPath = path1; dic[typeInfo.BeloneTextId].IconPathSelected = path2; dic[typeInfo.BeloneTextId].TextId = typeInfo.BeloneTextId; -- Gitblit v1.8.0