From a10e925cdda6f92a7bbf86188e317f5c5ee839b5 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 26 七月 2024 14:21:20 +0800
Subject: [PATCH] 水面数据在计算时添加建筑物避让功能

---
 SimuTools/FrmMain.Designer.cs |   66 ++++++++++++++++++++++++++------
 1 files changed, 53 insertions(+), 13 deletions(-)

diff --git a/SimuTools/FrmMain.Designer.cs b/SimuTools/FrmMain.Designer.cs
index ae523de..eeaa1af 100644
--- a/SimuTools/FrmMain.Designer.cs
+++ b/SimuTools/FrmMain.Designer.cs
@@ -43,6 +43,9 @@
             this.btnOutPath = new System.Windows.Forms.Button();
             this.txtServiceName = new System.Windows.Forms.TextBox();
             this.lblService = new System.Windows.Forms.Label();
+            this.txtBuildingPath = new System.Windows.Forms.TextBox();
+            this.lblBuilding = new System.Windows.Forms.Label();
+            this.btnBuildingPath = new System.Windows.Forms.Button();
             this.SuspendLayout();
             // 
             // btnTerrainPath
@@ -79,7 +82,7 @@
             // txtWaterPath
             // 
             this.txtWaterPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtWaterPath.Location = new System.Drawing.Point(118, 94);
+            this.txtWaterPath.Location = new System.Drawing.Point(118, 143);
             this.txtWaterPath.MaxLength = 2000;
             this.txtWaterPath.Name = "txtWaterPath";
             this.txtWaterPath.Size = new System.Drawing.Size(482, 26);
@@ -90,7 +93,7 @@
             // 
             this.lblWater.AutoSize = true;
             this.lblWater.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblWater.Location = new System.Drawing.Point(33, 99);
+            this.lblWater.Location = new System.Drawing.Point(33, 148);
             this.lblWater.Name = "lblWater";
             this.lblWater.Size = new System.Drawing.Size(79, 16);
             this.lblWater.TabIndex = 51;
@@ -99,7 +102,7 @@
             // btnWaterPath
             // 
             this.btnWaterPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnWaterPath.Location = new System.Drawing.Point(616, 94);
+            this.btnWaterPath.Location = new System.Drawing.Point(616, 143);
             this.btnWaterPath.Name = "btnWaterPath";
             this.btnWaterPath.Size = new System.Drawing.Size(130, 26);
             this.btnWaterPath.TabIndex = 50;
@@ -110,7 +113,7 @@
             // txtFlowPath
             // 
             this.txtFlowPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtFlowPath.Location = new System.Drawing.Point(118, 144);
+            this.txtFlowPath.Location = new System.Drawing.Point(118, 193);
             this.txtFlowPath.MaxLength = 2000;
             this.txtFlowPath.Name = "txtFlowPath";
             this.txtFlowPath.Size = new System.Drawing.Size(482, 26);
@@ -121,7 +124,7 @@
             // 
             this.lblFlow.AutoSize = true;
             this.lblFlow.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblFlow.Location = new System.Drawing.Point(33, 149);
+            this.lblFlow.Location = new System.Drawing.Point(33, 198);
             this.lblFlow.Name = "lblFlow";
             this.lblFlow.Size = new System.Drawing.Size(79, 16);
             this.lblFlow.TabIndex = 54;
@@ -130,7 +133,7 @@
             // btnFlowPath
             // 
             this.btnFlowPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnFlowPath.Location = new System.Drawing.Point(616, 144);
+            this.btnFlowPath.Location = new System.Drawing.Point(616, 193);
             this.btnFlowPath.Name = "btnFlowPath";
             this.btnFlowPath.Size = new System.Drawing.Size(130, 26);
             this.btnFlowPath.TabIndex = 53;
@@ -142,7 +145,7 @@
             // 
             this.btnRun.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnRun.ForeColor = System.Drawing.SystemColors.Highlight;
-            this.btnRun.Location = new System.Drawing.Point(616, 248);
+            this.btnRun.Location = new System.Drawing.Point(616, 297);
             this.btnRun.Name = "btnRun";
             this.btnRun.Size = new System.Drawing.Size(130, 26);
             this.btnRun.TabIndex = 57;
@@ -153,7 +156,7 @@
             // txtOutPath
             // 
             this.txtOutPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtOutPath.Location = new System.Drawing.Point(118, 196);
