| | |
| | | buttonObj.key = "key" + control.status.Count.ToString(); |
| | | buttonObj.value = texts; |
| | | |
| | | PirSend.CodeStudy(control, buttonObj, (responsePackNew) => |
| | | PirSend.CodeStudy(control.deviceId, buttonObj, (responsePackNew) => |
| | | { |
| | | if (responsePackNew != null && responsePackNew.Code == "0" && responsePackNew.Data.ToString() != "") |
| | | { |
| | |
| | | var view = MainPage.BasePageView.GetChildren(i); |
| | | if (view.GetType() == typeof(AddControl)) |
| | | { |
| | | new Intelligence.Automation.LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.tianjiashibai)); |
| | | //new TipPopView().FlashingBox(Language.StringByID(StringId.tianjiachenggong)); |
| | | view.RemoveFromParent(); |
| | | } |
| | | |