From a40848272e33822f72a7fe0310f079717bf73f23 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 18 十月 2024 16:21:39 +0800
Subject: [PATCH] 修复金茂科技系统,金茂光伏问题
---
HDL-ON_iOS/ViewController.cs | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs
index 5e5749e..bfddb87 100644
--- a/HDL-ON_iOS/ViewController.cs
+++ b/HDL-ON_iOS/ViewController.cs
@@ -56,18 +56,20 @@
}
//鍚姩鍙嬬洘sdk
- new System.Threading.Thread(() => {
- while (true)
- {
- if (OnAppConfig.Instance.IsLogin)
- {
- //var um = new UMSdk.HDLUMSDK();
- //UMSdk.HDLUMSDK.InitUMSDKWithAppKey("61d56642e0f9bb492bbc3e72", "IOS");
- break;
- }
- System.Threading.Thread.Sleep(1000);
- }
- }) { IsBackground = true }.Start();
+ //new System.Threading.Thread(() => {
+ // int count = 0;
+ // while (count<5)
+ // {
+ // count++;
+ // if (OnAppConfig.Instance.IsLogin)
+ // {
+ // var um = new UMSdk.HDLUMSDK();
+ // UMSdk.HDLUMSDK.InitUMSDKWithAppKey("61d56642e0f9bb492bbc3e72", "IOS");
+ // break;
+ // }
+ // System.Threading.Thread.Sleep(1000);
+ // }
+ //}) { IsBackground = true }.Start();
--
Gitblit v1.8.0