From b9cb076fe6127160c96c35bf9c8cebcffe1d5ccd Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 10 一月 2020 17:35:23 +0800
Subject: [PATCH] 2020.1.10

---
 ZigbeeApp/Shared/Common/DeviceUI.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Common/DeviceUI.cs b/ZigbeeApp/Shared/Common/DeviceUI.cs
index 913102d..88c0ada 100644
--- a/ZigbeeApp/Shared/Common/DeviceUI.cs
+++ b/ZigbeeApp/Shared/Common/DeviceUI.cs
@@ -339,6 +339,10 @@
             {
                 return Language.StringByID(R.MyInternationalizationString.UnallocatedArea);
             }
+            if(string.IsNullOrEmpty(room.FloorId))
+            {
+                return room.Name;
+            }
             var floorName = Config.Instance.Home.GetFloorNameById(room.FloorId);
             if (floorName == null)
             {
@@ -448,6 +452,7 @@
             else if (device.Type == DeviceType.IASZone)
             {
                 var ias = CommonDevice as IASZone;
+                //鍖哄垎浼犳劅鍣ㄥ叿浣撶被鍨�
                 var info = Common.LocalDevice.Current.GetNotHdlMyDeviceEnumInfo(new List<CommonDevice> { device },false);
                 if (info.ConcreteType == DeviceConcreteType.Sensor_Infrared)
                 {

--
Gitblit v1.8.0