old mode 100644
new mode 100755
| | |
| | | //获取楼层 |
| | | dicFloor = HdlRoomLogic.Current.GetFloorSortList(); |
| | | currentKey.currentSelectFloorId = BindInfo.GetCurrentSelectFloorId(); |
| | | btnFloorText.Text = BindInfo.GetCurrentSelectFloorIdName();
|
| | |
|
| | | btnFloorText.Text = BindInfo.GetCurrentSelectFloorIdName(); |
| | | |
| | | var listAllRoom = HdlRoomLogic.Current.GetAllListRooms(); |
| | | if (Common.Config.Instance.Home.FloorDics.Count == 0) |
| | | { |
| | |
| | | Y = Application.GetMinRealAverage(46), |
| | | Width = Application.GetMinReal(81), |
| | | Height = Application.GetMinReal(81), |
| | | UnSelectedImagePath = "Scene/SceneIcon.png",// scene.IconPath,
|
| | | UnSelectedImagePath = "Scene/SceneIcon.png",// scene.IconPath, |
| | | }; |
| | | rowLayout.AddChidren(devicePic); |
| | | |
| | |
| | | btnMethodText.IsSelected = true; |
| | | oldbuttonText.TextColor = Shared.Common.ZigbeeColor.Current.XMBlack; |
| | | oldbuttonText.IsBold = true; |
| | | }
|
| | |
|
| | | //获取楼层对应的房间
|
| | | } |
| | | |
| | | //获取楼层对应的房间 |
| | | var listAllRoom = HdlRoomLogic.Current.GetAllListRooms(); |
| | | foreach (var room in listAllRoom) |
| | | { |
| | |
| | | /// <returns></returns> |
| | | List<SceneUI> GetALlDispalyRoomSceneList() |
| | | { |
| | | currentKeyAllRoomSceneList.Clear();
|
| | | // 获取所有房间 |
| | | currentKeyAllRoomSceneList.Clear(); |
| | | // 获取所有房间 |
| | | var listAllRoom = HdlRoomLogic.Current.GetAllListRooms(); |
| | | foreach (var room in listAllRoom) |
| | | { |
| | |
| | | } |
| | | |
| | | foreach (var sceneId in room.ListSceneId) |
| | | {
|
| | | { |
| | | var scene = HdlSceneLogic.Current.GetSceneUIBySceneId(sceneId); |
| | | if (scene == null) |
| | | { |
| | |
| | | var tempSceneUIList = new List<SceneUI>(); |
| | | foreach (var sceneId in curRoom.ListSceneId) |
| | | { |
| | | var scene = HdlSceneLogic.Current.GetSceneUIBySceneId(sceneId);
|
| | | if (scene == null)
|
| | | {
|
| | | continue;
|
| | | var scene = HdlSceneLogic.Current.GetSceneUIBySceneId(sceneId); |
| | | if (scene == null) |
| | | { |
| | | continue; |
| | | } |
| | | var gwSc = gwCurScenesList.Find(obj => (obj.ScenesId == sceneId)); |
| | | if (gwSc != null) |