HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-31 fe3b2466c68b5db70d38e78039703add3b8b1dfe
ZigbeeApp/Shared/Phone/Device/Logic/AddScenePage.cs
@@ -66,7 +66,7 @@
            #endregion
            ///没有房间直接返回去;
            var listAllRoom = HdlRoomLogic.Current.GetAllListRooms();
            var listAllRoom = UserCenter.HdlRoomLogic.Current.GetAllListRooms();
            if (listAllRoom.Count == 0)
            {
                return;
@@ -82,7 +82,7 @@
            {
                if (clickTag == "no" || tempScene == null)
                {
                    var alert = new ShowMsgControl(ShowMsgType.Normal,
                    var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal,
                          Language.StringByID(MyInternationalizationString.scenetip),
                          Language.StringByID(MyInternationalizationString.confrim));
                    alert.Show();
@@ -126,7 +126,7 @@
                {
                    Width = Application.GetRealWidth(450),
                    Height = Application.GetRealHeight(780),
                    Height = Application.GetRealWidth(780),
                    X = Application.GetRealWidth(1080 - 468 - 35),
                    Y = Application.GetRealHeight(184),
                    BackgroundImagePath = "Item/SelectFloor_Right.png",
@@ -166,8 +166,8 @@
                    var btnfoolricon = new Button
                    {
                        Width = Application.GetMinRealAverage(81),
                        Height = Application.GetMinRealAverage(81),
                        Width = Application.GetRealWidth(81),
                        Height = Application.GetRealWidth(81),
                        UnSelectedImagePath = "Floor/Floor.png",
                        Gravity = Gravity.CenterVertical,
                    };
@@ -298,7 +298,7 @@
            middle.RemoveAll();
            foreach (var sceneId in scenelist)
            {
                var scene = HdlSceneLogic.Current.GetSceneUIBySceneId(sceneId);
                var scene = UserCenter.HdlSceneLogic.Current.GetSceneUIBySceneId(sceneId);
                if (scene == null)
                {
                    continue;
@@ -312,8 +312,8 @@
                var sceneIconBtn = new Button
                {
                    Width = Application.GetMinRealAverage(81),
                    Height = Application.GetMinRealAverage(81),
                    Width = Application.GetRealWidth(81),
                    Height = Application.GetRealWidth(81),
                    X = Application.GetRealWidth(58),
                    Y = Application.GetRealHeight(55),
                    UnSelectedImagePath = "ZigeeLogic/scene.png",
@@ -343,8 +343,8 @@
                var selectedBtn = new Button
                {
                    Width = Application.GetMinRealAverage(60),
                    Height = Application.GetMinRealAverage(60),
                    Width = Application.GetRealWidth(60),
                    Height = Application.GetRealWidth(60),
                    X = Application.GetRealWidth(789),
                    UnSelectedImagePath = "ZigeeLogic/selected.png",
                    Visible = false,