| | |
| | | }; |
| | | bodyView.AddChidren(sceneListView); |
| | | |
| | | foreach (var function in DB_ResidenceData.functionList.scenes) |
| | | foreach (var function in FunctionList.List.scenes) |
| | | { |
| | | var sbkScene = sbk_Devcie.number.Find((obj) => obj.sid == function.sid); |
| | | if (sbkScene != null) |
| | | { |
| | | addedList.Add(function); |
| | | } |
| | | else |
| | | { |
| | | notAddedList.Add(function); |
| | | } |
| | | //var sbkScene = sbk_Devcie.number.Find((obj) => obj.sid == function.sid); |
| | | //if (sbkScene != null) |
| | | //{ |
| | | // addedList.Add(function); |
| | | //} |
| | | //else |
| | | //{ |
| | | // notAddedList.Add(function); |
| | | //} |
| | | } |
| | | foreach (var ddd in sbk_Devcie.number) |
| | | { |
| | |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(582), |
| | | Width = Application.GetRealWidth(220), |
| | | Height = Application.GetRealHeight(44), |
| | | Radius = (uint)Application.GetRealHeight(22), |
| | | Height = Application.GetRealWidth(44), |
| | | Radius = (uint)Application.GetRealWidth(22), |
| | | BackgroundColor = CSS_Color.MainColor, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |