| | |
| | | |
| | | //可以开始使用红外遥控功能! |
| | | 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) => |
| | |
| | | /// <returns></returns> |
| | | private string GetSendToBluetoothData() |
| | | { |
| | | var pra = new { id = "id010203", ssid = this.wifiName, password = this.wifiPsw }; |
| | | var pra = new { id = "id010203", ssid = this.wifiName, password = this.wifiPsw, homeId = Entity.DB_ResidenceData.Instance.CurrentRegion.id }; |
| | | var praData = Newtonsoft.Json.JsonConvert.SerializeObject(pra); |
| | | |
| | | var sendData = "Topic:/user/id/custom/wifi/set\r\n"; |