| | |
| | | |
| | | //可以开始使用红外遥控功能! |
| | | var strMsg = Language.StringByID(StringId.AddInfraredRemoteControlMsg7); |
| | | int yy = this.AddListMsgControls(bodyFrameLayout, strMsg, CSS.CSS_FontSize.TextFontSize, CSS.CSS_Color.TextualColor, |
| | | var listContr = this.AddListMsgControls(bodyFrameLayout, strMsg, CSS.CSS_FontSize.TextFontSize, CSS.CSS_Color.TextualColor, |
| | | Application.GetRealHeight(20), btnFail.Bottom + Application.GetRealHeight(8)); |
| | | |
| | | //开始使用 |
| | | var btnUse = new BottomClickButton(220); |
| | | btnUse.Y = yy + Application.GetRealHeight(60); |
| | | btnUse.Y = listContr[listContr.Count - 1].Bottom + Application.GetRealHeight(60); |
| | | btnUse.TextID = StringId.StartUse; |
| | | bodyFrameLayout.AddChidren(btnUse); |
| | | btnUse.ButtonClickEvent += (sender, e) => |
| | |
| | | private void RefreshMiniRemoteControlInfo(Action<Entity.Function> successEvent) |
| | | { |
| | | var pra = new Dictionary<string, object>(); |
| | | pra.Add("homeId", Entity.DB_ResidenceData.Instance.CurrentRegion.RegionID); |
| | | pra.Add("homeId", Entity.DB_ResidenceData.Instance.CurrentRegion.id); |
| | | pra.Add("spk", Entity.SPK.IrModule); |
| | | |
| | | var requestJson = DAL.Server.HttpUtil.GetSignRequestJson(pra); |