old mode 100755
new mode 100644
| | |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor |
| | | }; |
| | | bodyFrameLayout.AddChidren(infoFL); |
| | | var rectCornerID = HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight; |
| | | infoFL.SetCornerWithSameRadius(Application.GetRealHeight(50), rectCornerID); |
| | | |
| | | var tipBtn = new Button |
| | | { |
| | |
| | | functionTypeRow.ClickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | var DfunctionType = device.CommonDevice.DfunctionType; |
| | | |
| | | |
| | | //功能类型的翻译名字 |
| | | int nowSelectNo = 1; |
| | | string strType = string.Empty; |
| | |
| | | }; |
| | | }; |
| | | |
| | | sharedRow = new DeviceInfoRow(723); |
| | | sharedRow.Init(); |
| | | sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); |
| | | sharedRow.SetTitle("2人"); |
| | | infoFL.AddChidren(sharedRow); |
| | | //sharedRow = new DeviceInfoRow(723); |
| | | //sharedRow.Init(); |
| | | //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); |
| | | //sharedRow.SetTitle("2人"); |
| | | //infoFL.AddChidren(sharedRow); |
| | | } |
| | | else |
| | | { |
| | | sharedRow = new DeviceInfoRow(585); |
| | | sharedRow.Init(); |
| | | sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); |
| | | sharedRow.SetTitle("2人"); |
| | | infoFL.AddChidren(sharedRow); |
| | | //sharedRow = new DeviceInfoRow(585); |
| | | //sharedRow.Init(); |
| | | //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); |
| | | //sharedRow.SetTitle("2人"); |
| | | //infoFL.AddChidren(sharedRow); |
| | | } |
| | | |
| | | var confirmBtn = new CommonForm.CompleteButton(962, 907, 127); |
| | |
| | | CommonPage.Loading.Hide(); |
| | | if (result) |
| | | { |
| | | var alertSuccess = new Alert(Language.StringByID(R.MyInternationalizationString.TIP), Language.StringByID(R.MyInternationalizationString.Success), Language.StringByID(R.MyInternationalizationString.Confrim)); |
| | | alertSuccess.Show(); |
| | | alertSuccess.ResultEventHandler += (senderSuccess, eSuccess) => |
| | | { |
| | | //var alertSuccess = new Alert(Language.StringByID(R.MyInternationalizationString.TIP), Language.StringByID(R.MyInternationalizationString.Success), Language.StringByID(R.MyInternationalizationString.Confrim)); |
| | | //alertSuccess.Show(); |
| | | //alertSuccess.ResultEventHandler += (senderSuccess, eSuccess) => |
| | | //{ |
| | | //改房间 |
| | | Shared.Common.Room.CurrentRoom.ChangedRoom(device.CommonDevice, curRoom.Id); |
| | | device.CommonDevice.ReSave(); |
| | | RemoveFromParent(); |
| | | }; |
| | | //}; |
| | | } |
| | | else |
| | | { |