Files
EnglewoodLAB/Assets/Scripts/Command/DataCommand/SetFinalInspectionDataCommand.cs
SOOBEEN HAN f1894889ee <refactor> Octopus Twin 템플릿 적용
- 기능 외 UI 구조만 적용
- 프로젝트에 걸맞는 UI는 재작업 필요
2026-02-23 18:20:09 +09:00

24 lines
717 B
C#

using EnglewoodLAB.Management;
using System.Collections.Generic;
using UVC.UI.Commands;
namespace EnglewoodLAB.UI.Command
{
public class SetFinalInspectionDataCommand : ICommand
{
private List<CompleteInfo> finalInspectionData;
public SetFinalInspectionDataCommand(List<CompleteInfo> finalInspectionData)
{
this.finalInspectionData = finalInspectionData;
}
public void Execute(object? parameter = null)
{
var uiManager = SceneMain.Instance.uiManager;
var popupCanvas = uiManager.GetCanvas<PopupCanvas>();
popupCanvas.GetPanel<FinalInspectionPanel>().SetProductionStatus(finalInspectionData);
}
}
}