선택한 모델 PropertyWindow 연결 완료

This commit is contained in:
logonkhi
2025-12-19 15:27:35 +09:00
parent deeaa9a7ad
commit 158a42ab9b
24 changed files with 2278 additions and 1185 deletions

View File

@@ -1,3 +1,4 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.IO;
@@ -21,7 +22,7 @@ namespace UVC.Studio.Config
/// LibraryXXX.json
/// └── [equipmentType]: List<EquipmentItem>
/// └── EquipmentItem
/// ├── model - 모델 식별자 (예: "SingleFork")
/// ├── id - 장비 식별자 (예: "SingleFork")
/// ├── label - 표시 이름 (예: "Single Fork")
/// ├── gltf - glTF 파일 경로 (예: "staker_crane/SingleFork.glb")
/// ├── image - 썸네일 이미지 경로 (선택)
@@ -65,7 +66,7 @@ namespace UVC.Studio.Config
/// // 데이터 접근
/// foreach (var crane in library.StakerCraneData.stakerCrane)
/// {
/// Debug.Log($"Model: {crane.model}, Label: {crane.label}");
/// Debug.Log($"ID: {crane.id}, Label: {crane.label}");
/// }
/// </code>
///
@@ -132,7 +133,7 @@ namespace UVC.Studio.Config
/// // 스태커 크레인 데이터 접근
/// foreach (var crane in _library.StakerCraneData.stakerCrane)
/// {
/// Debug.Log($"Model: {crane.model}, GLTF: {crane.gltf}");
/// Debug.Log($"ID: {crane.id}, GLTF: {crane.gltf}");
/// }
///
/// // AGV 데이터 접근
@@ -142,10 +143,10 @@ namespace UVC.Studio.Config
/// }
/// }
///
/// public EquipmentItem GetEquipmentByModel(string model)
/// public EquipmentItem GetEquipmentById(string id)
/// {
/// return _library.StakerCraneData.stakerCrane
/// .FirstOrDefault(e => e.model == model);
/// .FirstOrDefault(e => e.id == id);
/// }
/// }
/// </code>
@@ -491,12 +492,12 @@ namespace UVC.Studio.Config
public class EquipmentItem
{
/// <summary>
/// 모델 식별자
/// 장비 식별자
/// </summary>
/// <remarks>
/// 고유한 모델 ID (예: "SingleFork", "Rack_Single")
/// 고유한 장비 ID (예: "SingleFork", "Rack_Single")
/// </remarks>
public string model;
public string id;
/// <summary>
/// 표시 이름
@@ -754,7 +755,7 @@ namespace UVC.Studio.Config
/// UI 표시용 색상 코드 (예: "#228B22" - 녹색, "#8B0000" - 빨간색)
/// 빈 문자열이면 기본 색상 사용
/// </remarks>
public string value;
public string? value;
}
#endregion