| | |
| | | }; |
| | | 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) |
| | | { |