경로로직
This commit is contained in:
@@ -76,7 +76,7 @@ namespace Project.ViewForm
|
||||
menu.Items.Add(pickOff);
|
||||
|
||||
// Charge
|
||||
if (mapnode.StationType == StationType.Charger )
|
||||
if (mapnode.StationType == Station.Charger )
|
||||
{
|
||||
var charge = new ToolStripMenuItem("Charge (Move & Charge)");
|
||||
charge.Click += (s, args) => ExecuteManualCommand(mapnode, ENIGProtocol.AGVCommandHE.Charger);
|
||||
@@ -209,7 +209,7 @@ namespace Project.ViewForm
|
||||
ENIGProtocol.AGVCommandHE targetCmd = ENIGProtocol.AGVCommandHE.Goto;
|
||||
string confirmMsg = "";
|
||||
|
||||
if (targetNode.StationType == StationType.Charger)
|
||||
if (targetNode.StationType == Station.Charger)
|
||||
{
|
||||
if (MessageBox.Show($"[{targetNode.Id}] 충전기로 이동하여 충전을 진행하시겠습니까?", "작업 확인", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user