From 24bd2d8a7fb8b3b0591a29f8edf4ec7390c5b28a Mon Sep 17 00:00:00 2001 From: ChiKyun Kim Date: Fri, 27 Feb 2026 08:58:39 +0900 Subject: [PATCH] .. --- HMI/Project/fMain.Designer.cs | 24 ++++++++++++++++++++++-- HMI/Project/fMain.cs | 27 +++++++++++++++++---------- 2 files changed, 39 insertions(+), 12 deletions(-) diff --git a/HMI/Project/fMain.Designer.cs b/HMI/Project/fMain.Designer.cs index 66c36bc..9f49377 100644 --- a/HMI/Project/fMain.Designer.cs +++ b/HMI/Project/fMain.Designer.cs @@ -128,6 +128,8 @@ namespace Project this.panDlg = new System.Windows.Forms.Panel(); this.arPanel2 = new arCtl.arPanel(); this.arPanel1 = new arCtl.arPanel(); + this.gotoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.buffer2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panRight.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.panel4.SuspendLayout(); @@ -1674,9 +1676,10 @@ namespace Project this.demoListLotToolStripMenuItem, this.toolStripMenuItem5, this.refreshListToolStripMenuItem, - this.xbeeSettingToolStripMenuItem}); + this.xbeeSettingToolStripMenuItem, + this.gotoToolStripMenuItem}); this.cmDebug.Name = "cmVision"; - this.cmDebug.Size = new System.Drawing.Size(229, 346); + this.cmDebug.Size = new System.Drawing.Size(229, 390); // // mapFileToolStripMenuItem // @@ -1978,6 +1981,21 @@ namespace Project this.arPanel1.TextShadow = false; this.arPanel1.UseProgressBar = false; // + // gotoToolStripMenuItem + // + this.gotoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.buffer2ToolStripMenuItem}); + this.gotoToolStripMenuItem.Name = "gotoToolStripMenuItem"; + this.gotoToolStripMenuItem.Size = new System.Drawing.Size(228, 22); + this.gotoToolStripMenuItem.Text = "Goto"; + // + // buffer2ToolStripMenuItem + // + this.buffer2ToolStripMenuItem.Name = "buffer2ToolStripMenuItem"; + this.buffer2ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.buffer2ToolStripMenuItem.Text = "Buffer2"; + this.buffer2ToolStripMenuItem.Click += new System.EventHandler(this.buffer2ToolStripMenuItem_Click); + // // fMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -2100,6 +2118,8 @@ namespace Project private ToolStripMenuItem loadToolStripMenuItem; private ToolStripMenuItem editorToolStripMenuItem; private ToolStripMenuItem xbeeSettingToolStripMenuItem; + private ToolStripMenuItem gotoToolStripMenuItem; + private ToolStripMenuItem buffer2ToolStripMenuItem; } } diff --git a/HMI/Project/fMain.cs b/HMI/Project/fMain.cs index 6338796..3a8c47b 100644 --- a/HMI/Project/fMain.cs +++ b/HMI/Project/fMain.cs @@ -1,19 +1,20 @@ -using System; +using AGVNavigationCore.Models; +using AR; +using COMM; +using Project.StateMachine; +using System; +using System.CodeDom; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; +using System.IO; using System.Linq; +using System.Runtime.InteropServices; +using System.Security.Cryptography.X509Certificates; using System.Text; using System.Windows.Forms; -using System.Runtime.InteropServices; -using COMM; -using System.CodeDom; -using AR; -using Project.StateMachine; -using System.Security.Cryptography.X509Certificates; -using AGVNavigationCore.Models; -using System.IO; +using static AGVNavigationCore.PathFinding.Planning.AGVPathfinder; namespace Project { @@ -246,7 +247,7 @@ namespace Project tmDisplay.Start(); //start Display PUB.log.Add("Display", "Display Timer 시작 완료"); - this.btDebug.Visible = System.Diagnostics.Debugger.IsAttached || PUB.setting.UseDebugMode; + this.btDebug.Visible = true;// System.Diagnostics.Debugger.IsAttached || PUB.setting.UseDebugMode; PUB.log.Add("Program Start"); //수량표시 @@ -1130,5 +1131,11 @@ namespace Project var f = new Dialog.fXbeeSetting(); f.Show(); } + + private void buffer2ToolStripMenuItem_Click(object sender, EventArgs e) + { + var buffernode = PUB._mapCanvas.Nodes.Where(t => t.AliasName == "BUFFER2").FirstOrDefault(); + + } } }