From 691b0f2434acc1685b43f873657c9230726ffe6f Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期二, 19 四月 2022 13:38:20 +0800
Subject: [PATCH] 1.增加人脸、可视对讲入口 2.增加清除推送角标数值接口 3.修改初始化全视通、登出全视通

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs
new file mode 100644
index 0000000..aa29618
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs
@@ -0,0 +1,45 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
+    /// <summary>
+    /// Loading鎺т欢
+    /// </summary>
+    public class LoadingControl : Button
+    {
+        /// <summary>
+        /// 鍒濆鍖�
+        /// </summary>
+        public LoadingControl()
+        {
+            this.Width = HdlControlLogic.Current.GetPictrueRealSize(74);
+            this.Height = HdlControlLogic.Current.GetPictrueRealSize(76);
+        }
+
+        /// <summary>
+        /// 寮�鍚姩鐢绘晥鏋�
+        /// </summary>
+        public void StartAction()
+        {
+            HdlThreadLogic.Current.RunThread(() =>
+            {
+                int index = 1;
+                while (this.Parent != null)
+                {
+                    System.Threading.Thread.Sleep(50);
+                    HdlThreadLogic.Current.RunMain(() =>
+                    {
+                        this.UnSelectedImagePath = "Loading/" + index + ".png";
+                    }, ShowErrorMode.NO);
+                    index++;
+                    if (index > 32)
+                    {
+                        index = 1;
+                    }
+                }
+            });
+        }
+    }
+}

--
Gitblit v1.8.0