From c5a873df96e4a797426e4dd5eafe5b43f7aea564 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 19 十二月 2020 15:41:53 +0800
Subject: [PATCH] 20201218-2

---
 HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs
index f83415c..99eff0f 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs
@@ -128,9 +128,14 @@
                 Height = Application.GetMinRealAverage(40),
                 SelectedImagePath = "Collection/CollectionIcon.png",
                 UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
-                IsSelected = fh.collection
+                IsSelected = fh.collect
             };
-            controlView.AddChidren(btnCollection);
+            //controlView.AddChidren(btnCollection);
+            //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳�
+            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            {
+                controlView.AddChidren(btnCollection);
+            }
 
             arcBar = new DiyArcSeekBar()
             {
@@ -214,7 +219,7 @@
                 X = Application.GetRealWidth(275),
                 Y = Application.GetRealHeight(263),
                 Width = Application.GetRealWidth(32),
-                Height = Application.GetRealWidth(32),
+               Height = Application.GetRealWidth(32),
                 UnSelectedImagePath = "Public/PlusSignIcon.png",
             };
             controlView.AddChidren(btnPlus);
@@ -242,7 +247,12 @@
             controlView.AddChidren(btnSwitch);
 
             LoadEventList();
-            new TopViewDiv(bodyView, Language.StringByID(StringId.LocationManagement)).LoadTopView_FunctionTop(fh, actionRefresh);
+            new TopViewDiv(bodyView, Language.StringByID(StringId.FloorHeating)).LoadTopView_FunctionTop(fh, actionRefresh);
+            new System.Threading.Thread(() =>
+            {
+                DriverLayer.Control.Ins.SendReadCommand(fh);
+            })
+            { IsBackground = true }.Start();
         }
         /// <summary>
         /// 鍔犺浇淇敼妯″紡鍖哄煙
@@ -265,8 +275,6 @@
                 Width = Application.GetRealWidth(160),
                 Height = Application.GetRealHeight(287),
                 BackgroundImagePath = "FunctionIcon/AC/DivBg1.png",
-                AnimateSpeed = 0.3f,
-                Animate = Animate.DownToUp,
             };
             dialogView.AddChidren(modeChangeView);
 

--
Gitblit v1.8.0