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