경로로직
This commit is contained in:
@@ -424,7 +424,7 @@ namespace AGVMapEditor.Forms
|
||||
var nodeId = GenerateNodeId();
|
||||
var position = new Point(100 + this._mapCanvas.Nodes.Count * 50, 100 + this._mapCanvas.Nodes.Count * 50);
|
||||
|
||||
var node = new MapNode(nodeId, position, StationType.Normal);
|
||||
var node = new MapNode(nodeId, position, Station.Normal);
|
||||
|
||||
this._mapCanvas.Nodes.Add(node);
|
||||
_hasChanges = true;
|
||||
@@ -850,9 +850,9 @@ namespace AGVMapEditor.Forms
|
||||
case NodeType.Normal:
|
||||
|
||||
var item = node as MapNode;
|
||||
if (item.StationType == StationType.Normal)
|
||||
if (item.StationType == Station.Normal)
|
||||
foreColor = Color.DimGray;
|
||||
else if (item.StationType == StationType.Charger)
|
||||
else if (item.StationType == Station.Charger)
|
||||
foreColor = Color.Red;
|
||||
else
|
||||
foreColor = Color.DarkGreen;
|
||||
|
||||
Reference in New Issue
Block a user