+            this.txtOutPath.Location = new System.Drawing.Point(118, 245);
             this.txtOutPath.MaxLength = 2000;
             this.txtOutPath.Name = "txtOutPath";
             this.txtOutPath.Size = new System.Drawing.Size(482, 26);
@@ -164,7 +167,7 @@
             // 
             this.lblOut.AutoSize = true;
             this.lblOut.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblOut.Location = new System.Drawing.Point(33, 201);
+            this.lblOut.Location = new System.Drawing.Point(33, 250);
             this.lblOut.Name = "lblOut";
             this.lblOut.Size = new System.Drawing.Size(79, 16);
             this.lblOut.TabIndex = 59;
@@ -173,7 +176,7 @@
             // btnOutPath
             // 
             this.btnOutPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnOutPath.Location = new System.Drawing.Point(616, 196);
+            this.btnOutPath.Location = new System.Drawing.Point(616, 245);
             this.btnOutPath.Name = "btnOutPath";
             this.btnOutPath.Size = new System.Drawing.Size(130, 26);
             this.btnOutPath.TabIndex = 58;
@@ -183,7 +186,7 @@
             // txtServiceName
             // 
             this.txtServiceName.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtServiceName.Location = new System.Drawing.Point(118, 248);
+            this.txtServiceName.Location = new System.Drawing.Point(118, 297);
             this.txtServiceName.MaxLength = 2000;
             this.txtServiceName.Name = "txtServiceName";
             this.txtServiceName.Size = new System.Drawing.Size(482, 26);
@@ -194,17 +197,51 @@
             // 
             this.lblService.AutoSize = true;
             this.lblService.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.lblService.Location = new System.Drawing.Point(33, 253);
+            this.lblService.Location = new System.Drawing.Point(33, 302);
             this.lblService.Name = "lblService";
             this.lblService.Size = new System.Drawing.Size(79, 16);
             this.lblService.TabIndex = 61;
             this.lblService.Text = "鏈嶅姟鍚嶇О:";
             // 
+            // txtBuildingPath
+            // 
+            this.txtBuildingPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtBuildingPath.Location = new System.Drawing.Point(118, 94);
+            this.txtBuildingPath.MaxLength = 2000;
+            this.txtBuildingPath.Name = "txtBuildingPath";
+            this.txtBuildingPath.Size = new System.Drawing.Size(482, 26);
+            this.txtBuildingPath.TabIndex = 65;
+            this.txtBuildingPath.Text = "D:\\simu\\input\\tongzhou-local-mesh2-buildings.tif";
+            // 
+            // lblBuilding
+            // 
+            this.lblBuilding.AutoSize = true;
+            this.lblBuilding.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lblBuilding.Location = new System.Drawing.Point(33, 99);
+            this.lblBuilding.Name = "lblBuilding";
+            this.lblBuilding.Size = new System.Drawing.Size(79, 16);
+            this.lblBuilding.TabIndex = 64;
+            this.lblBuilding.Text = "寤虹瓚鏁版嵁:";
+            // 
+            // btnBuildingPath
+            // 
+            this.btnBuildingPath.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnBuildingPath.Location = new System.Drawing.Point(616, 94);
+            this.btnBuildingPath.Name = "btnBuildingPath";
+            this.btnBuildingPath.Size = new System.Drawing.Size(130, 26);
+            this.btnBuildingPath.TabIndex = 63;
+            this.btnBuildingPath.Text = "閫夋嫨鍦板舰鏂囦欢";
+            this.btnBuildingPath.UseVisualStyleBackColor = true;
+            this.btnBuildingPath.Click += new System.EventHandler(this.btnBuildingPath_Click);
+            // 
             // FrmMain
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(804, 324);
+            this.ClientSize = new System.Drawing.Size(804, 364);
+            this.Controls.Add(this.txtBuildingPath);
+            this.Controls.Add(this.lblBuilding);
+            this.Controls.Add(this.btnBuildingPath);
             this.Controls.Add(this.txtServiceName);
             this.Controls.Add(this.lblService);
             this.Controls.Add(this.txtOutPath);
@@ -247,6 +284,9 @@
         private System.Windows.Forms.Button btnOutPath;
         private System.Windows.Forms.TextBox txtServiceName;
         private System.Windows.Forms.Label lblService;
+        private System.Windows.Forms.TextBox txtBuildingPath;
+        private System.Windows.Forms.Label lblBuilding;
+        private System.Windows.Forms.Button btnBuildingPath;
     }
 }
 

--
Gitblit v1.9.3