| | |
| | | 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;
|
| | | //警告图标
|
| | |
| | | ((AC)listDevice[i]).ReadLocalTemperature();
|
| | | //获取开关状态(处于某种工作状态,即为打开状态)
|
| | | ((AC)listDevice[i]).ReadSystemMode();
|
| | | //清洗滤网
|
| | | listDevice[i].ReadAttri(Cluster_ID.Thermostat, AttriButeId.FilterCleaningStatus);
|
| | | }
|
| | | });
|
| | | }
|
| | |
| | | rowInfo.btnIconBack.BackgroundColor = 0xfffef1ed;
|
| | | }
|
| | | }
|
| | | else if (data.AttributeId == 4097)
|
| | | {
|
| | | //42:需要清洗滤网
|
| | | if (data.AttriButeData == 42)
|
| | | {
|
| | | rowInfo.btnWarningIcon.Visible = true;
|
| | | //请注意清洗滤网哦
|
| | | rowInfo.btnWarningMsg.TextID = R.MyInternationalizationString.uPleaseClreanACfilter;
|
| | | }
|
| | | }
|
| | | }
|
| | | });
|
| | | }
|