From 76f93f093282d72e97894132277d3412b6bf8bea Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 20 九月 2022 13:31:27 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into dev--wxr

---
 HDL_ON/Entity/Function/InverterInfo.cs |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/Entity/Function/InverterInfo.cs b/HDL_ON/Entity/Function/InverterInfo.cs
index 5e73d1f..8751e7f 100644
--- a/HDL_ON/Entity/Function/InverterInfo.cs
+++ b/HDL_ON/Entity/Function/InverterInfo.cs
@@ -1,8 +1,65 @@
 锘縰sing System;
 using System.Collections.Generic;
+using HDL_ON.UI.UI2;
+using Shared;
 
 namespace HDL_ON.Entity
 {
+
+    public class Inverter
+    {
+        static Inverter _control;
+        public static Inverter Ins
+        {
+            get
+            {
+                if (_control == null)
+                {
+                    _control = new Inverter();
+                }
+                return _control;
+            }
+        }
+
+
+        WebView _h5Page;
+
+        string showPageUrl = "";
+
+        public WebView H5Page
+        {
+            get
+            {
+                if(_h5Page == null)
+                {
+                    _h5Page = new WebView();
+                }
+
+
+                return _h5Page;
+            }
+            set
+            {
+                _h5Page = value;
+            }
+        }
+        /// <summary>
+        /// 鍔犺浇鎸囧畾Url鐨剋ebview
+        /// </summary>
+        /// <param name="showUrl"></param>
+        public void ShowWebviewFormUrl(string showUrl)
+        {
+
+            if (showUrl == showPageUrl)
+            {
+                return;
+            }
+            showPageUrl = showUrl;
+            _h5Page.LoadFileUrl(showPageUrl);
+        }
+
+    }
+
     /// <summary>
 	/// 鍏変紡鏁版嵁
 	/// </summary>

--
Gitblit v1.8.0