From f12a70ac4639f6ea5de0b136d86cafd90af06eec Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 22 九月 2022 14:55:58 +0800
Subject: [PATCH] 光伏卡片数据显示

---
 HDL_ON/Common/ApiUtlis.cs |   46 +++++++++++++++++++++++-----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 0b790f8..dba9d06 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -437,30 +437,30 @@
 
 
 
-            //涓嬭浇鍏変紡鏁版嵁
-            new System.Threading.Thread(() => {
-                try
-                {//00
-                    HttpServerRequest http = new HttpServerRequest();
-                    var packData = http.GetInverterList();
-                    if (packData != null)
-                    {
-                        if (packData.Code == StateCode.SUCCESS)
-                        {
-                            var inverterList = JsonConvert.DeserializeObject<List<InverterInfo>>(packData.Data.ToString());
-                            if (inverterList!= null)
-                            {
-                                FunctionList.List.InverterList = inverterList;
-                            }
-                        }
-                    }
-                }
-                catch (Exception ex)
-                {
-                    MainPage.Log($"璇诲彇鍏変紡鏁版嵁寮傚父:{ex.Message}");
-                }
+            ////涓嬭浇鍏変紡鏁版嵁
+            //new System.Threading.Thread(() => {
+            //    try
+            //    {//00
+            //        HttpServerRequest http = new HttpServerRequest();
+            //        var packData = http.GetInverterList();
+            //        if (packData != null)
+            //        {
+            //            if (packData.Code == StateCode.SUCCESS)
+            //            {
+            //                var inverterList = JsonConvert.DeserializeObject<List<InverterInfo>>(packData.Data.ToString());
+            //                if (inverterList!= null)
+            //                {
+            //                    FunctionList.List.InverterList = inverterList;
+            //                }
+            //            }
+            //        }
+            //    }
+            //    catch (Exception ex)
+            //    {
+            //        MainPage.Log($"璇诲彇鍏変紡鏁版嵁寮傚父:{ex.Message}");
+            //    }
 
-            }) { IsBackground = true }.Start();
+            //}) { IsBackground = true }.Start();
 
 
 

--
Gitblit v1.8.0