黄学彪
2019-10-29 0f5a53c7b36c27a0f2bec12e6119207edb6860f8
ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
@@ -123,10 +123,11 @@
            btnRoom.Text = Common.Room.CurrentRoom.GetRoomNameByDevice(device);
            frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly);
            //摄氏度
            var btnValue = new NormalViewControl(150, 60, true);
            var btnValue = new NormalViewControl(300, 60, true);
            btnValue.Y = Application.GetRealHeight(58);
            btnValue.X = frameTable.Width - Application.GetRealWidth(150 + 58);
            btnValue.X = frameTable.Width - Application.GetRealWidth(300 + 58);
            btnValue.TextAlignment = TextAlignment.CenterRight;
            btnValue.TextID = R.MyInternationalizationString.uGetting;
            frameTable.AddChidren(btnValue, ChidrenBindMode.BindEventOnly);
            rowInfo.btnValue = btnValue;
            //警告图标
@@ -215,6 +216,8 @@
                    ((AC)listDevice[i]).ReadLocalTemperature();
                    //获取开关状态(处于某种工作状态,即为打开状态)
                    ((AC)listDevice[i]).ReadSystemMode();
                    //清洗滤网
                    listDevice[i].ReadAttri(Cluster_ID.Thermostat, AttriButeId.FilterCleaningStatus);
                }
            });
        }
@@ -275,6 +278,16 @@
                            rowInfo.btnIconBack.BackgroundColor = 0xfffef1ed;
                        }
                    }
                    else if (data.AttributeId == 4097)
                    {
                        //42:需要清洗滤网
                        if (data.AttriButeData == 42)
                        {
                            rowInfo.btnWarningIcon.Visible = true;
                            //请注意清洗滤网哦
                            rowInfo.btnWarningMsg.TextID = R.MyInternationalizationString.uPleaseClreanACfilter;
                        }
                    }
                }
            });
        }