From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 02 十二月 2024 17:17:19 +0800
Subject: [PATCH] tcp;可视对讲;

---
 HDL_ON/Common/CommonMethod.cs |  112 --------------------------------------------------------
 1 files changed, 0 insertions(+), 112 deletions(-)

diff --git a/HDL_ON/Common/CommonMethod.cs b/HDL_ON/Common/CommonMethod.cs
index f2da70c..d3a81db 100644
--- a/HDL_ON/Common/CommonMethod.cs
+++ b/HDL_ON/Common/CommonMethod.cs
@@ -3,118 +3,6 @@
 
 namespace HDL_ON.Entity
 {
-    public class CommonMethod
-    {
-        private Loading loading;
-
-        private static CommonMethod commonMethod = null;
-        /// <summary>
-        /// 鑾峰彇瀵硅薄
-        /// </summary>
-        public static CommonMethod Current
-        {
-            get
-            {
-                if (commonMethod == null)
-                {
-                    commonMethod = new CommonMethod();
-                }
-
-                return commonMethod;
-
-            }
-
-        }
-
-
-        /// <summary>
-        /// 鑾峰彇Loading瀵硅薄
-        /// </summary>
-        /// <returns></returns>
-        public Loading Loading
-        {
-            get
-            {
-                this.MainThread(() =>
-                {
-                    if (loading == null)//|| MainPage.BasePageView.ChildrenCount < 1)
-                    {
-                        loading = new Loading();
-                    }
-                    Application.MainPage.AddChidren(loading);
-                });
-                return loading;
-            }
-
-        }
-
-       
-        #region  ---------鑷畾涔夌嚎绋�(瀛愮嚎绋嬶紝涓荤嚎绋�)--------
-        /// <summary>
-        /// 瀛愮嚎绋�
-        /// </summary>
-        /// <paramref name="tipType"/>鏄惁瑕佹彁绀洪敊璇俊鎭�(榛樿鏄剧ず)<paramref>
-        /// <param name="action"></param>
-        public void SunThread(Action action, TipType tipType = TipType.confirmation)
-        {
-            new System.Threading.Thread(() =>
-            {
-                try
-                {
-                    action?.Invoke();
-                }
-                catch (Exception e)
-                {
-                    this.ShowAlert(e, tipType);
-                }
-            })
-            { IsBackground = true }.Start();
-
-        }
-        /// <summary>
-        /// 涓荤嚎绋�(UI鏇存柊)
-        /// </summary>
-        /// <paramref name="tipType"/>鏄惁瑕佹彁绀洪敊璇俊鎭�(榛樿鏄剧ず)<paramref>
-        /// <param name="action"></param>
-        public void MainThread(Action action, TipType tipType = TipType.confirmation)
-        {
-            Application.RunOnMainThread(() =>
-            {
-                try
-                {
-                    action?.Invoke();
-                }
-                catch (Exception e)
-                {
-                    this.ShowAlert(e, tipType);
-                }
-            });
-
-        }
-        #endregion
-        #region  --------- 鎻愮ず妗嗭紝纭妗� --------
-        /// <summary>
-        /// 瀵硅瘽妗�(鍙绋嬪簭鎶ラ敊鐨勬椂鍊欐墠鐢ㄥ埌)
-        /// </summary>
-        /// <paramref name="e"/>寮傚父瀵硅薄<paramref>
-        /// <paramref name="tipType"/>鏄惁瑕佹彁绀洪敊璇俊鎭�(榛樿鏄剧ず)<paramref>
-        private void ShowAlert(Exception e, TipType tipType)
-        {
-
-
-        }
-
-        public void ShowTip(string msg,int time = 2)
-        {
-            new UI.PublicAssmebly().TipMsgAutoClose(msg, false, time);
-        }
-
-     
-        #endregion
-     
-
-
-    }
 
     /// <summary>
     /// 寮规绫诲瀷

--
Gitblit v1.8.0