From 4d6c9858844d1545a9b253c1b31842fa89695c1d Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期日, 06 六月 2021 13:59:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/wxr4' into WJC

---
 HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs b/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs
index 9407e12..1250082 100644
--- a/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs
+++ b/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs
@@ -140,8 +140,7 @@
             btnRoomName.Text = device.GetRoomListName();
             btnRoomName.Width = btnRoomName.GetRealWidthByText();
             FrameWhiteCentet1.AddChidren(btnRoomName);
-            //鎴愬憳娌℃湁鏀惰棌鍔熻兘
-            if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == false && ShowColltionButton)
+            if (ShowColltionButton)
             {
                 var btnCollection = new IconViewControl(40);
                 btnCollection.X = Application.GetRealWidth(273);
@@ -259,10 +258,10 @@
         private void AddTopSettingIcon(Button btnHigherDeviceName, Button btnHigherRoom)
         {
             //濡傛灉鏄垚鍛樻病鏈夊姛鑳�
-            if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == true)
-            {
-                return;
-            }
+            //if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare == true)
+            //{
+            //    return;
+            //}
             //璁剧疆鍥炬爣
             var btnSetting = new PicViewControl(28, 28);
             btnSetting.X = Application.GetRealWidth(337);

--
Gitblit v1.8.0