From fbb3ef63775673bdceeb921542d5cd3f06f1ca45 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 11 一月 2024 10:40:12 +0800 Subject: [PATCH] 适配TE 7.21版本 --- TEWin/FrmWin.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TEWin/FrmWin.cs b/TEWin/FrmWin.cs index 665eebe..d31a8b4 100644 --- a/TEWin/FrmWin.cs +++ b/TEWin/FrmWin.cs @@ -26,7 +26,7 @@ string mainUrl; - public SGWorld74 SG; + public SGWorld71 SG; private bool isAngle; @@ -34,9 +34,9 @@ private double angleSize; - private ITerrainLabel74 angleLabel; + private ITerrainLabel71 angleLabel; - private ITerrainPolyline74 angleLine; + private ITerrainPolyline71 angleLine; private string angleGroupName = "瑙掗噺绠�"; @@ -62,7 +62,7 @@ return; } - SG = new SGWorld74(); + SG = new SGWorld71(); SG.OnLoadFinished += SG_OnLoadFinished; tree = new FrmTree(); @@ -141,7 +141,7 @@ SG.Command.Execute(1014, 26); break; case 0xc6: // 妯″瀷鏁版嵁(*.osgb) ExecCmd(new List<string> { "taskkill /f /t /im MeshLayerTool.exe" }); // SG.Command.Execute(2342, null); - RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunApp TerraExplorer -RunConvertor -Mode ImportMeshLayer -Type osgb", false); + RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunConvertor -Mode ImportMeshLayer -Type osgb", false); // -RunApp TerraExplorer break; case 0xc7: // 妯″瀷鏁版嵁(*.obj) SG.Command.Execute(1012, 13); break; @@ -206,7 +206,7 @@ this.ShowHtml("鍧″害鍒嗘瀽", mainUrl + @"\Resources\SlopeMapQuery\SlopeMapQuery.html", 20, 20, 350, 365); break; case 1045: - this.ShowHtml("浣撶Н鍒嗘瀽", mainUrl + @"\Resources\Volume\Volume.html", 20, 20, 350, 255); + this.ShowHtml("浣撶Н鍒嗘瀽", mainUrl + @"\Resources\Volume\Volume.html", 20, 20, 350, 225); break; } } -- Gitblit v1.9.3