From fbbfd430f289f3c0cc0f826b2207944ef7205c9d Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 10 十二月 2019 10:17:50 +0800
Subject: [PATCH] 2019.12.10

---
 ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs b/ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs
index aa2b65b..a025338 100644
--- a/ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs
@@ -631,7 +631,7 @@
                     {
                         curRoom = rooms[index1][index2];
                         zoneRow.SetTitle($"{Config.Instance.Home.GetFloorNameById(floorIds[index1])} , {rooms[index1][index2].Name}");
-                    }, 0, 0, Language.StringByID(R.MyInternationalizationString.BelongFloor),
+                    }, 0, 0, Language.StringByID(R.MyInternationalizationString.BelongZone),
                    Language.StringByID(R.MyInternationalizationString.Confrim),
                    Language.StringByID(R.MyInternationalizationString.Cancel));
                 }
@@ -651,7 +651,7 @@
                     {
                         curRoom = rs[index1];
                         zoneRow.SetTitle(rs[index1].Name);
-                    }, 0, Language.StringByID(R.MyInternationalizationString.BelongFloor),
+                    }, 0, Language.StringByID(R.MyInternationalizationString.BelongZone),
                    Language.StringByID(R.MyInternationalizationString.Confrim),
                    Language.StringByID(R.MyInternationalizationString.Cancel));
                 }
@@ -841,7 +841,7 @@
                             {
                                 if (Common.Room.CurrentRoom.GetSameFloorScenes(curRoom.FloorId).Find(s => s.Name == nameRow.NameText.Text.Trim()) != null)
                                 {
-                                    Common.CommonPage.Instance.ShowErrorInfoAlert(R.MyInternationalizationString.TheSceneHadExist);
+                                    CommonFormResouce.ShowTip(Language.StringByID(R.MyInternationalizationString.TheSceneHadExist));
                                     return;
                                 }
                                 var r = await ZigBee.Device.Scene.RenameSceneAsync(modifySceneUI.Id, nameRow.NameText.Text.Trim());
@@ -972,7 +972,6 @@
                             {
                                 if (modifyRoom != curRoom)
                                 {
-
                                     modifyRoom.SceneUIList.Remove(modifySceneUI);
                                     modifyRoom.SceneUIFilePathList.Remove(modifySceneUI.FileName);
                                     curRoom.SceneUIList.Add(modifySceneUI);

--
Gitblit v1.8.0