From 99253403b560f761d5f9af8b4f5140496996433a Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 20 十一月 2020 16:49:50 +0800
Subject: [PATCH] 新云端的代码Ver1.0

---
 ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedListRoomForm.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedListRoomForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedListRoomForm.cs
index 6e954e4..e22c37f 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedListRoomForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/LookSharedListRoomForm.cs
@@ -39,7 +39,7 @@
         {
             this.memberResult = i_memberResult;
             this.memberShardInfo = i_memberShardInfo;
-            this.memberShardInfo.SubAccountDistributedMark = this.memberResult.SubAccountDistributedMark;
+            this.memberShardInfo.ChildAccountId = this.memberResult.ChildAccountId;
 
             //璁剧疆澶撮儴淇℃伅
             base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uShared2));
@@ -67,10 +67,10 @@
             //娓呯┖bodyFrame
             this.ClearBodyFrame();
 
-            HdlThreadLogic.Current.RunThread(async () =>
+            HdlThreadLogic.Current.RunThread(() =>
             {
                 //鑾峰彇鎴愬憳鐨勫叡浜垪琛�
-                var result = await HdlShardLogic.Current.GetMemberShardContentListAndSetToLocation(memberShardInfo);
+                var result = HdlShardLogic.Current.GetMemberShardContentListAndSetToLocation(memberShardInfo);
                 if (result == false)
                 {
                     //鏄剧ず閲嶆柊鍔犺浇鐨勭晫闈�
@@ -154,13 +154,13 @@
             var frameBack = new FrameListControl(29);
             frameBack.BackgroundColor = UserCenterColor.Current.White;
             frameBack.Height = 10;
-            this.listView.AddChidrenFrame(frameBack);
+            this.listView.AddChidren(frameBack);
 
             //妤煎眰
             if (string.IsNullOrEmpty(floorId) == false)
             {
                 var btnFloor = new NormalViewControl(800, 60, true);
-                btnFloor.X = ControlCommonResourse.XXLeft;
+                btnFloor.X = HdlControlResourse.XXLeft;
                 btnFloor.Y = Application.GetRealHeight(52);
                 btnFloor.TextColor = UserCenterColor.Current.TextColor2;
                 btnFloor.TextSize = 15;
@@ -276,6 +276,7 @@
                     continue;
                 }
                 var device = Newtonsoft.Json.JsonConvert.DeserializeObject<CommonDevice>(System.Text.Encoding.UTF8.GetString(byteData));
+                device.Type = (DeviceType)device.DeviceID;
                 listDevice.Add(device);
             }
             //鑾峰彇鍏ㄩ儴鍦烘櫙
@@ -291,10 +292,10 @@
                 listScene.Add(sceneUi);
             }
 
-            HdlThreadLogic.Current.RunThread(async () =>
+            HdlThreadLogic.Current.RunThread(() =>
             {
                 //鎵ц鍒犻櫎
-                var result = await HdlShardLogic.Current.DoDeleteSharedContent(memberShardInfo, room, listDevice, listScene);
+                var result = HdlShardLogic.Current.DoDeleteSharedContent(memberShardInfo, room, listDevice, listScene);
                 if (result == true)
                 {
                     HdlThreadLogic.Current.RunMain(() =>

--
Gitblit v1.8.0