..
This commit is contained in:
@@ -78,6 +78,8 @@ namespace AGVNavigationCore.Controls
|
||||
// 노드 라벨 그리기 (가장 나중 - 선이 텍스트를 가리지 않게)
|
||||
DrawNodeLabels(g);
|
||||
DrawLabels(g); // 추가: 텍스트 라벨
|
||||
|
||||
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -93,6 +95,12 @@ namespace AGVNavigationCore.Controls
|
||||
{
|
||||
DrawSyncScreen(g);
|
||||
}
|
||||
|
||||
//예측문자는 디버깅시에만 표시한다.
|
||||
if (string.IsNullOrEmpty(PredictMessage) == false && System.Diagnostics.Debugger.IsAttached)
|
||||
{
|
||||
g.DrawString(this.PredictMessage, this.Font, Brushes.White, 10, 10);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawSyncScreen(Graphics g)
|
||||
|
||||
@@ -478,6 +478,17 @@ namespace AGVNavigationCore.Controls
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 상세경로가 설정되어있는가?
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool HasPath()
|
||||
{
|
||||
if (_currentPath == null) return false;
|
||||
if (_currentPath.DetailedPath == null) return false;
|
||||
return _currentPath.DetailedPath.Any();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 모든 경로 목록 (다중 AGV 경로 표시용)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user