Files
2026-03-09 01:05:56 +09:00

56 lines
2.3 KiB
C#

#nullable enable
using System.Collections.Generic;
using DTNavigation.Model;
namespace DTNavigation.Config
{
/// <summary>사이드바 네비게이션 설정 상수 및 기본 데이터</summary>
public static class SidebarConfig
{
/// <summary>Resources 폴더 기준 UXML 경로 (확장자 제외)</summary>
public const string UxmlPath = "UIToolkit/Navigation/DTSidebar";
/// <summary>Resources 폴더 기준 USS 경로 (확장자 제외, UXML과 이름 구분)</summary>
public const string UssPath = "UIToolkit/Navigation/DTSidebarUss";
public static IReadOnlyList<NavItemModel> DefaultNavItems { get; } = new List<NavItemModel>
{
new() { Id = "overview", Label = "전체OVERVIEW", IsTopLevel = true },
new()
{
Id = "panel", Label = "판넬",
Children = new List<NavChildItemModel>
{
// new() { Id = "panel-overview", Label = "OVERVIEW" },
new() { Id = "panel-accident", Label = "사고사례" },
new() { Id = "panel-process-monitor", Label = "공정 모니터링" },
new() { Id = "panel-process", Label = "공정" },
new() { Id = "panel-simulation", Label = "시뮬레이션" },
}
},
new()
{
Id = "cutting", Label = "절단",
Children = new List<NavChildItemModel>
{
//new() { Id = "cutting-overview", Label = "OVERVIEW" },
new() { Id = "cutting-trans-bay", Label = "Trans Bay" },
new() { Id = "cutting-25bay", Label = "25 Bay" },
new() { Id = "cutting-24bay", Label = "24 Bay" },
new() { Id = "cutting-23bay", Label = "23 Bay" },
new() { Id = "cutting-22bay", Label = "22 Bay" },
}
},
new()
{
Id = "painting", Label = "형광",
Children = new List<NavChildItemModel>
{
//new() { Id = "painting-overview", Label = "OVERVIEW" },
}
},
};
}
}