HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2019-10-10 2ed75b8b337048e5d75e6d9ec8307633134f02fd
ZigbeeApp/Shared/Phone/Device/Room/AddRoom.cs
@@ -290,7 +290,8 @@
            };
            settingContentFL.AddChidren(settingLine);
            confirm = new Device.CommonForm.CompleteButton() { };
            confirm = new Device.CommonForm.CompleteButton(1700, 700, 90);
            confirm.SetTitle(R.MyInternationalizationString.Confrim);
            this.AddChidren(confirm);
            #endregion
@@ -448,6 +449,7 @@
                    if (room.BackgroundImageType == 1 || room.BackgroundImageType == 2)
                    {
                        OldBackgroundImagePath = room.BackgroundImage;
                        System.IO.File.Delete(OldBackgroundImagePath);
                    }
                    backGround.UnSelectedImagePath = $"RoomPicture{tradeTime}.png";
                    //room.BackgroundImage = $"{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}";
@@ -469,6 +471,7 @@
                    if (room.BackgroundImageType == 1 || room.BackgroundImageType == 2)
                    {
                        OldBackgroundImagePath = room.BackgroundImage;
                        System.IO.File.Delete(OldBackgroundImagePath);
                    }
                    backGround.UnSelectedImagePath = $"RoomPicture{tradeTime}.png";
                    //room.BackgroundImage = $"{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}";
@@ -576,7 +579,7 @@
                if (IconType == 1 || IconType == 2)
                {
                    room.MoveBackGroundIamageFileToDirectory(backGround.UnSelectedImagePath, backGround.UnSelectedImagePath);
                    room.BackgroundImage = $"{Config.Instance.FullPath}/{backGround.UnSelectedImagePath}";
                    room.BackgroundImage = $"{Config.Instance.Guid}/{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}";
                }
                else
                {
@@ -611,7 +614,7 @@
                    if (IconType == 1 || IconType == 2)
                    {
                        room.MoveBackGroundIamageFileToDirectory(backGround.UnSelectedImagePath, backGround.UnSelectedImagePath);
                        room.BackgroundImage = $"{Config.Instance.FullPath}/{backGround.UnSelectedImagePath}";
                        room.BackgroundImage = $"{Config.Instance.Guid}/{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}";
                    }
                    else
                    {