黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
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;
            }