..
This commit is contained in:
@@ -594,7 +594,7 @@ namespace AGVNavigationCore.Controls
|
||||
{
|
||||
if (junctionNode == null) return;
|
||||
|
||||
int radius = isGateway ? 35 : 25; // 게이트웨이는 좀 더 크게
|
||||
int radius = isGateway ? 23 : 18; // 게이트웨이는 좀 더 크게
|
||||
|
||||
// 색상 결정: Gateway=진한 주황/골드, 일반 교차로=기존 파랑
|
||||
Color fillColor = isGateway ? Color.FromArgb(100, 255, 140, 0) : Color.FromArgb(80, 70, 130, 200);
|
||||
@@ -674,7 +674,7 @@ namespace AGVNavigationCore.Controls
|
||||
{
|
||||
case NodeType.Normal:
|
||||
var item = _selectedNode as MapNode;
|
||||
if (item.StationType == StationType.Charger)
|
||||
if ( item.StationType == StationType.Charger1 || item.StationType == StationType.Charger2)
|
||||
DrawTriangleGhost(g, ghostBrush);
|
||||
else
|
||||
DrawPentagonGhost(g, ghostBrush);
|
||||
@@ -869,7 +869,8 @@ namespace AGVNavigationCore.Controls
|
||||
case StationType.Buffer:
|
||||
DrawPentagonNodeShape(g, node, brush);
|
||||
break;
|
||||
case StationType.Charger:
|
||||
case StationType.Charger1:
|
||||
case StationType.Charger2:
|
||||
DrawTriangleNodeShape(g, node, brush);
|
||||
break;
|
||||
case StationType.Limit:
|
||||
@@ -1309,8 +1310,9 @@ namespace AGVNavigationCore.Controls
|
||||
Color fgColor = Color.Black;
|
||||
Color bgColor = Color.White;
|
||||
switch (node.StationType)
|
||||
{
|
||||
case StationType.Charger:
|
||||
{
|
||||
case StationType.Charger1:
|
||||
case StationType.Charger2:
|
||||
fgColor = Color.White;
|
||||
bgColor = Color.Tomato;
|
||||
break;
|
||||
@@ -1607,7 +1609,8 @@ namespace AGVNavigationCore.Controls
|
||||
switch (node.StationType)
|
||||
{
|
||||
case StationType.Normal: bgColor = Color.DeepSkyBlue; break;
|
||||
case StationType.Charger: bgColor = Color.Tomato; break;
|
||||
case StationType.Charger1: bgColor = Color.Tomato; break;
|
||||
case StationType.Charger2: bgColor = Color.Tomato; break;
|
||||
case StationType.Loader:
|
||||
case StationType.UnLoader: bgColor = Color.Gold; break;
|
||||
case StationType.Clearner: bgColor = Color.DeepSkyBlue; break;
|
||||
|
||||
@@ -492,7 +492,8 @@ namespace AGVNavigationCore.Controls
|
||||
case StationType.Clearner:
|
||||
case StationType.Buffer:
|
||||
return IsPointInPentagon(point, node);
|
||||
case StationType.Charger:
|
||||
case StationType.Charger2:
|
||||
case StationType.Charger1:
|
||||
return IsPointInTriangle(point, node);
|
||||
default:
|
||||
return IsPointInCircle(point, node);
|
||||
|
||||
Reference in New Issue
Block a user