From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 16 十二月 2020 13:09:08 +0800 Subject: [PATCH] 新云端代码Ver1.2 --- ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs index 26abce9..c8f6abf 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs @@ -45,7 +45,7 @@ bodyFrameLayout.AddChidren(frameTitle); var btnTitle = new NormalViewControl(800, 60, true); btnTitle.Y = Application.GetRealHeight(49); - btnTitle.X = ControlCommonResourse.XXLeft; + btnTitle.X = HdlControlResourse.XXLeft; btnTitle.TextSize = 15; btnTitle.TextColor = UserCenterColor.Current.TextColor2; btnTitle.Text = detailTile; @@ -62,7 +62,7 @@ for (int i = 0; i < listDevice.Count; i++) { //鑾峰彇璁惧 - var device = Common.LocalDevice.Current.GetDevice(listDevice[i]); + var device = HdlDeviceCommonLogic.Current.GetDevice(listDevice[i]); if (device == null) { continue; @@ -91,11 +91,11 @@ listView.AddChidren(frameRow); //鍥炬爣 var btnIcon = frameRow.AddLeftIcon(81); - Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, device); + HdlDeviceCommonLogic.Current.SetDeviceIconToControl(btnIcon, device); //璁惧鍚嶅瓧 - var btnName = frameRow.AddLeftCaption(Common.LocalDevice.Current.GetDeviceEpointName(device), 700); + var btnName = frameRow.AddLeftCaption(HdlDeviceCommonLogic.Current.GetDeviceEpointName(device), 700); btnName.TextSize = 15; - if (Common.LocalDevice.Current.CheckDeviceIsOnline(device) == false) + if (HdlDeviceCommonLogic.Current.CheckDeviceIsOnline(device) == false) { btnName.TextColor = UserCenterColor.Current.TextGrayColor1; } -- Gitblit v1.8.0