From 1fd62582bb4ba007a9760207f785ee8227e6ff11 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 08 Jun 2021 08:38:04 +0800
Subject: [PATCH] 要素标绘

---
 Zplot/js/plotPanelControl/PlottingUI.Include.js |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/Zplot/js/plotPanelControl/PlottingUI.Include.js b/Zplot/js/plotPanelControl/PlottingUI.Include.js
new file mode 100644
index 0000000..497bec7
--- /dev/null
+++ b/Zplot/js/plotPanelControl/PlottingUI.Include.js
@@ -0,0 +1,31 @@
+(function() {
+   // var isWinRT = (typeof Windows === "undefined") ? false : true;
+    var r = new RegExp("(^|(.*?\\/))(PlottingUI.Include\.js)(\\?|$)"),
+    s = document.getElementsByTagName('script'),
+    src, m, baseurl = "";
+    for(var i=0, len=s.length; i<len; i++) {
+        src = s[i].getAttribute('src');
+        if(src) {
+            var m = src.match(r);
+            if(m) {
+                baseurl = m[1];
+                break;
+            }
+        }
+    }
+    function inputScript(inc){
+       // if (!isWinRT) {
+            var script = '<' + 'script type="text/javascript" src="' + inc + '"' + '><' + '/script>';
+            document.writeln(script);
+   //     } else {
+   //         var script = document.createElement("script");
+    //        script.src = inc;
+    //        document.getElementsByTagName("HEAD")[0].appendChild(script);
+      //  }
+    }
+    //加载类库资源文件
+    function loadSMLibs() {
+        inputScript(baseurl+'PlottingUI.js');
+    }
+    loadSMLibs();
+})();

--
Gitblit v1.9.3